Function at 0x4c07f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4f5d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6360e8]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x5c], ecx
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4c082b
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
push eax
mov dword [ebp - 0x64], ecx
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x60], eax
call fcn.004c43c0
add esp, 8
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004c4770
cmp dword [eax + 0x14], 0x10
jb 0x4c085a
mov eax, dword [eax]
push 0x6012c0
push eax
call fcn.005872c1
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], ebx
cmp eax, 0x10
jb 0x4c08a0
mov ecx, dword [ebp - 0x30]
inc eax
cmp eax, 0x1000
jb 0x4c0896
mov edx, dword [ecx - 4]
add eax, 0x23
sub ecx, edx
sub ecx, 4
cmp ecx, 0x1f
ja 0x4c0a5f
mov ecx, edx
push eax
push ecx
call fcn.005772b4
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0x10
jb 0x4c08ed
mov eax, dword [ebp - 0x48]
inc ecx
cmp ecx, 0x1000
jb 0x4c08e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
sub eax, 4
cmp eax, 0x1f
ja 0x4c0a5f
mov eax, edx
push ecx
push eax
call fcn.005772b4
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
test ebx, ebx
jne 0x4c090a
xor al, al
jmp 0x4c0a41
push ebx
push 8
lea eax, [ebp - 0x18]
mov byte [ebp - 0x49], 0
push 1
push eax
call fcn.00580b01
push 8
xor edx, edx
lea ecx, [ebp - 0x18]
call fcn.00534870
add esp, 0x14
test eax, eax
jne 0x4c0a35
sub esp, 8
call fcn.0052f050
mov esi, eax
add esp, 8
mov dword [ebp - 0x54], esi
test esi, esi
je 0x4c0a35
mov eax, dword [esi + 0x25c]
push 0x118
test eax, eax
je 0x4c0962
push esi
call eax
add esp, 8
jmp 0x4c096a
call fcn.00582428
add esp, 4
mov edi, eax
test edi, edi
je 0x4c0980
push 0x118
push 0
push edi
call fcn.00579030
add esp, 0xc
mov dword [ebp - 0x50], edi
test edi, edi
je 0x4c09d6
push ecx
mov ecx, esi
call fcn.0052eea0
mov ecx, dword [ebp - 4]
push 0x62cf88
push ecx
push 0x578641
push 3
push eax
call fcn.005a0f20
mov esi, dword [ebp - 0x54]
add esp, 0x18
mov ebx, dword [ebp - 0x58]
test eax, eax
jne 0x4c09d3
test esi, esi
je 0x4c09c0
mov dword [esi + 0x60], ebx
mov byte [esi + 0x155], 8
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
push edi
push esi
call fcn.004c0300
mov byte [ebp - 0x49], 1
jmp 0x4c09d6
mov edi, dword [ebp - 0x50]
test esi, esi
je 0x4c0a35
test edi, edi
je 0x4c0a20
push 0xffffffffffffffff
push 0xffff
mov edx, edi
mov dword [ebp - 0x50], 0
mov ecx, esi
call fcn.00534e10
push 0x118
push 0
push edi
call fcn.00579030
mov eax, dword [esi + 0x260]
add esp, 0x14
push edi
test eax, eax
je 0x4c0a18
push esi
call eax
add esp, 8
jmp 0x4c0a20
call fcn.0057c051
add esp, 4
mov ecx, esi
mov dword [ebp - 0x54], 0
call fcn.0052fa80
mov ecx, esi
call fcn.00539760
push ebx
call fcn.0057ff0f
mov al, byte [ebp - 0x49]
add esp, 4
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.00577025
mov esp, ebp
pop ebp
ret 4
call fcn.0057c388
int3