Function at 0x100563fb
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x40
mov eax, 0x101c9cc0
call fcn.100931aa
xor ebx, ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], ebx
call fcn.100d5fe0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0x20019
call fcn.100eb920
test eax, eax
je 0x1005642e
mov dword [ebp - 0x14], 0x20219
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
push str.SOFTWARELotusNotes
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.100d6150
test eax, eax
je 0x100566e0
mov eax, dword [0x10200e94]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
push ebx
push str.MultiUser
lea ecx, [ebp - 0x34]
call fcn.100d62f0
test eax, eax
jne 0x10056498
push str.Path
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.100d6a80
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.100c36e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.100c3560
jmp 0x10056607
mov edi, 0x1025c3b0
mov esi, reloc.WS2_32.dll_closesocket
cmp word [0x1025c3b0], bx
jne 0x100564c4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
push str.SoftwareLotusNotes
push reloc.WS2_32.dll_accept
call fcn.100d6150
mov ebx, eax
jmp 0x100564ff
mov eax, dword [0x10200e98]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
push edi
lea eax, [ebp - 0x1c]
push str._sSoftwareLotusNotes
push eax
call fcn.100cb860
add esp, 0xc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x1c]
push esi
call fcn.100d6150
mov ebx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.100c88e0
test ebx, ebx
je 0x1005652d
push str.NotesIniPath
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.100d6a80
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.100c36e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.100c3560
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x10056605
mov eax, dword [0x10200e98]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 8
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push str.SoftwareLotusNotes_d.0
push eax
call fcn.100cb860
add esp, 0xc
cmp word [0x1025c3b0], 0
jne 0x10056582
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x1c]
push reloc.WS2_32.dll_accept
call fcn.100d6150
mov ebx, eax
jmp 0x100565c0
mov eax, dword [0x10200e98]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push edi
push 0x101d8830
push eax
call fcn.100cb860
add esp, 0x10
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x20]
push esi
call fcn.100d6150
mov ebx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.100c88e0
test ebx, ebx
jne 0x100565cf
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 6
jge 0x1005654d
jmp 0x100565f9
push str.NotesIniPath
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.100d6a80
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x10]
call fcn.100c36e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.100c3560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.100c88e0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 8]
cmp byte [eax + ecx - 1], 0x5c
lea ecx, [ebp - 0x10]
jne 0x1005661e
push str.notes.ini
jmp 0x10056623
push str._notes.ini
call fcn.100c4170
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocStringLen
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100566d4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x10056682
push 0xffffffffffffffff
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10021438
mov ecx, dword [ebp + 0xc]
push eax
call fcn.10020e74
push dword [ebp + 0xc]
call fcn.100212be
pop ecx
and dword [ebp - 0x2c], 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.1005fc3e
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100566bf
push dword [ebp + 8]
mov byte [edi + esi], 0
push edi
call fcn.100562e6
pop ecx
pop ecx
push edi
call fcn.1005fc49
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.100c3560
lea ecx, [ebp - 0x34]
call fcn.100d61a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100d60d0
mov eax, dword [ebp - 0x24]
call fcn.10093282
ret