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

Disassembly:
mov ecx, dword [0x647874]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x450a5b
sub esp, 0x34
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
sub edx, ebx
lea ebp, [edx - 1]
test edx, ebp
jne 0x450a44
mov ebp, dword [0x647c10]
mov esi, ebx
test ebp, ebp
jne 0x450890
cmp edx, 0x8000
jae 0x45081d
mov eax, edx
xor ecx, ecx
jmp 0x450956
nop
nop
mov dword [esp + 0x28], ebx
mov eax, dword [0x60f694]
test byte [eax], al
mov ecx, esi
shr esi, 0xd
and esi, 0x1ff
shr ecx, 0x16
mov eax, dword [eax + ecx*4]
test byte [eax], al
mov eax, dword [eax + esi*4]
mov dword [esp + 0x14], eax
test byte [eax], al
lea ecx, [eax + 0x3f]
nop
mov dword [esp], ecx
call fcn.00402970
cmp byte [esp + 4], 2
jne 0x4508fe
mov eax, dword [0x647790]
test eax, eax
je 0x450873
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
xor edx, edx
jmp 0x4508a7
lea eax, [0x60f560]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.0042ab00
jmp 0x4508a0
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00415200
add esp, 0x34
ret
add esp, 0x34
ret
shr ecx, 1
inc edx
cmp ecx, 1
ja 0x4508a4
mov dword [esp + 0x18], edx
nop
nop
lea eax, [0x647da0]
mov dword [esp], eax
call fcn.0040ac30
mov eax, dword [esp + 0x18]
cmp eax, 0x13
jae 0x4508f4
lea ecx, [0x647da4]
lea eax, [ecx + eax*8]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.0042b1b0
nop
nop
lea eax, [0x647da0]
mov dword [esp], eax
call fcn.0040ae50
jmp 0x4508a0
mov ecx, 0x13
call fcn.0046a460
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
call fcn.0043b060
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043b760
call fcn.0043b230
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0043b850
call fcn.0043b270
call fcn.0043b0c0
lea eax, [0x526963]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004396b0
inc ecx
shr edx, 1
cmp edx, 0x1000
ja 0x450953
mov edx, dword [0x647874]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov ebx, dword [edx + 0x58]
test ebx, ebx
je 0x45097a
mov edx, dword [edx + 0x78]
test edx, edx
je 0x4509ca
movzx eax, cl
cmp eax, 3
jae 0x450a3a
mov byte [esp + 0xf], cl
shl eax, 6
lea ecx, [0x647e40]
add eax, ecx
mov dword [esp + 0x2c], eax
nop
mov dword [esp], eax
call fcn.0040ac30
mov eax, dword [esp + 0x38]
mov dword [esp], eax
movzx eax, byte [esp + 0xf]
mov byte [esp + 4], al
call fcn.00450150
nop
nop
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0040ae50
jmp 0x4508a0
movzx edx, cl
cmp edx, 3
jae 0x450a2e
mov ebx, dword [ebx + 0x30]
test byte [ebx], al
lea ebp, [ebx + edx*8 + 0x238]
cmp dword [ebp], 0x8000
jb 0x450a17
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ebp
mov dword [esp], ebx
mov byte [esp + 4], cl
call fcn.00450360
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
lea ecx, [ebx + edx*8 + 0x234]
mov edx, dword [ecx]
mov ebx, esi
mov dword [esi], edx
mov dword [ecx], ebx
add dword [ebp], eax
jmp 0x4508a0
mov eax, edx
mov ecx, 3
call fcn.0046a460
mov ecx, 3
call fcn.0046a460
lea eax, [0x5298ba]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.004396b0
nop
call fcn.00467b40
jmp fcn.004507d0