Function at 0x110a0600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11183d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
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 dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
xor edi, edi
push 0x1119a064
push eax
mov dword [ebp - 0x18], edi
xor bl, bl
mov dword [ebp - 0x1c], edi
call fcn.11163fed
mov esi, eax
add esp, 8
cmp esi, edi
je 0x110a093d
push 2
push edi
push esi
mov byte [ebp - 0x11], 1
call fcn.11165e12
add esp, 0xc
test eax, eax
je 0x110a066d
mov byte [ebp - 0x11], bl
push esi
call fcn.11165d23
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
jne 0x110a0681
mov byte [ebp - 0x11], 0
lea ecx, [edi + 1]
push ecx
call fcn.11162b51
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x110a0699
mov byte [ebp - 0x11], al
push 0
push 0
push esi
call fcn.11165e12
add esp, 0xc
test eax, eax
je 0x110a06ae
mov byte [ebp - 0x11], 0
push esi
push 1
push edi
push ebx
call fcn.11165b72
add esp, 0x10
cmp eax, 1
je 0x110a06c4
mov byte [ebp - 0x11], 0
push esi
call fcn.11163db7
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x110a093a
cmp edi, 0x20
jl 0x110a093a
push 0
push edi
mov edx, ebx
push edx
lea ecx, [ebp - 0x5c]
call fcn.110b0110
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x84]
push eax
mov eax, dword [edx + 0x5c]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x5c]
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
call edx
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x12]
push eax
mov eax, dword [edx + 0x60]
lea ecx, [ebp - 0x5c]
call eax
cmp byte [ebp - 0x12], 2
jne 0x110a092b
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x5c]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x5c]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x80]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x80]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call edx
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [edx + 0x80]
lea ecx, [ebp - 0x5c]
call eax
mov ecx, dword [ebp - 0x3c]
push 0
push ecx
lea ecx, [ebp - 0x7c]
call fcn.110d0790
mov edx, dword [ebp - 0x38]
push 0
push edx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.110d0790
mov eax, dword [ebp - 0x34]
push 0
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.110d0790
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0x3c
mov byte [ebp - 4], 3
call fcn.110d13f0
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
lea ecx, [ebp - 0x6c]
call eax
test al, al
jne 0x110a07de
push 0x250
push str.e:_nsmsrc_nsm12101210fctl32NSMString.h
push str.IsA__
call fcn.11029450
add esp, 0xc
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x7c]
call eax
test al, al
jne 0x110a0806
push 0x250
push str.e:_nsmsrc_nsm12101210fctl32NSMString.h
push str.IsA__
call fcn.11029450
add esp, 0xc
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp + 0xc]
push esi
push ecx
push str._s_n_s_n
push edx
call fcn.110d12f0
add esp, 0x10
xor esi, esi
lea ebx, [esi + 4]
cmp esi, dword [ebp - 0x40]
jae 0x110a0904
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.110d0710
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call eax
test al, al
jne 0x110a085e
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 0x110a087a
inc eax
push eax
lea ecx, [ebp - 0x30]
call fcn.110d0550
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call eax
test al, al
jne 0x110a08a3
push 0x250
push str.e:_nsmsrc_nsm12101210fctl32NSMString.h
push str.IsA__
call fcn.11029450
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x5c]
push 0
push edx
call fcn.110a8e30
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x20]
mov edx, dword [ecx]
add esp, 0xc
push eax
mov eax, dword [edx]
mov dword [ebp - 4], ebx
call eax
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.110d07c0
inc esi
jmp 0x110a0821
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.110d07c0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.110d07c0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0
call fcn.110d07c0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.110b0190
mov bl, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.11162be5
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x20]
add esp, 4
call fcn.1109f390
test eax, eax
je 0x110a096d
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
push edx
push eax
push str.LoadTempJournal__s___nItemsAdded_d_n
call fcn.11146450
add esp, 0xc
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 0x50]
test eax, eax
je 0x110a0987
push 0
push 1
push 0x6d0
push eax
call dword [0x111938dc]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8