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

Disassembly:
push 0xffffffffffffffff
push 0x7574ab
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.006d8d80
lea ecx, [ebp + 0x14]
call fcn.0061ccb0
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 0x61b920
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 0x61b7b9
mov ecx, esi
call fcn.0045f660
cmp ebx, eax
jae 0x61b71b
mov ecx, esi
call fcn.0045f660
mov ebp, eax
jmp 0x61b71d
mov ebp, ebx
mov ecx, esi
call fcn.0045f660
add eax, ebp
mov dword [esp + 0x40], eax
jns 0x61b72e
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00726f70
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.00642560
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], eax
push ecx
push ebx
push eax
mov ecx, esi
call fcn.006d7730
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.00642560
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.006bc100
mov eax, dword [esi + 4]
push eax
call fcn.00726ea6
mov ecx, dword [esp + 0x44]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.0045f660
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 0x61b85f
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, ebx
jae 0x61b817
lea ecx, [ebx*4]
mov dword [esp + 0x34], ecx
add ecx, edi
push ecx
push eax
push edi
mov ecx, esi
call fcn.00642560
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.006d7730
mov eax, dword [esi + 8]
cmp edi, eax
je 0x61b809
mov edx, dword [esp + 0x14]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x61b7fc
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [esi + 8], ecx
jmp 0x61b85b
test ebx, ebx
jbe 0x61b85f
shl ebx, 2
push eax
push eax
sub eax, ebx
mov ecx, esi
push eax
call fcn.00642560
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, ebx
cmp edi, eax
je 0x61b844
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x61b835
lea eax, [ebx + edi]
cmp edi, eax
je 0x61b858
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x61b84b
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.0061ea40
test eax, eax
jne 0x61b8c2
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.006bc100
mov eax, dword [esp + 0x1c]
push eax
call fcn.00726ea6
add esp, 4
xor eax, eax
jmp 0x61b9d8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
cmp dword [edx + ecx*4], 0x30
jne 0x61b8d8
mov eax, dword [ebp + 8]
cmp dword [eax], 6
je 0x61b919
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.006d8d80
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.006bc100
mov edx, dword [esp + 0x1c]
push edx
call fcn.00726ea6
add esp, 4
xor eax, eax
jmp 0x61b9d8
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 0x61b9a8
jmp 0x61b948
mov edi, dword [esp + 0xb8]
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x61b976
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.0061e810
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x61b952
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.0061c990
mov eax, dword [esp + 0x30]
inc ebx
cmp ebx, eax
jl 0x61b941
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.006bc100
mov eax, dword [esp + 0x1c]
push eax
call fcn.00726ea6
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