Function at 0x110a1b80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11183f90
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x111eb774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
push esi
push 0x40000
lea ecx, [ebp - 0x6c]
call fcn.110afa60
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0xd]
push eax
mov eax, dword [edx + 0x14]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 0xd], 2
call eax
mov ecx, dword [ebx + 0xf8]
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
push edx
mov edx, dword [eax + 0x10]
lea ecx, [ebp - 0x6c]
call edx
lea ecx, [ebp - 0x50]
call fcn.110d1550
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.110d1550
lea edi, [ebp - 0x50]
lea ecx, [ebx + 0x4c]
mov byte [ebp - 4], 2
call fcn.1109f0b0
lea edi, [ebp - 0x40]
lea ecx, [ebx + 0x4c]
call fcn.1109f0f0
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x50]
push eax
mov eax, dword [edx + 0x20]
lea ecx, [ebp - 0x6c]
call eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x20]
mov ecx, edi
push ecx
lea ecx, [ebp - 0x6c]
call eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x20]
lea ecx, [ebx + 0x3c]
push ecx
lea ecx, [ebp - 0x6c]
call eax
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x30]
call fcn.110d0710
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call eax
test al, al
jne 0x110a1c80
push 0x250
push str.e:_nsmsrc_nsm12101210fctl32NSMString.h
push str.IsA__
call fcn.11029450
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push 0x5c
push ecx
call fcn.11081b40
add esp, 8
test eax, eax
je 0x110a1c9c
inc eax
push eax
lea ecx, [ebp - 0x30]
call fcn.110d0550
mov eax, dword [ebx + 0xf4]
mov esi, dword [eax]
cmp esi, eax
je 0x110a1cfc
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov edi, dword [esi + 8]
lea ecx, [ebp - 0x30]
call eax
test al, al
jne 0x110a1cd0
push 0x250
push str.e:_nsmsrc_nsm12101210fctl32NSMString.h
push str.IsA__
call fcn.11029450
add esp, 0xc
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push ecx
push 0
push 6
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call edx
mov esi, dword [esi]
inc dword [ebp - 0x1c]
cmp esi, dword [ebx + 0xf4]
jne 0x110a1ca8
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edx + 0x10]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x20], 0
call eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0xa4]
lea ecx, [ebp - 0x6c]
call eax
test al, al
jne 0x110a1d3b
push 0x13a
push str.e:_nsmsrc_nsm12101210fctl32DataStream.h
push str.IsA__
call fcn.11029450
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x6c]
call eax
test al, al
jne 0x110a1d6a
push 0x135
push str.e:_nsmsrc_nsm12101210fctl32DataStream.h
push str.IsA__
call fcn.11029450
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
shr ecx, 2
test ecx, ecx
je 0x110a1d8b
mov edx, ecx
mov ecx, dword [ebp - 0x18]
lea esp, [esp]
add ecx, dword [eax]
add eax, 4
dec edx
mov dword [ebp - 0x18], ecx
jne 0x110a1d80
push 0x11199e4c
push edi
mov byte [ebp + 0xb], 1
call fcn.11163fed
mov esi, eax
add esp, 8
test esi, esi
je 0x110a1e28
push esi
push 1
lea ecx, [ebp - 0x14]
push 4
push ecx
call fcn.111648da
add esp, 0x10
cmp eax, 1
jne 0x110a1e13
push esi
push eax
lea edx, [ebp - 0x18]
push 4
push edx
call fcn.111648da
add esp, 0x10
cmp eax, 1
jne 0x110a1e13
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 0xa4]
lea ecx, [ebp - 0x6c]
call edx
test al, al
jne 0x110a1dfb
push 0x135
push str.e:_nsmsrc_nsm12101210fctl32DataStream.h
push str.IsA__
call fcn.11029450
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x58]
push esi
push 1
push eax
push ecx
call fcn.111648da
add esp, 0x10
cmp eax, 1
je 0x110a1e17
mov byte [ebp + 0xb], 0
push esi
call fcn.11163db7
add esp, 4
test eax, eax
je 0x110a1e28
mov byte [ebp + 0xb], 0
mov ecx, dword [ebx + 0x20]
call fcn.1109f390
test eax, eax
je 0x110a1e46
mov edx, dword [ebp - 0x1c]
push edx
push edi
push str.SaveTempJournal__s___nItemsSaved_d_n
call fcn.11146450
add esp, 0xc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.110d07c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.110d07c0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.110d07c0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.110b0190
mov al, byte [ebp + 0xb]
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