Function at 0x5938c0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x697acb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [ebp + 8]
push edi
mov eax, dword [ebp + 0xc]
lea esi, [ebp + 4]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], ebp
call fcn.00632090
lea ecx, [ebp + 0x14]
call fcn.00594f10
mov edi, dword [esp + 0xb8]
xor ebx, ebx
lea eax, [esp + 0x2c]
push ebx
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.kernel32.dll_ReadFile]
mov dl, byte [esp + 0x2b]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x18], dl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xb0], ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
jle 0x593b80
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, ebx
mov dword [esp + 0x14], 0
jae 0x593a19
mov ecx, esi
call fcn.0049cab0
cmp ebx, eax
jae 0x59397b
mov ecx, esi
call fcn.0049cab0
mov ebp, eax
jmp 0x59397d
mov ebp, ebx
mov ecx, esi
call fcn.0049cab0
add eax, ebp
mov dword [esp + 0x40], eax
jns 0x59398e
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00673b05
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.0044e990
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], eax
push ecx
push ebx
push eax
mov ecx, esi
call fcn.00630e40
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 8]
lea eax, [edx + ebx*4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.0044e990
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.004748c0
mov eax, dword [esi + 4]
push eax
call fcn.006713a0
mov ecx, dword [esp + 0x44]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.0049cab0
add eax, ebx
mov ebx, dword [esp + 0x10]
mov dword [esi + 4], ebp
lea eax, [ebp + eax*4]
mov ebp, dword [esp + 0x34]
mov dword [esi + 8], eax
jmp 0x593abf
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, ebx
jae 0x593a77
lea ecx, [ebx*4]
mov dword [esp + 0x34], ecx
add ecx, edi
push ecx
push eax
push edi
mov ecx, esi
call fcn.0044e990
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
mov ecx, eax
push edx
sub ecx, edi
sar ecx, 2
sub ebx, ecx
mov ecx, esi
push ebx
push eax
call fcn.00630e40
mov eax, dword [esi + 8]
cmp edi, eax
je 0x593a69
mov edx, dword [esp + 0x14]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x593a5c
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [esi + 8], ecx
jmp 0x593abb
test ebx, ebx
jbe 0x593abf
shl ebx, 2
push eax
push eax
sub eax, ebx
mov ecx, esi
push eax
call fcn.0044e990
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, ebx
cmp edi, eax
je 0x593aa4
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x593a95
lea eax, [ebx + edi]
cmp edi, eax
je 0x593ab8
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x593aab
add dword [esi + 8], ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x2c]
push 0
lea ecx, [ebx*4]
push edx
mov edx, dword [esp + 0xc0]
push ecx
push eax
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.00596ca0
test eax, eax
jne 0x593b22
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0xb8], 0xffffffff
call fcn.004748c0
mov eax, dword [esp + 0x1c]
push eax
call fcn.006713a0
add esp, 4
xor eax, eax
jmp 0x593c38
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
cmp dword [edx + ecx*4], 0x30
jne 0x593b38
mov eax, dword [ebp + 8]
cmp dword [eax], 6
je 0x593b79
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00632090
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xb8], 0xffffffff
call fcn.004748c0
mov edx, dword [esp + 0x1c]
push edx
call fcn.006713a0
add esp, 4
xor eax, eax
jmp 0x593c38
mov edi, dword [esp + 0xb8]
lea eax, [esp + 0x2c]
push 0
push eax
lea ecx, [esp + 0x38]
push 4
push ecx
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [esp + 0x30]
xor ebx, ebx
test eax, eax
jle 0x593c08
jmp 0x593ba8
mov edi, dword [esp + 0xb8]
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x593bd6
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + esi*4]
mov eax, dword [eax + esi*4]
lea edx, [esp + ecx + 0x44]
mov ecx, ebp
push edx
push eax
push edi
call fcn.00596a70
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x593bb2
mov ecx, dword [esp + 0x44]
lea esi, [esp + 0x44]
mov dword [esp + 0x74], ecx
mov ecx, 0xc
lea edi, [esp + 0x78]
lea edx, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x34]
push edx
push eax
lea ecx, [ebp + 0x14]
call fcn.00594bf0
mov eax, dword [esp + 0x30]
inc ebx
cmp ebx, eax
jl 0x593ba1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0xb8], 0xffffffff
call fcn.004748c0
mov eax, dword [esp + 0x1c]
push eax
call fcn.006713a0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret 4