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

Disassembly:
push 0xffffffffffffffff
push 0x59138d30
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.590a7610
mov dword [esp + 0x48], 0
mov edi, 0x20019
call fcn.590ada60
test eax, eax
je 0x59005f77
mov edi, 0x20219
push edi
push str.SOFTWARELotusNotes
push 0x80000002
lea ecx, [esp + 0x2c]
call fcn.590a7780
test eax, eax
je 0x59006264
mov eax, dword [0x5914f84c]
mov dword [esp + 0xc], eax
push 0
push str.MultiUser
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 1
call fcn.590a7920
test eax, eax
jne 0x59005fe5
lea ecx, [esp + 0x14]
push str.Path
push ecx
lea ecx, [esp + 0x28]
call fcn.590a80b0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 2
call fcn.59095210
mov byte [esp + 0x48], 1
lea ecx, [esp + 0x14]
jmp 0x59006173
mov al, byte [0x59195248]
test al, al
jne 0x59006006
push edi
push str.SoftwareLotusNotes
push 0x80000001
lea ecx, [esp + 0x2c]
call fcn.590a7780
mov esi, eax
jmp 0x59006050
mov edx, dword [0x5914f84c]
mov dword [esp + 0x10], edx
push 0x59195248
lea eax, [esp + 0x14]
push str._sSoftwareLotusNotes
push eax
mov byte [esp + 0x54], 3
call fcn.59097ef0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push edi
push ecx
push 0x80000003
lea ecx, [esp + 0x2c]
call fcn.590a7780
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x48], 1
call fcn.59095090
test esi, esi
je 0x59006084
lea edx, [esp + 0x14]
push str.NotesIniPath
push edx
lea ecx, [esp + 0x28]
call fcn.590a80b0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 4
call fcn.59095210
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 1
call fcn.59095090
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x59006178
mov ecx, dword [0x5914f84c]
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.59097ef0
mov al, byte [0x59195248]
add esp, 0xc
test al, al
jne 0x590060db
mov eax, dword [esp + 0x10]
push edi
push eax
push 0x80000001
lea ecx, [esp + 0x2c]
call fcn.590a7780
mov esi, eax
jmp 0x5900612a
mov ecx, dword [0x5914f84c]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push 0x59195248
push 0x59171af8
push eax
mov byte [esp + 0x58], 6
call fcn.59097ef0
mov ecx, dword [esp + 0x24]
add esp, 0x10
push edi
push ecx
push 0x80000003
lea ecx, [esp + 0x2c]
call fcn.590a7780
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x48], 5
call fcn.59095090
test esi, esi
jne 0x5900613a
dec ebp
cmp ebp, 6
jge 0x590060a7
jmp 0x5900616a
lea edx, [esp + 0x14]
push str.NotesIniPath
push edx
lea ecx, [esp + 0x28]
call fcn.590a80b0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 7
call fcn.59095210
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 5
call fcn.59095090
mov byte [esp + 0x48], 1
lea ecx, [esp + 0x10]
call fcn.59095090
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
cmp byte [eax + ecx - 1], 0x5c
jne 0x5900618d
push str.notes.ini
jmp 0x59006192
push str._notes.ini
lea ecx, [esp + 0x10]
call fcn.59095ca0
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 0x59006256
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 0x590061f7
lea ecx, [esp + 0x28]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x20]
call fcn.590ac060
mov ecx, dword [esp + 0x54]
push eax
call fcn.590abd50
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.5912c500
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 0x5900623e
mov ecx, dword [esp + 0x50]
mov byte [edi + ebp], 0
push ecx
push edi
call fcn.59005d70
add esp, 8
push edi
call fcn.5912c529
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.59095090
lea ecx, [esp + 0x20]
call fcn.590a77d0
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
call fcn.590a7700
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