Function at 0x4aba70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5237f8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x588eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x5c], esi
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x4abad5
push eax
call fcn.004fc235
mov edi, dword [ebx + 0x60]
mov esi, eax
lea eax, [ebx + 0x50]
mov dword [ebp - 0x5c], esi
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4abac8
mov eax, dword [eax]
push edi
push eax
push esi
call fcn.004fe150
add esp, 0xc
jmp 0x4abb33
cmp dword [ebx + 0x78], esi
jbe 0x4abb33
cmp dword [ebx + 0x7c], 0x10
lea eax, [ebx + 0x68]
jb 0x4abae5
mov eax, dword [eax]
push 0x572d9c
push eax
call fcn.0050a7ff
mov esi, eax
add esp, 8
test esi, esi
je 0x4abce8
push 2
push 0
push esi
call fcn.0050ac0d
push esi
call fcn.0050b31e
mov edi, eax
push edi
call fcn.004fc235
push esi
mov dword [ebp - 0x5c], eax
call fcn.0050b6f1
push esi
push edi
push 1
push dword [ebp - 0x5c]
call fcn.0050b4f5
push esi
call fcn.0050a8d3
add esp, 0x2c
lea eax, [ebx + 0x38]
push eax
lea ecx, [ebp - 0x58]
call fcn.004a4e50
push 0xffffffffffffffff
push str._r_n_r_n
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.004abd20
cmp eax, 0xffffffff
jne 0x4abb86
push eax
push 0x573150
lea ecx, [ebp - 0x58]
call fcn.004abd20
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffffe
cmp eax, ecx
lea ecx, [ebp - 0x58]
jne 0x4abb7c
push 0x573150
jmp 0x4abb81
push str._r_n_r_n
call fcn.004a47a0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004adce0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004addb0
push 3
push 0xc9
mov byte [ebp - 4], 2
call fcn.004d3530
mov esi, eax
add esp, 8
test esi, esi
je 0x4abc2e
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x18]
mov edx, eax
test edx, edx
je 0x4abbe2
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x18]
mov edx, eax
test edx, edx
je 0x4abc07
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 0x18]
test eax, eax
je 0x4abc23
test edi, edi
jle 0x4abc23
mov edx, dword [eax]
mov ecx, eax
push edi
push dword [ebp - 0x5c]
call dword [edx + 0x10]
push dword [ebp - 0x5c]
call fcn.004fc23e
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4abc62
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4abc58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4abd06
push edx
push ecx
call fcn.004fbca6
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x4abca4
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4abc9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4abd0b
push edx
push ecx
call fcn.004fbca6
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x4abce6
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4abcdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4abd10
push edx
push ecx
call fcn.004fbca6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fbc95
mov esp, ebp
pop ebp
ret 4
call fcn.00501cb1
call fcn.00501cb1
call fcn.00501cb1
int3