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

Disassembly:
push 0xffffffffffffffff
push 0x59149b20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
call fcn.590b4c00
mov dword [esp + 0x48], 0
mov edi, 0x20019
call fcn.590bb180
test eax, eax
je 0x59006307
mov edi, 0x20219
push edi
push str.SOFTWARELotusNotes
push 0x80000002
lea ecx, [esp + 0x2c]
call fcn.590b4d70
test eax, eax
je 0x590065ff
mov eax, dword [0x5916287c]
mov dword [esp + 0xc], eax
push 0
push str.MultiUser
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 1
call fcn.590b4f10
test eax, eax
jne 0x59006375
lea ecx, [esp + 0x14]
push str.Path
push ecx
lea ecx, [esp + 0x28]
call fcn.590b56a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 2
call fcn.590a1040
mov byte [esp + 0x48], 1
lea ecx, [esp + 0x14]
jmp 0x59006503
mov al, byte [0x591acf44]
test al, al
jne 0x59006396
push edi
push str.SoftwareLotusNotes
push 0x80000001
lea ecx, [esp + 0x2c]
call fcn.590b4d70
mov esi, eax
jmp 0x590063e0
mov edx, dword [0x5916287c]
mov dword [esp + 0x10], edx
push 0x591acf44
lea eax, [esp + 0x14]
push str._sSoftwareLotusNotes
push eax
mov byte [esp + 0x54], 3
call fcn.590a3d20
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push edi
push ecx
push 0x80000003
lea ecx, [esp + 0x2c]
call fcn.590b4d70
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x48], 1
call fcn.590a0ec0
test esi, esi
je 0x59006414
lea edx, [esp + 0x14]
push str.NotesIniPath
push edx
lea ecx, [esp + 0x28]
call fcn.590b56a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 4
call fcn.590a1040
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call fcn.590a0ec0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x59006508
mov ecx, dword [0x5916287c]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x48], 5
mov ebp, 8
push ebp
lea edx, [esp + 0x14]
push str.SoftwareLotusNotes_d.0
push edx
call fcn.590a3d20
mov al, byte [0x591acf44]
add esp, 0xc
test al, al
jne 0x5900646b
mov eax, dword [esp + 0x10]
push edi
push eax
push 0x80000001
lea ecx, [esp + 0x2c]
call fcn.590b4d70
mov esi, eax
jmp 0x590064ba
mov ecx, dword [0x5916287c]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0x591acf44
push 0x591868e4
push eax
mov byte [esp + 0x58], 6
call fcn.590a3d20
mov ecx, dword [esp + 0x24]
add esp, 0x10
push edi
push ecx
push 0x80000003
lea ecx, [esp + 0x2c]
call fcn.590b4d70
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x48], 5
call fcn.590a0ec0
test esi, esi
jne 0x590064ca
dec ebp
cmp ebp, 6
jge 0x59006437
jmp 0x590064fa
lea edx, [esp + 0x14]
push str.NotesIniPath
push edx
lea ecx, [esp + 0x28]
call fcn.590b56a0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 7
call fcn.590a1040
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 5
call fcn.590a0ec0
mov byte [esp + 0x48], 1
lea ecx, [esp + 0x10]
call fcn.590a0ec0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
cmp byte [eax + ecx - 1], 0x5c
jne 0x5900651d
push str.notes.ini
jmp 0x59006522
push str._notes.ini
lea ecx, [esp + 0x10]
call fcn.590a1ad0
mov eax, dword [esp + 0xc]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x590065f1
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x59006592
lea ecx, [esp + 0x28]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x20]
call fcn.590b96b0
mov edi, dword [esp + 0x54]
push eax
mov ecx, edi
call fcn.590b9340
push edi
call fcn.590b9f10
add esp, 4
push 0
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
lea edx, [ebp + 1]
push edx
call fcn.5913d2d0
add esp, 4
mov edi, eax
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x590065d9
mov ecx, dword [esp + 0x50]
mov byte [edi + ebp], 0
push ecx
push edi
call fcn.59006100
add esp, 8
push edi
call fcn.5913d2f9
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 0
call fcn.590a0ec0
lea ecx, [esp + 0x20]
call fcn.590b4dc0
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
call fcn.590b4cf0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x40
ret