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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x4ed214]
xor eax, esp
mov dword [esp + 0xc4], eax
cmp dword [ebp + 8], 0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
je 0x45bacd
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
test eax, 0xffffffe0
je 0x45bacd
mov eax, dword [ebp + 0xc]
mov cl, byte [edi + 0x54]
test eax, eax
jne 0x45b19d
xor edx, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], edx
test cl, cl
je 0x45b191
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [esp + 0x20], eax
jmp 0x45b1c1
mov eax, dword [edi + 0x1c]
mov esi, dword [edi + 0x20]
mov dword [esp + 0x20], eax
jmp 0x45b1c1
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x70], xmm0
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], esi
test cl, cl
je 0x45b207
mov ecx, dword [edi + 0x1c]
mov eax, ecx
imul eax, edx
imul ecx, dword [esp + 0x20]
cdq
idiv dword [edi + 0x58]
mov dword [esp + 0x30], eax
mov eax, ecx
cdq
idiv dword [edi + 0x58]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x20], eax
mov eax, ecx
imul eax, dword [esp + 0x48]
imul ecx, esi
cdq
idiv dword [edi + 0x5c]
mov dword [esp + 0x48], eax
mov eax, ecx
cdq
idiv dword [edi + 0x5c]
mov dword [esp + 0x2c], eax
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x4c]
push 0
push eax
push 2
mov dword [esp + 0x58], 0
mov edi, dword [ecx + 0x1c]
push 0x2c4
push 0
push 0xa0
mov ecx, dword [edi]
push edi
call dword [ecx + 0x68]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x10]
mov dword [ecx + 0x74], eax
test eax, eax
js 0x45bacd
mov eax, dword [edx + 4]
push 0
push 7
push edi
mov esi, dword [eax + 4]
mov eax, dword [edi]
call dword [eax + 0xe4]
mov eax, dword [edi]
push 3
push 8
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 1
push 9
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 1
push 0x16
push edi
call dword [eax + 0xe4]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi]
mov eax, dword [eax + 0x34]
shl eax, 0x18
or eax, 0xffffff
push eax
push 0x3c
push edi
call dword [ecx + 0xe4]
mov eax, dword [edi]
push 1
push 0x8d
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 1
push 0x91
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 3
push 1
push 0
push edi
call dword [eax + 0x114]
mov eax, dword [edi]
push 3
push 2
push 0
push edi
call dword [eax + 0x114]
mov eax, dword [edi]
test esi, esi
je 0x45b388
push 2
push 1
push 0
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
push 0
push 2
push 0
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
push 4
push 4
push 0
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
push 0
push 5
push 0
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
push 2
push 6
push 0
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
mov ecx, dword [eax + 0x10c]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x34], 0
jle 0x45b358
push 0xe
push 1
push 1
push edi
call ecx
mov eax, dword [edi]
push 1
push 2
push 1
push edi
call dword [eax + 0x10c]
push 2
push 3
jmp 0x45b365
push 2
push 1
push 1
push edi
call ecx
push 2
push 2
mov eax, dword [edi]
push 1
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
push 2
push 4
push 1
push edi
call dword [eax + 0x10c]
push 1
push 5
jmp 0x45b40e
mov ecx, dword [eax + 0x10c]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x34], 0
jle 0x45b3b6
push 0xe
push 1
push 0
push edi
call ecx
mov eax, dword [edi]
push 0
push 2
push 0
push edi
call dword [eax + 0x10c]
push 2
push 3
jmp 0x45b3c3
push 2
push 1
push 0
push edi
call ecx
push 2
push 2
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
push 4
push 4
push 0
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
push 2
push 5
push 0
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
push 0
push 6
push 0
push edi
call dword [eax + 0x10c]
mov eax, dword [edi]
push 1
push 1
push 1
push edi
call dword [eax + 0x10c]
push 1
push 4
mov eax, dword [edi]
push 1
push edi
call dword [eax + 0x10c]
mov eax, dword [ebp + 0x14]
cmp eax, 3
ja case.default.0x45b425
jmp dword [eax*4 + 0x45bae8]
mov eax, dword [edi]
push 1
push 0x1b
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 5
push 0x13
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 6
push 0x14
push edi
call dword [eax + 0xe4]
push 1
jmp 0x45b4d6
mov eax, dword [edi]
push 1
push 0x1b
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 5
push 0x13
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 2
push 0x14
push edi
call dword [eax + 0xe4]
push 1
jmp 0x45b4d6
mov eax, dword [edi]
push 1
push 0x1b
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 5
push 0x13
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 2
push 0x14
push edi
call dword [eax + 0xe4]
push 2
jmp 0x45b4d6
mov eax, dword [edi]
push 1
push 0x1b
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 5
push 0x13
push edi
call dword [eax + 0xe4]
mov eax, dword [edi]
push 2
push 0x14
push edi
call dword [eax + 0xe4]
push 3
mov eax, dword [edi]
push 0xab
push edi
call dword [eax + 0xe4]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x17], 1
mov eax, dword [edx + 0x30]
movzx ecx, byte [edx + 0x38]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0x3c]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x40]
shl ecx, 8
or ecx, eax
mov dword [edx + 0x44], ecx
mov esi, dword [edx + 4]
cmp esi, dword [edx + 8]
je 0x45baa5
lea ecx, [esi + 8]
mov eax, edx
mov dword [esp + 0x1c], ecx
movups xmm0, xmmword [ecx]
movaps xmmword [esp + 0x70], xmm0
psrldq xmm0, 8
movd edx, xmm0
cmp edx, dword [esp + 0x30]
jl 0x45ba92
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
jg 0x45ba92
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x1c]
jg 0x45ba92
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x48]
cmp ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x1c]
jl 0x45ba92
movss xmm0, dword [ecx + 0x10]
xorps xmm1, xmm1
movss xmm2, dword [ecx + 0x14]
mov eax, dword [esp + 0x30]
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x88], xmm2
cmp dword [esp + 0x50], eax
jge 0x45b5f3
sub eax, dword [ecx]
movd xmm1, eax
mov eax, edx
sub eax, dword [esp + 0x50]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
divss xmm1, xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x80], xmm1
mov eax, dword [esp + 0x20]
cmp edx, eax
jle 0x45b625
mov ecx, dword [ecx]
sub eax, ecx
sub edx, ecx
mov ecx, dword [esp + 0x1c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov edx, dword [esp + 0x20]
divss xmm1, xmm0
movss dword [esp + 0x6c], xmm1
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x74], eax
jge 0x45b659
sub eax, dword [ecx + 4]
movd xmm1, eax
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x74]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm2
divss xmm1, xmm0
movss dword [esp + 0x84], xmm1
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x68], eax
jle 0x45b68d
mov ecx, dword [ecx + 4]
sub eax, ecx
movd xmm1, eax
mov eax, dword [esp + 0x68]
sub eax, ecx
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm2
divss xmm1, xmm0
movss dword [esp + 0x88], xmm1
mov ecx, dword [esp + 0x30]
sub edx, ecx
mov eax, dword [esp + 0x20]
sub eax, ecx
movd xmm1, edx
lea edx, [esp + 0xb4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [esp + 0x50]
cvtdq2ps xmm0, xmm0
sub eax, ecx
lea ecx, [esp + 0xac]
movd xmm2, eax
mov eax, dword [ebp + 8]
divss xmm1, xmm0
cvtdq2ps xmm2, xmm2
movaps xmm3, xmm1
divss xmm2, xmm0
movd xmm0, dword [eax]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xac], xmm0
movd xmm0, dword [eax + 4]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xb0], xmm0
movd xmm0, dword [eax + 8]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xb4], xmm0
movd xmm0, dword [eax + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xb8], xmm0
movd xmm0, dword [eax + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm0
movd xmm0, dword [eax + 0x14]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc0], xmm0
movd xmm0, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc4], xmm0
movd xmm0, dword [eax + 0x1c]
lea eax, [esp + 0x94]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x90]
push eax
movss dword [esp + 0xd0], xmm0
call fcn.004570c0
lea eax, [esp + 0xac]
movaps xmm3, xmm1
push eax
lea eax, [esp + 0xa8]
push eax
lea edx, [esp + 0xd4]
lea ecx, [esp + 0xcc]
call fcn.004570c0
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x20]
add esp, 0x10
mov ecx, dword [eax]
push 0
push edx
push 0xa0
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x45ba85
mov eax, dword [esp + 0x10]
movss xmm4, dword [0x4dba00]
movss xmm0, dword [esp + 0x8c]
subss xmm0, xmm4
mov edx, dword [esp + 0x18]
movss xmm2, dword [esp + 0x80]
movss xmm1, dword [esp + 0x84]
movss xmm3, dword [esp + 0x6c]
movss dword [eax], xmm0
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0x90]
subss xmm0, xmm4
movss dword [eax + 4], xmm0
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0x94]
subss xmm0, xmm4
mov dword [eax + 8], 0x3f800000
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], 0x3f800000
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 0x44]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0x30]
mov eax, dword [esp + 0x10]
shl ecx, 0x18
or ecx, 0xffffff
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x10]
movss dword [eax + 0x18], xmm2
mov eax, dword [esp + 0x10]
movss dword [eax + 0x1c], xmm1
mov eax, dword [esp + 0x10]
movss dword [eax + 0x20], xmm2
mov eax, dword [esp + 0x10]
movss dword [eax + 0x24], xmm1
mov eax, dword [esp + 0x10]
movss dword [eax + 0x28], xmm0
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0x98]
subss xmm0, xmm4
movss dword [eax + 0x2c], xmm0
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0x9c]
subss xmm0, xmm4
mov dword [eax + 0x30], 0x3f800000
mov eax, dword [esp + 0x10]
mov dword [eax + 0x34], 0x3f800000
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 0x44]
mov dword [eax + 0x38], ecx
mov ecx, dword [edx + 0x30]
mov eax, dword [esp + 0x10]
shl ecx, 0x18
or ecx, 0xffffff
mov dword [eax + 0x3c], ecx
mov eax, dword [esp + 0x10]
movss dword [eax + 0x40], xmm3
mov eax, dword [esp + 0x10]
movss dword [eax + 0x44], xmm1
mov eax, dword [esp + 0x10]
movss dword [eax + 0x48], xmm3
mov eax, dword [esp + 0x10]
movss dword [eax + 0x4c], xmm1
mov eax, dword [esp + 0x10]
movss dword [eax + 0x50], xmm0
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0xa0]
subss xmm0, xmm4
movss dword [eax + 0x54], xmm0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x58], 0x3f800000
mov eax, dword [esp + 0x10]
mov dword [eax + 0x5c], 0x3f800000
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 0x44]
mov dword [eax + 0x60], ecx
mov ecx, dword [edx + 0x30]
mov eax, dword [esp + 0x10]
shl ecx, 0x18
or ecx, 0xffffff
mov dword [eax + 0x64], ecx
mov eax, dword [esp + 0x10]
movss xmm1, dword [esp + 0x88]
movss xmm0, dword [esp + 0xa4]
subss xmm0, xmm4
movss dword [eax + 0x68], xmm2
mov eax, dword [esp + 0x10]
movss dword [eax + 0x6c], xmm1
mov eax, dword [esp + 0x10]
movss dword [eax + 0x70], xmm2
mov eax, dword [esp + 0x10]
movss dword [eax + 0x74], xmm1
mov eax, dword [esp + 0x10]
movss dword [eax + 0x78], xmm0
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0xa8]
subss xmm0, xmm4
movss dword [eax + 0x7c], xmm0
mov eax, dword [esp + 0x10]
mov dword [eax + 0x80], 0x3f800000
mov eax, dword [esp + 0x10]
mov dword [eax + 0x84], 0x3f800000
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 0x44]
mov dword [eax + 0x88], ecx
mov ecx, dword [edx + 0x30]
mov eax, dword [esp + 0x10]
shl ecx, 0x18
or ecx, 0xffffff
mov dword [eax + 0x8c], ecx
mov eax, dword [esp + 0x10]
movss dword [eax + 0x90], xmm3
mov eax, dword [esp + 0x10]
movss dword [eax + 0x94], xmm1
mov eax, dword [esp + 0x10]
movss dword [eax + 0x98], xmm3
mov eax, dword [esp + 0x10]
movss dword [eax + 0x9c], xmm1
mov eax, dword [esp + 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [edi]
push 0x2c4
push edi
call dword [eax + 0x164]
mov eax, dword [edi]
push 0x28
push 0
push dword [esp + 0x54]
push 0
push edi
call dword [eax + 0x190]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
mov dword [ecx + 0x74], eax
test eax, eax
js 0x45ba85
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 4]
mov eax, dword [edi]
test ecx, ecx
je 0x45ba5d
push ecx
push 0
push edi
call dword [eax + 0x104]
push dword [esi]
mov eax, dword [edi]
push 1
jmp 0x45ba61
push dword [esi]
push 0
push edi
call dword [eax + 0x104]
mov eax, dword [edi]
push 2
push 0
push 5
push edi
call dword [eax + 0x144]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
mov dword [ecx + 0x74], eax
test eax, eax
jns 0x45ba8a
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esi, 0x20
add ecx, 0x20
mov dword [esp + 0x1c], ecx
cmp esi, dword [eax + 8]
jne 0x45b523
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45bab3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [esp + 0x17]
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.00476c36
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0xcc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.00476c36
mov esp, ebp
pop ebp
ret 0x10