Function at 0x4577b0
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 + 0x74], 0x4853d0
mov dword [esp + 0x78], 0x580bb8
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x84], esp
mov dword [esp + 0x80], 0x457db5
mov dword [esp + 0x60], 1
lea eax, [esp + 0x5c]
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 0x457894
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 0x50], 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 + 0x4c], eax
mov dword [esp + 0x58], 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 0x457932
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 0x457977
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x457975
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], 2
mov dword [esp + 0x14], esi
mov dword [esp + 0x54], ecx
call eax
mov ecx, dword [esp + 0x54]
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 0x4579c0
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x4579b1
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 + 0x60], 3
mov ecx, esi
mov dword [esp + 0x14], esi
call eax
mov esi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4579c0
cmp dword [esp + 8], 0
je 0x4579cd
jmp 0x457b69
xor esi, esi
cmp dword [esp + 8], 0
je 0x457b69
mov dword [esp + 0x18], esi
movzx edx, byte [esp + 0x20]
test dl, 1
je 0x4579f0
mov edx, dword [esp + 0x24]
jmp 0x4579f2
shr edx, 1
mov ecx, dword [esp + 0xc]
lea eax, [ecx + edx]
cmp dword [esp + 0x50], eax
jne 0x457a5e
mov dword [esp + 0xc], edx
lea eax, [edx + edx]
mov dword [esp + 0x60], 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 + 0x60], 5
lea ecx, [esp + 0x20]
push 0
push eax
call fcn.00480060
test byte [esp + 0x20], 1
lea ecx, [esp + 0x21]
je 0x457a54
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
add eax, ecx
mov dword [esp + 0x50], 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 0x457a80
movzx eax, byte [eax]
jmp 0x457aa7
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 + 0x60], 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 + 0x60], 7
movsx eax, al
lea esi, [esp + 0xa0]
push esi
lea esi, [esp + 0x5c]
push esi
lea esi, [esp + 0x54]
push esi
lea esi, [esp + 0xcc]
push esi
lea esi, [esp + 0x50]
push esi
push edx
push ecx
lea ecx, [esp + 0x6c]
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 0x457b69
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 8]
cmp eax, dword [ecx + 0x10]
jne 0x457920
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], 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 + 0x60], 8
call eax
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
jmp 0x457932
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 0x457b88
mov eax, dword [esp + 0x44]
jmp 0x457b8a
shr eax, 1
mov dword [esp + 0x14], esi
test eax, eax
je 0x457bbd
cmp byte [esp + 0x11], 0
je 0x457bbd
mov eax, dword [esp + 0x4c]
mov ecx, eax
lea edx, [esp + 0xc0]
sub ecx, edx
cmp ecx, 0x9f
jg 0x457bbd
mov ecx, dword [esp + 0x58]
lea edx, [eax + 4]
mov dword [esp + 0x4c], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], 9
push dword [ebp + 0x14]
push eax
push dword [esp + 0x14]
call fcn.0047b190
add esp, 0xc
fstp qword [esp + 0x98]
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x98]
mov eax, dword [ebp + 0x18]
movsd qword [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 0x457cdd
mov ebx, edi
mov edi, dword [esp + 0x4c]
lea ecx, [edi - 4]
lea eax, [esp + 0xc0]
cmp eax, edi
mov dword [esp + 0xc], ecx
je 0x457c66
cmp ecx, eax
jbe 0x457c66
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 0x457c40
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 0x457c7c
mov edx, dword [esp + 0x48]
mov ebx, esi
cmp dword [esp + 0xc], eax
ja 0x457c86
jmp 0x457cbc
lea edx, [esp + 0x41]
cmp dword [esp + 0xc], eax
jbe 0x457cbc
mov edi, ebx
add edi, edx
jmp 0x457ca9
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 0x457cbc
mov esi, eax
movzx ebx, byte [edx]
mov eax, ebx
add al, 0xff
cmp al, 0x7d
ja 0x457c90
cmp dword [esi], ebx
je 0x457c90
jmp 0x457cd4
movzx edx, byte [edx]
mov eax, edx
add al, 0xff
cmp al, 0x7d
ja 0x457cdd
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
add eax, 0xffffffff
cmp eax, edx
jb 0x457cdd
mov eax, dword [ebp + 0x14]
mov dword [eax], 4
xor esi, esi
cmp dword [esp + 8], 0
je 0x457d1e
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 0x457d1e
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], 0xa
call eax
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 8]
cmp eax, 0xffffffff
je 0x457d8f
test ecx, ecx
je 0x457d9f
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x457d46
mov dword [esp + 0xc], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x60], 0xb
call eax
cmp eax, 0xffffffff
mov esi, dword [esp + 0xc]
je 0x457da5
test esi, esi
je 0x457d50
mov eax, dword [ebp + 0x14]
or byte [eax], 2
test byte [esp + 0x20], 1
je 0x457d63
push dword [esp + 0x28]
call fcn.00422980
add esp, 4
test byte [esp + 0x40], 1
je 0x457d76
push dword [esp + 0x48]
call fcn.00422980
add esp, 4
lea eax, [esp + 0x5c]
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 0x457d22
test esi, esi
jne 0x457d50
jmp 0x457d4a
mov eax, dword [esp + 0x34]
mov dword [eax], 0
test esi, esi
jne 0x457d50
jmp 0x457d4a