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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46574d
sub esp, 0x74
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4655a3
mov edx, dword [esp + 0x84]
cmp dword [edx], 0xffffffff
je 0x465558
mov dword [esp + 0x34], 0
mov ebx, dword [edx]
mov dword [esp + 0x2c], ebx
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00475a0a
lea ecx, [0x465760]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x8c]
dec ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
add ecx, edx
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x88]
dec edx
mov dword [esp + 0x48], edx
xor eax, eax
xor ebx, ebx
jmp 0x4655c3
mov eax, dword [esp + 0x8c]
dec eax
neg eax
sar eax, 0x1f
and eax, 4
dec ecx
add eax, edx
mov edx, dword [esp + 0x7c]
cmp edx, ecx
jg 0x465575
mov ecx, edx
mov edx, dword [esp + 0x78]
cmp edx, eax
je 0x465598
mov dword [esp + 0x48], ecx
mov dword [esp], edx
mov dword [esp + 4], eax
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.00476100
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x90], ecx
add esp, 0x74
ret
mov dword [esp + 0x90], 0
add esp, 0x74
ret
mov ebp, dword [esp + 0x44]
inc ebp
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ebx, eax
mov eax, ebp
cmp eax, edx
jge 0x465675
mov dword [esp + 0x44], eax
mov byte [esp + 0x22], bl
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x30], edx
lea ebx, [edx - 1]
mov dword [esp + 0x38], ebx
mov dword [esp], ebx
call fcn.00471ff0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00457a10
movzx eax, byte [esp + 8]
test al, al
je 0x465651
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.004724f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
movzx eax, byte [esp + 0x22]
jmp 0x4656ad
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
lea edx, [esp + 0x5c]
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x465675
movzx eax, byte [esp + 0x22]
jmp 0x4655b2
mov eax, dword [esp + 0x34]
mov dword [esp + 0x90], eax
add esp, 0x74
ret
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00458850
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
movzx eax, byte [esp + 0x23]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov byte [esp + 0x22], al
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00458820
movzx eax, byte [esp + 8]
test al, al
je 0x465743
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.004725c0
movzx eax, byte [esp + 0x18]
mov byte [esp + 0x23], al
cmp al, 0x16
je 0x4656fc
xor ecx, ecx
jmp 0x465715
movzx eax, byte [esp + 0x22]
mov byte [esp], al
call fcn.0045ff40
movzx eax, byte [esp + 4]
mov ecx, eax
movzx eax, byte [esp + 0x23]
test cl, cl
jne 0x465684
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
lea ebx, [ecx + 1]
mov dword [esp], ebx
lea edx, [esp + 0x5c]
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x465684
jmp 0x465675
movzx eax, byte [esp + 0x22]
jmp 0x4655b2
call fcn.004743b0
jmp fcn.004654b0