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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x154]
mov ebx, dword [esi + 0x158]
movss xmm0, dword [eax + 0x228]
comiss xmm0, dword [esi + 0xc8]
jbe 0x4705f6
movss xmm0, dword [esi + 0xd0]
comiss xmm0, dword [eax + 0x220]
jbe 0x4705f6
movss xmm0, dword [eax + 0x224]
comiss xmm0, dword [esi + 0xc4]
jbe 0x4705f6
movss xmm0, dword [esi + 0xcc]
comiss xmm0, dword [eax + 0x21c]
jbe 0x4705f6
mov ebx, dword [ebx + 0x270]
mov ecx, dword [esi + 0x168]
push 0
push ebx
mov dword [ebp - 8], ebx
call fcn.00463140
movss xmm2, dword [esi + 0x114]
movss xmm0, dword [esi + 0x11c]
comiss xmm2, xmm0
movss xmm1, dword [esi + 0x118]
movss xmm3, dword [esi + 0x120]
movss dword [ebp - 0x34], xmm2
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x28], xmm3
jb 0x470100
movss dword [ebp - 0x2c], xmm2
comiss xmm1, xmm3
jb 0x47010a
movss dword [ebp - 0x28], xmm1
mov edx, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x40]
cmp edx, ecx
jne 0x47013d
inc edx
mov dword [ebp - 0x10], edx
test ecx, ecx
je 0x47012a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x10]
sar eax, 1
add eax, ecx
jmp 0x47012f
mov eax, 8
cmp eax, edx
lea ecx, [ebx + 0x3c]
cmovg edx, eax
push edx
call fcn.00429b00
mov eax, dword [ebx + 0x3c]
mov ecx, ebx
movups xmm0, xmmword [ebp - 0x34]
shl eax, 4
add eax, dword [ebx + 0x44]
movups xmmword [eax], xmm0
inc dword [ebx + 0x3c]
movups xmmword [ebx + 0x60], xmm0
call fcn.0045f430
movsx eax, word [esi + 0x4c]
test eax, eax
jne 0x47016b
lea ecx, [esi + 0x174]
jmp 0x47017a
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18c]
lea ecx, [ecx - 2]
lea ecx, [eax + ecx*8]
mov edx, dword [esi + 4]
movss xmm4, dword [0x4b6ac4]
test edx, 0x100
je 0x470192
movaps xmm2, xmm4
jmp 0x470195
xorps xmm2, xmm2
movzx eax, word [esi + 0x1dc]
cmp ax, 1
jl 0x4701ac
movss xmm1, dword [esi + 0xd8]
jmp 0x4701b4
movss xmm1, dword [esi + 0xe8]
cmp byte [esi + 0x1ee], 0
addss xmm1, dword [esi + 0xbc]
movss xmm0, dword [esi + 0xd8]
movss xmm5, dword [esi + 0xe0]
movaps xmm3, xmm0
movss dword [ebp - 0x14], xmm5
maxss xmm3, xmm1
addss xmm3, xmm2
movss dword [ebp - 0xc], xmm3
je 0x47020a
cmp ax, 1
jge 0x4701f8
movss xmm0, dword [esi + 0xe8]
addss xmm0, dword [ecx]
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [ebp - 0x10], xmm2
jmp 0x470212
movaps xmm2, xmm3
movss dword [ebp - 0x10], xmm3
test edx, 0x200
je 0x47039a
xor edi, edi
cmp dword [esi + 0x40], edi
jle 0x47039a
nop dword [eax]
mov eax, dword [esi + 0x28]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, edi
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x47038b
mov eax, dword [esi + 0x18]
movsx edx, word [eax + edi*2]
imul eax, edx, 0x70
add eax, dword [esi + 0x10]
mov dword [ebp - 4], eax
movsx eax, word [esi + 0x1c6]
cmp eax, edx
jne 0x470276
mov ax, word [esi + 0x4e]
cmp ax, word [esi + 0x4c]
jne 0x470276
mov cl, 1
jmp 0x470278
xor cl, cl
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov eax, dword [eax]
movss xmm1, dword [ebx + 0xc]
and eax, 0x40000020
comiss xmm1, dword [esi + 0xfc]
mov ebx, dword [ebp - 8]
jbe 0x47029e
test cl, cl
je 0x47038b
mov ebx, dword [ebp - 4]
cmp word [ebx + 0x58], 0xffff
mov ebx, dword [ebp - 8]
jne 0x4702cf
test eax, eax
je 0x4702cf
mov eax, dword [esi + 4]
and eax, 0xe000
cmp eax, 0x4000
jne 0x47038b
test dword [esi + 4], 0x10000
jne 0x47038b
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0x20]
comiss xmm0, xmm1
jae 0x47038b
movsx eax, word [esi + 0x1c0]
cmp eax, edx
je 0x47030b
test cl, cl
jne 0x47030b
movsx ecx, word [esi + 0x1e0]
lea eax, [edi + 1]
cmp ecx, eax
je 0x47030b
test dword [esi + 4], 0x1800
je 0x47030b
movaps xmm7, xmm2
jmp 0x47030e
movaps xmm7, xmm5
comiss xmm7, xmm3
jbe 0x47038b
movsx eax, word [esi + 0x1c6]
cmp eax, edx
jne 0x47041e
mov ax, word [esi + 0x4e]
cmp ax, word [esi + 0x4c]
jne 0x47041e
mov ecx, 1
add ecx, 0x1c
movaps xmm1, xmm4
call fcn.00405c00
movss xmm3, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push ecx
mov dword [esp], 0x3f800000
push eax
movss xmm0, dword [ecx + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
movss dword [ebp - 0x1c], xmm0
push eax
mov ecx, ebx
movss dword [ebp - 0x18], xmm7
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x20], xmm3
call fcn.00461eb0
movss xmm3, dword [ebp - 0xc]
movss xmm4, dword [0x4b6ac4]
movss xmm5, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x10]
inc edi
cmp edi, dword [esi + 0x40]
jl 0x470230
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 0x500
je 0x47055e
mov edi, dword [esi + 0x78]
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [ebp - 0x34], xmm0
cmp ecx, 0x500
jne 0x4704bb
movss xmm2, dword [ebp - 0x2c]
movss xmm3, dword [ebp - 0x28]
addss xmm2, xmm4
addss xmm3, xmm4
test edi, 0xff000000
je 0x47055e
test byte [ebx + 0x24], 1
lea eax, [ebp - 0x24]
movss xmm0, dword [ebp - 0x34]
mov ecx, ebx
push 0
push eax
lea eax, [ebp - 0x1c]
push eax
je 0x470456
movss xmm1, dword [0x4b6a7c]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm3, xmm1
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, xmm1
jmp 0x470480
movsx eax, word [esi + 0x1c0]
xor ecx, ecx
cmp eax, edx
je 0x470335
movsx ecx, word [esi + 0x1e0]
lea eax, [edi + 1]
cmp ecx, eax
je 0x47044e
test dword [esi + 4], 0x1800
jne 0x47044e
mov eax, dword [esi + 0x7c]
jmp 0x470345
mov eax, dword [esi + 0x78]
jmp 0x470345
addss xmm0, dword [0x4b6a7c]
subss xmm2, dword [0x4b6a78]
subss xmm3, dword [0x4b6a78]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [0x4b6a7c]
movss dword [ebp - 0x20], xmm3
xorps xmm3, xmm3
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0x18], xmm0
call fcn.00461a00
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push 1
push edi
push dword [ebx + 0x54]
push dword [ebx + 0x5c]
call fcn.0045f840
mov dword [ebx + 0x54], 0
jmp 0x47055e
test eax, 0x400
je 0x4704ff
movss xmm0, dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push edi
push eax
movss dword [ebp - 0x24], xmm0
lea eax, [ebp - 0x34]
movss xmm0, dword [ebp - 0x28]
push eax
movss dword [ebp - 0x20], xmm0
call fcn.00461eb0
movss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x30]
jmp 0x470541
test eax, 0x100
je 0x47055e
movss xmm0, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push edi
push eax
movss dword [ebp - 0x24], xmm0
lea eax, [ebp - 0x34]
movss xmm0, dword [ebp - 0x30]
push eax
movss dword [ebp - 0x20], xmm0
call fcn.00461eb0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x28]
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x2c]
push edi
push eax
lea eax, [ebp - 0x24]
movss dword [ebp - 0x20], xmm0
push eax
mov ecx, ebx
call fcn.00461eb0
test byte [esi + 4], 0x80
je 0x4705ca
movss xmm1, dword [esi + 0x54]
movss xmm0, dword [esi + 0xd0]
comiss xmm0, xmm1
jbe 0x4705ca
comiss xmm1, dword [esi + 0x108]
jb 0x4705ca
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm1
jbe 0x4705ca
movss xmm0, dword [esi + 0x84]
lea eax, [ebp - 0x24]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push dword [esi + 0x7c]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [esi + 0x80]
push eax
lea eax, [ebp - 0x1c]
movss dword [ebp - 0x20], xmm1
push eax
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
call fcn.00461eb0
mov ecx, dword [ebx + 0x3c]
sub ecx, 1
mov dword [ebx + 0x3c], ecx
jne 0x4705dd
mov eax, dword [ebx + 0x2c]
add eax, 0x18
jmp 0x4705e8
mov eax, dword [ebx + 0x44]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
movups xmm0, xmmword [eax]
mov ecx, ebx
movups xmmword [ebx + 0x60], xmm0
call fcn.0045f430
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret