Function at 0x463610
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
push 5
push ecx
push 0
mov dword [esp + 0x28], fcn.00463320
mov dword [esp + 0x2c], 0x463370
mov dword [esp + 0x30], 0x463390
mov dword [esp + 0x34], 0x4633b0
mov dword [esp + 0x38], fcn.004633c0
mov dword [esp + 0x3c], 0x463420
mov dword [esp + 0x40], 0x463430
mov dword [esp + 0x44], 0
call fcn.00463320
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x3c], ebp
test ebp, ebp
je 0x46391a
push 2
push 0
push ebp
mov ebx, 0xffff
mov dword [esp + 0x1c], 0
call fcn.00474451
add esp, 0xc
push ebp
call fcn.00473cf6
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
cmovb ebx, eax
push 0x404
mov dword [esp + 0x18], ebx
call fcn.0046b317
mov edi, eax
add esp, 4
test edi, edi
jne 0x4636bf
xor ebx, ebx
jmp 0x463770
mov esi, 4
cmp ebx, esi
jbe 0x463763
mov ecx, 0x404
mov ebp, dword [esp + 0x18]
lea eax, [esi + 0x400]
cmp eax, ebx
mov esi, ebx
push 0
cmovbe esi, eax
sub ebp, esi
mov ebx, esi
push ebp
push dword [esp + 0x44]
cmp esi, 0x404
cmova ebx, ecx
call fcn.00474451
add esp, 0xc
push dword [esp + 0x3c]
push ebx
push 1
push edi
call fcn.004748bb
add esp, 0x10
cmp eax, ebx
jne 0x46375f
lea ecx, [ebx - 3]
test ecx, ecx
jle 0x46374e
lea eax, [edi + 3]
add eax, ecx
nop
mov edx, ecx
lea eax, [eax - 1]
dec ecx
cmp byte [eax - 3], 0x50
jne 0x46373d
cmp byte [edx + edi], 0x4b
jne 0x46373d
cmp byte [eax - 1], 5
jne 0x46373d
cmp byte [eax], 6
je 0x463743
test ecx, ecx
jg 0x463720
jmp 0x46374e
lea eax, [ecx + ebp]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x46375f
mov ebx, dword [esp + 0x14]
mov ecx, 0x404
cmp esi, ebx
jb 0x4636d1
mov ebp, dword [esp + 0x3c]
push edi
call fcn.0046b2fc
mov ebx, dword [esp + 0x14]
add esp, 4
mov esi, ebx
neg esi
push 0
sbb esi, esi
push ebx
push ebp
neg esi
push 0
dec esi
call fcn.004633c0
or edi, 0xffffffff
lea ecx, [esp + 0x2c]
test eax, eax
mov edx, ebp
lea eax, [esp + 0x24]
push eax
cmovne esi, edi
call fcn.004634f0
add esp, 0x14
lea ecx, [esp + 0x1c]
test eax, eax
mov edx, ebp
lea eax, [esp + 0x10]
cmovne esi, edi
push eax
call fcn.00463440
add esp, 4
lea ecx, [esp + 0x1c]
test eax, eax
mov edx, ebp
lea eax, [esp + 0x18]
cmovne esi, edi
push eax
call fcn.00463440
add esp, 4
lea ecx, [esp + 0x1c]
test eax, eax
mov edx, ebp
lea eax, [esp + 0x40]
cmovne esi, edi
push eax
call fcn.00463440
add esp, 4
lea ecx, [esp + 0x1c]
test eax, eax
lea eax, [esp + 0x14]
cmovne esi, edi
mov edi, dword [esp + 0x3c]
push eax
mov edx, edi
call fcn.00463440
add esp, 4
mov ebp, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x14]
cmovne esi, ebp
cmp eax, dword [esp + 0x40]
jne 0x463825
cmp dword [esp + 0x18], 0
jne 0x463825
cmp dword [esp + 0x10], 0
je 0x46382a
mov esi, 0xffffff99
lea eax, [esp + 0x5c]
mov edx, edi
push eax
lea ecx, [esp + 0x20]
call fcn.004634f0
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x20]
add esp, 4
test eax, eax
lea eax, [esp + 0x60]
cmovne esi, ebp
push eax
call fcn.004634f0
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x20]
add esp, 4
test eax, eax
lea eax, [esp + 0x44]
cmovne esi, ebp
push eax
call fcn.00463440
mov ecx, dword [esp + 0x60]
add esp, 4
mov edx, dword [esp + 0x60]
test eax, eax
cmovne esi, ebp
lea eax, [ecx + edx]
cmp ebx, eax
jb 0x46390b
test esi, esi
jne 0x46390b
mov eax, ebx
mov dword [esp + 0x58], ebx
sub eax, ecx
mov dword [esp + 0xb8], esi
sub eax, edx
mov dword [esp + 0xbc], esi
push 0xb4
mov dword [esp + 0x4c], eax
call fcn.0046b317
add esp, 4
lea esi, [esp + 0x1c]
mov ebx, eax
mov ecx, 0x2d
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x44]
lea eax, [ebx + 0x98]
push 0
push 0
push 0
push 0
push 0
mov dword [ebx + 0x34], ecx
lea edx, [ebx + 0x48]
push 0
push eax
mov ecx, ebx
mov dword [ebx + 0x30], 0
call fcn.00463970
add esp, 0x1c
neg eax
sbb eax, eax
inc eax
mov dword [ebx + 0x38], eax
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call dword [esp + 0x38]
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc4
ret