Function at 0x464458
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
je 0x464479
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
cmp byte [eax], 0
jne 0x46448e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
je 0x46448e
cmp dword [ebp - 8], 4
jg 0x46448e
cmp dword [ebp - 8], 0
jge 0x46449a
mov dword [ebp - 0xc], 0xfffffffe
jmp 0x4647a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x4644cf
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4644bd
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4644cf
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x29a
jne 0x4644db
cmp dword [ebp - 8], 4
je 0x4644db
mov dword [ebp - 0xc], 0xfffffffe
jmp 0x4647a3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x4644f0
mov dword [ebp - 0xc], 0xfffffffb
jmp 0x4647a3
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x2a
jne 0x4645c9
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 0x28]
sub ax, 8
shl eax, 4
add ax, 8
shl eax, 8
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
dec eax
shr eax, 1
mov word [ebp - 0x18], ax
cmp word [ebp - 0x18], 3
jbe 0x46454a
mov word [ebp - 0x18], 3
mov ax, word [ebp - 0x18]
shl eax, 6
or word [ebp - 0x16], ax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x64], 0
je 0x464563
or word [ebp - 0x16], 0x20
movzx eax, word [ebp - 0x16]
mov ecx, 0x1f
xor edx, edx
div ecx
mov ax, 0x1f
sub ax, dx
add word [ebp - 0x16], ax
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x71
mov eax, dword [ebp - 0x14]
mov dx, word [ebp - 0x16]
call fcn.00463f38
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x64], 0
je 0x4645bf
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
shr edx, 0x10
mov eax, dword [ebp - 0x14]
call fcn.00463f38
mov edx, dword [ebp - 4]
mov dx, word [edx + 0x34]
and dx, 0xffff
mov eax, dword [ebp - 0x14]
call fcn.00463f38
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
je 0x4645f7
mov eax, dword [ebp - 4]
call fcn.00463f80
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x46461a
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 0xffffffff
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4647a3
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x46461a
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jg 0x46461a
cmp dword [ebp - 8], 4
je 0x46461a
mov dword [ebp - 0xc], 0xfffffffb
jmp 0x4647a3
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x29a
jne 0x46463b
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x46463b
mov dword [ebp - 0xc], 0xfffffffb
jmp 0x4647a3
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x464667
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
jne 0x464667
cmp dword [ebp - 8], 0
je 0x464736
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x29a
je 0x464736
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
lea eax, [eax + eax*2]
mov ebx, dword [eax*4 + 0x488a24]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call ebx
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 2
je 0x46468e
cmp byte [ebp - 0x19], 3
jne 0x464698
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x29a
cmp byte [ebp - 0x19], 0
je 0x4646a4
cmp byte [ebp - 0x19], 2
jne 0x4646c1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x4646b7
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 0xffffffff
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4647a3
cmp byte [ebp - 0x19], 1
jne 0x464736
cmp dword [ebp - 8], 1
jne 0x4646d7
mov eax, dword [ebp - 0x14]
call fcn.004641bc
jmp 0x464714
push 0
mov eax, dword [ebp - 0x14]
xor ecx, ecx
xor edx, edx
call fcn.004643d4
cmp dword [ebp - 8], 3
jne 0x464714
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x3c]
mov word [edx + eax*2 - 2], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x44]
dec eax
mov edx, eax
add edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
call fcn.00464438
mov eax, dword [ebp - 4]
call fcn.00463f80
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x464736
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 0xffffffff
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4647a3
cmp dword [ebp - 8], 4
je 0x464743
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4647a3
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
je 0x464755
mov dword [ebp - 0xc], 1
jmp 0x4647a3
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
shr edx, 0x10
mov eax, dword [ebp - 0x14]
call fcn.00463f38
mov edx, dword [ebp - 4]
mov dx, word [edx + 0x34]
and dx, 0xffff
mov eax, dword [ebp - 0x14]
call fcn.00463f38
mov eax, dword [ebp - 4]
call fcn.00463f80
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
je 0x46479c
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4647a3
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret