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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x170
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 8]
mov dword [esp + 0x30], ecx
lea ecx, [ebp + 0xc]
mov dword [esp + 0x34], ecx
xorps xmm0, xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x12]
lea edx, [esp + 0x13]
lea esi, [esp + 0xa0]
lea edi, [esp + 0x40]
push ecx
push edx
push esi
push eax
push edi
call fcn.0045e4a0
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], 0x580b9c
mov dword [esp + 0x80], ebp
mov dword [esp + 0x88], esp
mov dword [esp + 0x84], 0x457695
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 0x457177
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 0x54], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x150], xmm0
movaps xmmword [esp + 0x140], 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
lea eax, [esp + 0xc0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], 0
mov byte [esp + 0x11], 1
mov byte [esp + 0x1f], 0x45
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
mov esi, dword [edx]
jmp 0x457212
add eax, 1
mov ecx, dword [esp + 8]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x18]
mov eax, 0
test ecx, ecx
je 0x457257
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x457255
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x64], 2
mov dword [esp + 0x14], esi
mov dword [esp + 0x58], ecx
call eax
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x14]
cmp eax, 0xffffffff
mov eax, 0
cmove ecx, eax
mov eax, ecx
mov dword [esp + 8], eax
test esi, esi
je 0x4572a0
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x457291
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x64], 3
mov ecx, esi
mov dword [esp + 0x14], esi
call eax
mov esi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4572a0
cmp dword [esp + 8], 0
je 0x4572ad
jmp 0x457449
xor esi, esi
cmp dword [esp + 8], 0
je 0x457449
mov dword [esp + 0x18], esi
movzx edx, byte [esp + 0x20]
test dl, 1
je 0x4572d0
mov edx, dword [esp + 0x24]
jmp 0x4572d2
shr edx, 1
mov ecx, dword [esp + 0xc]
lea eax, [ecx + edx]
cmp dword [esp + 0x54], eax
jne 0x45733e
mov dword [esp + 0xc], edx
lea eax, [edx + edx]
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 ecx, [esp + 0x21]
je 0x457334
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
add eax, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 8]
cmp eax, dword [ecx + 0x10]
je 0x457360
movzx eax, byte [eax]
jmp 0x457387
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 + 0x38], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x64], 6
call eax
movsx ecx, byte [esp + 0x13]
movsx edx, byte [esp + 0x12]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x64], 7
movsx eax, al
lea esi, [esp + 0xa0]
push esi
lea esi, [esp + 0x60]
push esi
lea esi, [esp + 0x58]
push esi
lea esi, [esp + 0xcc]
push esi
lea esi, [esp + 0x50]
push esi
push edx
push ecx
lea ecx, [esp + 0x70]
push ecx
push dword [esp + 0x2c]
lea ecx, [esp + 0x43]
push ecx
lea ecx, [esp + 0x39]
push ecx
push eax
call fcn.0045e610
add esp, 0x30
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x457449
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 8]
cmp eax, dword [ecx + 0x10]
jne 0x457200
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x64], 8
call eax
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x14]
jmp 0x457212
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 8]
mov dword [ecx], edx
mov dword [eax], esi
movzx eax, byte [esp + 0x40]
test al, 1
je 0x457468
mov eax, dword [esp + 0x44]
jmp 0x45746a
shr eax, 1
mov dword [esp + 0x14], esi
test eax, eax
je 0x45749d
cmp byte [esp + 0x11], 0
je 0x45749d
mov eax, dword [esp + 0x50]
mov ecx, eax
lea edx, [esp + 0xc0]
sub ecx, edx
cmp ecx, 0x9f
jg 0x45749d
mov ecx, dword [esp + 0x5c]
lea edx, [eax + 4]
mov dword [esp + 0x50], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], 9
push dword [ebp + 0x14]
push eax
push dword [esp + 0x14]
call fcn.0047afb0
add esp, 0xc
fstp dword [esp + 0x94]
mov ecx, dword [esp + 0x14]
movss xmm0, dword [esp + 0x94]
mov eax, dword [ebp + 0x18]
movss dword [eax], xmm0
movzx edx, byte [esp + 0x40]
mov edi, edx
shr edi, 1
and dl, 1
mov esi, dword [esp + 0x44]
mov eax, esi
cmove eax, edi
test eax, eax
je 0x4575bd
mov ebx, edi
mov edi, dword [esp + 0x50]
lea ecx, [edi - 4]
lea eax, [esp + 0xc0]
cmp eax, edi
mov dword [esp + 0xc], ecx
je 0x457546
cmp ecx, eax
jbe 0x457546
lea ecx, [esp + 0xc4]
mov edx, dword [esp + 0xc]
nop dword [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 0x457520
movzx ebx, byte [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edx, ebx
and dl, 1
shr ebx, 1
test dl, dl
mov ecx, dword [esp + 0x14]
je 0x45755c
mov edx, dword [esp + 0x48]
mov ebx, esi
cmp dword [esp + 0xc], eax
ja 0x457566
jmp 0x45759c
lea edx, [esp + 0x41]
cmp dword [esp + 0xc], eax
jbe 0x45759c
mov edi, ebx
add edi, edx
jmp 0x457589
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 0x45759c
mov esi, eax
movzx ebx, byte [edx]
mov eax, ebx
add al, 0xff
cmp al, 0x7d
ja 0x457570
cmp dword [esi], ebx
je 0x457570
jmp 0x4575b4
movzx edx, byte [edx]
mov eax, edx
add al, 0xff
cmp al, 0x7d
ja 0x4575bd
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
add eax, 0xffffffff
cmp eax, edx
jb 0x4575bd
mov eax, dword [ebp + 0x14]
mov dword [eax], 4
xor esi, esi
cmp dword [esp + 8], 0
je 0x4575fe
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 8]
cmp eax, dword [edx + 0x10]
mov esi, dword [esp + 8]
jne 0x4575fe
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 + 0x14]
mov esi, dword [esp + 8]
cmp eax, 0xffffffff
je 0x45766f
test ecx, ecx
je 0x45767f
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x457626
mov dword [esp + 0xc], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x64], 0xb
call eax
cmp eax, 0xffffffff
mov esi, dword [esp + 0xc]
je 0x457685
test esi, esi
je 0x457630
mov eax, dword [ebp + 0x14]
or byte [eax], 2
test byte [esp + 0x20], 1
je 0x457643
push dword [esp + 0x28]
call fcn.00422980
add esp, 4
test byte [esp + 0x40], 1
je 0x457656
push dword [esp + 0x48]
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
mov eax, dword [esp + 0x30]
mov dword [eax], 0
xor esi, esi
test ecx, ecx
jne 0x457602
test esi, esi
jne 0x457630
jmp 0x45762a
mov eax, dword [esp + 0x34]
mov dword [eax], 0
test esi, esi
jne 0x457630
jmp 0x45762a