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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 8]
mov dword [esp + 0x34], ecx
lea ecx, [ebp + 0xc]
mov dword [esp + 0x38], ecx
xorps xmm0, xmm0
movaps xmmword [esp + 0x170], xmm0
movaps xmmword [esp + 0x160], xmm0
movaps xmmword [esp + 0x150], xmm0
movaps xmmword [esp + 0x140], xmm0
mov word [esp + 0x46], 0
mov word [esp + 0x44], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x44]
lea edx, [esp + 0x46]
lea esi, [esp + 0x140]
lea edi, [esp + 0x48]
push ecx
push edx
push esi
push eax
push edi
call fcn.0045eaa0
add esp, 0x14
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x78], 0x4853d0
mov dword [esp + 0x7c], 0x580ce8
mov dword [esp + 0x80], ebp
mov dword [esp + 0x88], esp
mov dword [esp + 0x84], 0x45caf7
mov dword [esp + 0x64], 1
lea eax, [esp + 0x60]
push eax
call fcn.004863b0
add esp, 4
lea ecx, [esp + 0x20]
push 0
push 0xa
call fcn.00480060
test byte [esp + 0x20], 1
lea eax, [esp + 0x21]
je 0x45c58b
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 0x58], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
lea eax, [esp + 0xa0]
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], 0
mov byte [esp + 0x17], 1
mov byte [esp + 0x1f], 0x45
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [eax]
mov esi, dword [edx]
jmp 0x45c632
add eax, 2
mov ecx, dword [esp + 8]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x45c650
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x45c660
movzx eax, word [eax]
jmp 0x45c687
mov dl, 1
xor ecx, ecx
jmp 0x45c696
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x64], 2
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], ecx
call eax
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
cmp ax, 0xffff
sete dl
mov eax, 0
cmove ecx, eax
mov ebx, dword [esp + 0xc]
mov dword [esp + 8], ecx
test esi, esi
je 0x45c700
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x45c6c0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45c700
test dl, dl
jne 0x45c70a
jmp 0x45c89e
mov byte [esp + 0x30], dl
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x64], 3
mov ecx, esi
mov dword [esp + 0x10], esi
call eax
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
movzx edx, byte [esp + 0x30]
cmp ax, 0xffff
jne 0x45c6b3
nop dword [eax + eax]
xor esi, esi
test dl, dl
jne 0x45c89e
mov dword [esp + 0x18], esi
movzx ecx, byte [esp + 0x20]
test cl, 1
je 0x45c720
mov ecx, dword [esp + 0x24]
jmp 0x45c722
shr ecx, 1
lea eax, [ebx + ecx]
cmp dword [esp + 0x58], eax
jne 0x45c78a
mov dword [esp + 0xc], ecx
lea eax, [ecx + ecx]
mov dword [esp + 0x64], 4
lea ecx, [esp + 0x20]
push 0
push eax
call fcn.00480060
mov eax, dword [esp + 0x20]
and eax, 0xfffffffe
add eax, 0xffffffff
test byte [esp + 0x20], 1
mov ecx, 0xa
cmove eax, ecx
mov dword [esp + 0x64], 5
lea ecx, [esp + 0x20]
push 0
push eax
call fcn.00480060
test byte [esp + 0x20], 1
lea ebx, [esp + 0x21]
je 0x45c780
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
add eax, ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 8]
cmp eax, dword [ecx + 0x10]
mov dword [esp + 0xc], ebx
je 0x45c7b0
movzx eax, word [eax]
jmp 0x45c7db
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x64], 6
call eax
mov ebx, dword [esp + 0xc]
movzx ecx, word [esp + 0x46]
movzx edx, word [esp + 0x44]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x64], 7
movzx eax, ax
lea esi, [esp + 0x140]
push esi
lea esi, [esp + 0x60]
push esi
lea esi, [esp + 0x5c]
push esi
lea esi, [esp + 0xac]
push esi
lea esi, [esp + 0x58]
push esi
push edx
push ecx
lea ecx, [esp + 0x74]
push ecx
push ebx
lea ecx, [esp + 0x43]
push ecx
lea ecx, [esp + 0x3f]
push ecx
push eax
call fcn.0045ec10
add esp, 0x30
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x45c89a
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 8]
cmp eax, dword [ecx + 0x10]
jne 0x45c620
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x64], 8
call eax
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
jmp 0x45c632
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 8]
mov dword [ecx], edx
mov dword [eax], esi
movzx eax, byte [esp + 0x48]
test al, 1
je 0x45c8bd
mov eax, dword [esp + 0x4c]
jmp 0x45c8bf
shr eax, 1
mov dword [esp + 0x10], esi
test eax, eax
je 0x45c8f2
cmp byte [esp + 0x17], 0
je 0x45c8f2
mov eax, dword [esp + 0x54]
mov ecx, eax
lea edx, [esp + 0xa0]
sub ecx, edx
cmp ecx, 0x9f
jg 0x45c8f2
mov ecx, dword [esp + 0x5c]
lea edx, [eax + 4]
mov dword [esp + 0x54], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x64], 9
push dword [ebp + 0x14]
push eax
push ebx
call fcn.0047afb0
add esp, 0xc
fstp dword [esp + 0x94]
mov ecx, dword [esp + 0x10]
movss xmm0, dword [esp + 0x94]
mov eax, dword [ebp + 0x18]
movss dword [eax], xmm0
movzx edx, byte [esp + 0x48]
mov edi, edx
shr edi, 1
and dl, 1
mov esi, dword [esp + 0x4c]
mov eax, esi
cmove eax, edi
test eax, eax
je 0x45ca0d
mov ebx, edi
mov edi, dword [esp + 0x54]
lea ecx, [edi - 4]
lea eax, [esp + 0xa0]
cmp eax, edi
mov dword [esp + 0xc], ecx
je 0x45c996
cmp ecx, eax
jbe 0x45c996
lea ecx, [esp + 0xa4]
mov edx, dword [esp + 0xc]
nop word [eax + eax]
mov esi, dword [ecx - 4]
mov edi, dword [edx]
mov dword [ecx - 4], edi
mov dword [edx], esi
add edx, 0xfffffffc
lea esi, [ecx + 4]
cmp ecx, edx
mov ecx, esi
jb 0x45c970
movzx ebx, byte [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov edx, ebx
and dl, 1
shr ebx, 1
test dl, dl
mov ecx, dword [esp + 0x10]
je 0x45c9ac
mov edx, dword [esp + 0x50]
mov ebx, esi
cmp dword [esp + 0xc], eax
ja 0x45c9b6
jmp 0x45c9ec
lea edx, [esp + 0x49]
cmp dword [esp + 0xc], eax
jbe 0x45c9ec
mov edi, ebx
add edi, edx
jmp 0x45c9d9
mov eax, edi
sub eax, edx
xor ebx, ebx
cmp eax, 2
setge bl
add edx, ebx
mov eax, esi
add eax, 4
cmp eax, dword [esp + 0xc]
jae 0x45c9ec
mov esi, eax
movzx ebx, byte [edx]
mov eax, ebx
add al, 0xff
cmp al, 0x7d
ja 0x45c9c0
cmp dword [esi], ebx
je 0x45c9c0
jmp 0x45ca04
movzx edx, byte [edx]
mov eax, edx
add al, 0xff
cmp al, 0x7d
ja 0x45ca0d
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
add eax, 0xffffffff
cmp eax, edx
jb 0x45ca0d
mov eax, dword [ebp + 0x14]
mov dword [eax], 4
cmp dword [esp + 8], 0
je 0x45ca60
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 8]
cmp eax, dword [edx + 0x10]
je 0x45ca29
movzx eax, word [eax]
jmp 0x45ca44
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], 0xa
call eax
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [esp + 8]
cmp ax, 0xffff
je 0x45ca56
test ecx, ecx
jne 0x45ca68
jmp 0x45caae
mov eax, dword [esp + 0x34]
mov dword [eax], 0
xor esi, esi
mov dl, 1
test ecx, ecx
je 0x45caae
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x45ca7f
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45caa4
test dl, dl
je 0x45cab2
jmp 0x45cab8
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x64], 0xb
call eax
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
cmp ax, 0xffff
jne 0x45ca79
mov eax, dword [esp + 0x38]
mov dword [eax], 0
test dl, dl
je 0x45cab8
mov eax, dword [ebp + 0x14]
or byte [eax], 2
test byte [esp + 0x20], 1
je 0x45cacb
push dword [esp + 0x28]
call fcn.00422980
add esp, 4
test byte [esp + 0x48], 1
je 0x45cade
push dword [esp + 0x50]
call fcn.00422980
add esp, 4
lea eax, [esp + 0x60]
push eax
call fcn.00486410
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14