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

Disassembly:
push 0xffffffffffffffff
push 0x5914aa30
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.590b6020
mov dword [esp + 0x48], 0
mov edi, 0x20019
call fcn.590bc5a0
test eax, eax
je 0x590063f7
mov edi, 0x20219
push edi
push str.SOFTWARELotusNotes
push 0x80000002
lea ecx, [esp + 0x2c]
call fcn.590b6190
test eax, eax
je 0x590066ef
mov eax, dword [0x591638bc]
mov dword [esp + 0xc], eax
push 0
push str.MultiUser
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 1
call fcn.590b6330
test eax, eax
jne 0x59006465
lea ecx, [esp + 0x14]
push str.Path
push ecx
lea ecx, [esp + 0x28]
call fcn.590b6ac0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 2
call fcn.590a2460
mov byte [esp + 0x48], 1
lea ecx, [esp + 0x14]
jmp 0x590065f3
mov al, byte [0x591ae9f4]
test al, al
jne 0x59006486
push edi
push str.SoftwareLotusNotes
push 0x80000001
lea ecx, [esp + 0x2c]
call fcn.590b6190
mov esi, eax
jmp 0x590064d0
mov edx, dword [0x591638bc]
mov dword [esp + 0x10], edx
push 0x591ae9f4
lea eax, [esp + 0x14]
push str._sSoftwareLotusNotes
push eax
mov byte [esp + 0x54], 3
call fcn.590a5140
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push edi
push ecx
push 0x80000003
lea ecx, [esp + 0x2c]
call fcn.590b6190
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x48], 1
call fcn.590a22e0
test esi, esi
je 0x59006504
lea edx, [esp + 0x14]
push str.NotesIniPath
push edx
lea ecx, [esp + 0x28]
call fcn.590b6ac0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 4
call fcn.590a2460
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call fcn.590a22e0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x590065f8
mov ecx, dword [0x591638bc]
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.590a5140
mov al, byte [0x591ae9f4]
add esp, 0xc
test al, al
jne 0x5900655b
mov eax, dword [esp + 0x10]
push edi
push eax
push 0x80000001
lea ecx, [esp + 0x2c]
call fcn.590b6190
mov esi, eax
jmp 0x590065aa
mov ecx, dword [0x591638bc]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0x591ae9f4
push 0x591878fc
push eax
mov byte [esp + 0x58], 6
call fcn.590a5140
mov ecx, dword [esp + 0x24]
add esp, 0x10
push edi
push ecx
push 0x80000003
lea ecx, [esp + 0x2c]
call fcn.590b6190
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x48], 5
call fcn.590a22e0
test esi, esi
jne 0x590065ba
dec ebp
cmp ebp, 6
jge 0x59006527
jmp 0x590065ea
lea edx, [esp + 0x14]
push str.NotesIniPath
push edx
lea ecx, [esp + 0x28]
call fcn.590b6ac0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 7
call fcn.590a2460
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 5
call fcn.590a22e0
mov byte [esp + 0x48], 1
lea ecx, [esp + 0x10]
call fcn.590a22e0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
cmp byte [eax + ecx - 1], 0x5c
jne 0x5900660d
push str.notes.ini
jmp 0x59006612
push str._notes.ini
lea ecx, [esp + 0x10]
call fcn.590a2ef0
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 0x590066e1
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 0x59006682
lea ecx, [esp + 0x28]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x20]
call fcn.590baad0
mov edi, dword [esp + 0x54]
push eax
mov ecx, edi
call fcn.590ba760
push edi
call fcn.590bb330
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.5913e1e0
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 0x590066c9
mov ecx, dword [esp + 0x50]
mov byte [edi + ebp], 0
push ecx
push edi
call fcn.590061f0
add esp, 8
push edi
call fcn.5913e209
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.590a22e0
lea ecx, [esp + 0x20]
call fcn.590b61e0
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
call fcn.590b6110
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