Function at 0x1110b100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e4ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x11279148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xfde9
push 0x40000
lea ecx, [ebp - 0x70]
call fcn.1111a110
mov eax, dword [ebx + 0x174]
xor esi, esi
mov dword [ebp - 0x18], esi
mov edi, dword [eax]
mov dword [ebp - 4], esi
cmp edi, eax
je 0x1110b16c
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
cmp eax, 0x10
je 0x1110b162
inc dword [ebp - 0x18]
mov edi, dword [edi]
cmp edi, dword [ebx + 0x174]
jne 0x1110b150
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0xd]
push eax
mov eax, dword [edx + 0x14]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 0xd], 2
call eax
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x70]
call eax
lea ecx, [ebp - 0x54]
call fcn.1113dd30
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.1113dd30
lea edi, [ebp - 0x54]
lea ecx, [ebx + 0x4c]
mov byte [ebp - 4], 2
call fcn.11107be0
lea edi, [ebp - 0x44]
lea ecx, [ebx + 0x4c]
call fcn.11107c20
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x20]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x70]
call eax
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x20]
mov ecx, edi
push ecx
lea ecx, [ebp - 0x70]
call eax
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x20]
lea ecx, [ebx + 0x3c]
push ecx
lea ecx, [ebp - 0x70]
call eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x34]
call fcn.1113ccd0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call eax
test al, al
jne 0x1110b226
push 0x261
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x28]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x1110b245
add eax, 2
push eax
lea ecx, [ebp - 0x34]
call fcn.1113ca60
mov eax, dword [ebx + 0x174]
mov esi, dword [eax]
cmp esi, eax
je 0x1110b2a2
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov edi, dword [esi + 8]
lea ecx, [ebp - 0x34]
call eax
test al, al
jne 0x1110b279
push 0x261
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push ecx
push 0
push 6
push eax
lea eax, [ebp - 0x70]
push eax
mov ecx, edi
call edx
mov esi, dword [esi]
inc dword [ebp - 0x20]
cmp esi, dword [ebx + 0x174]
jne 0x1110b251
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x24], 0
call eax
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0xa4]
lea ecx, [ebp - 0x70]
call eax
test al, al
jne 0x1110b2e1
push 0x13a
push str.e:_nsmsrc_nsm14101410fctl32DataStream.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x70]
call eax
test al, al
jne 0x1110b310
push 0x135
push str.e:_nsmsrc_nsm14101410fctl32DataStream.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
shr ecx, 2
test ecx, ecx
je 0x1110b32d
mov edx, ecx
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax]
add eax, 4
dec edx
mov dword [ebp - 0x1c], ecx
jne 0x1110b322
mov ecx, dword [ebp + 8]
push 0x111f88e8
push ecx
mov byte [ebp - 0xd], 1
call dword [sym.imp.MSVCR100.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x1110b3c8
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
push esi
push 1
lea edx, [ebp - 0x14]
push 4
push edx
call edi
add esp, 0x10
cmp eax, 1
jne 0x1110b3b2
push esi
push eax
lea eax, [ebp - 0x1c]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x1110b3b2
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0xa4]
lea ecx, [ebp - 0x70]
call eax
test al, al
jne 0x1110b39d
push 0x135
push str.e:_nsmsrc_nsm14101410fctl32DataStream.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x5c]
push esi
push 1
push ecx
push edx
call edi
add esp, 0x10
cmp eax, 1
je 0x1110b3b6
mov byte [ebp - 0xd], 0
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
test eax, eax
je 0x1110b3c8
mov byte [ebp - 0xd], 0
mov ecx, dword [ebx + 0x20]
call fcn.11107ed0
test eax, eax
je 0x1110b3e9
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
push eax
push ecx
push str.SaveTempJournal__s___nItemsSaved_d_n
call fcn.111bd7b0
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1113cd80
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.1113cd80
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.1113cd80
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.1111ab70
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4