Function at 0x4b2cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e55d9
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x66a074]
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 dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov eax, esi
mov dword [ebp - 0x50], ebx
cmp dword [esi + 0x14], 8
jb 0x4b2d06
mov eax, dword [esi]
push 0x627cac
push eax
call fcn.005bfd4c
add esp, 8
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4b304d
mov ecx, esi
call fcn.004c6e70
mov edi, eax
lea esi, [edi + 1]
push esi
call fcn.005b79a5
push esi
mov esi, eax
mov dword [ebp - 0x5c], eax
push 0
push esi
call fcn.005b9c20
push dword [ebp - 0x60]
push edi
push 1
push esi
call fcn.005c0cb3
add esp, 0x20
test eax, eax
je 0x4b3035
mov ecx, esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b2d68
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.004a0500
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
mov dl, 0xa
lea ecx, [ebp - 0x40]
call fcn.004cd680
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x4c]
add esp, 4
imul ecx
mov dword [ebp - 0x58], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4b2f81
xor esi, esi
mov dword [ebp - 0x54], esi
nop word [eax + eax]
add esi, dword [ebp - 0x4c]
cmp dword [esi + 0x10], 0
je 0x4b2e78
cmp dword [esi + 0x14], 0x10
mov edi, esi
jb 0x4b2df7
mov edi, dword [esi]
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b2e00
mov eax, 0
sub ecx, edx
je 0x4b2e29
mov dl, byte [eax + edi]
cmp dl, 0x20
jne 0x4b2e1f
inc eax
cmp eax, ecx
jb 0x4b2e10
jmp 0x4b2e29
cmp dl, 0x23
je 0x4b2e78
cmp dl, 0xa
je 0x4b2e78
cmp dword [esi + 0x14], 0x10
jb 0x4b2e31
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b2e48
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004a0500
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
or ebx, 1
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x64], ebx
call fcn.004b2ba0
test al, al
jne 0x4b2e78
xor bl, bl
jmp 0x4b2e7a
mov bl, 1
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x50]
test al, 1
je 0x4b2ec2
mov edx, dword [ebp - 0x14]
and eax, 0xfffffffe
mov dword [ebp - 0x50], eax
cmp edx, 0x10
jb 0x4b2ec2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b2eb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b3069
push edx
push ecx
call fcn.005b7992
add esp, 8
test bl, bl
jne 0x4b2f4e
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x54]
cmp dword [edx + 0x14], 0x10
jb 0x4b2ed8
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b2ef0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004a0500
lea ecx, [ebp - 0x28]
call fcn.004b2b40
mov edx, dword [ebp - 0x14]
mov bl, al
cmp edx, 0x10
jb 0x4b2f41
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b2f37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b3069
push edx
push ecx
call fcn.005b7992
add esp, 8
mov eax, dword [ebp - 0x68]
test bl, bl
jne 0x4b2f4b
mov eax, dword [ebp - 0x6c]
mov byte [eax], 1
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
inc edi
imul ecx
add esi, 0x18
mov dword [ebp - 0x58], edi
sar edx, 2
mov eax, edx
mov dword [ebp - 0x54], esi
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x4b2f81
mov ebx, dword [ebp - 0x50]
jmp 0x4b2de0
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4b2ff0
mov edx, dword [ebp - 0x48]
push ecx
call fcn.004b2aa0
mov ecx, dword [ebp - 0x44]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x4c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4b2fd1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b3069
push ecx
push esi
call fcn.005b7992
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4b3020
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b3016
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b306e
push edx
push ecx
call fcn.005b7992
add esp, 8
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test esi, esi
je 0x4b3042
push esi
call fcn.005b79a0
add esp, 4
push dword [ebp - 0x60]
call fcn.005bfe20
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.005b75ab
mov esp, ebp
pop ebp
ret
call fcn.005c00b0
call fcn.005c00b0
int3