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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x49f00c]
xor eax, esp
mov dword [esp + 0x74], eax
mov edx, dword [ebp + 0x10]
mov eax, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
sub esi, edx
mov dword [esp + 0xc], eax
sub esi, dword [eax + 0xc]
sub esi, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
add eax, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov dword [esp + 0x48], edi
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
test eax, eax
jle 0x457905
mov eax, dword [edi]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [esp + 0x2c], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x457718
cmp byte [edi + 0x58], 0
je 0x457746
movups xmm0, xmmword [ebp + 0x10]
sub esp, 0x10
lea ecx, [esp + 0x74]
mov eax, esp
mov edx, edi
movups xmmword [eax], xmm0
call fcn.00443ea0
add esp, 0x10
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
inc ecx
mov dword [esp + 0x3c], ecx
cmp ecx, dword [esp + 0x44]
jl 0x4576e2
test edx, edx
mov edx, dword [ebp + 0x10]
je 0x457905
mov eax, dword [esp + 0x20]
sub eax, dword [ebp + 0x14]
jmp 0x457907
mov eax, dword [edi]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call dword [eax + 0xbc]
mov eax, dword [esp + 0x10]
sub esp, 8
mov ecx, dword [esp + 0x48]
sub esi, dword [eax + 0x14]
mov eax, esp
sub esi, dword [esp + 0x7c]
sub esi, dword [esp + 0x74]
mov dword [esp + 0x38], esi
mov dword [eax + 4], ecx
lea ecx, [esp + 0x3c]
mov dword [eax], esi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov edi, dword [esp + 0x34]
cmp edi, 0xffffffff
jne 0x4577a3
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x14]
add esi, dword [esp + 0x30]
add esi, dword [esp + 0x74]
add esi, dword [esp + 0x6c]
jmp 0x457718
mov edx, dword [esp + 0x2c]
cmp edi, dword [edx + 0x30]
cmovl edi, dword [edx + 0x30]
mov dword [esp + 0x34], edi
mov eax, dword [edx + 0x38]
test eax, eax
js 0x4577c2
cmp edi, eax
cmovg edi, eax
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
cmp ecx, 0xffffffff
jne 0x4577e0
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x1c]
sub ecx, dword [esp + 0x78]
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov dword [esp + 0x38], ecx
cmp ecx, dword [edx + 0x34]
cmovl ecx, dword [edx + 0x34]
mov dword [esp + 0x38], ecx
cmp ecx, dword [edx + 0x3c]
cmovg ecx, dword [edx + 0x3c]
sub esi, edi
mov dword [esp + 0x38], ecx
jns 0x457839
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x1c]
add dword [esp + 0x14], eax
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
sub esi, dword [eax + 0x14]
sub esi, edi
sub esi, dword [esp + 0x74]
sub esi, dword [esp + 0x6c]
sub esi, dword [esp + 0x18]
sub esi, dword [eax + 0xc]
sub esi, dword [eax + 4]
mov eax, dword [edx + 0x54]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test eax, eax
jne 0x457856
mov eax, dword [esp + 0x30]
jmp 0x45788b
cmp eax, 2
jne 0x45786f
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x78]
mov dword [esp + 0x28], eax
sub eax, ecx
mov dword [esp + 0x24], eax
jmp 0x45789d
cmp eax, 1
jne 0x45789d
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x78]
sub eax, ecx
sub eax, dword [esp + 0x14]
add eax, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
add eax, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x6c]
sub esp, 0x10
mov eax, dword [esp + 0x28]
mov edx, dword [edx]
add eax, ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
lea eax, [edi + ecx]
mov edi, dword [esp + 0x28]
add eax, edi
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
call dword [edx + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x74]
add eax, dword [esp + 0x6c]
add edi, eax
mov dword [esp + 0x18], edi
jmp 0x45771c
xor eax, eax
mov ecx, dword [ebp + 0x18]
sub ecx, edx
mov edx, dword [esp + 0x4c]
pop edi
pop esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x74]
mov dword [edx + 4], eax
xor ecx, esp
mov eax, edx
call fcn.00462ae1
mov esp, ebp
pop ebp
ret 0x18