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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6a4108]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
imul esi, esi, 0x214
add esi, 0x6a7ab0
mov dword [ebp - 0x28], edi
cmp dword [esi + 0x14], 0xffffffff
je 0x4216b9
cmp byte [esi + 0xd], 1
jne 0x421433
call fcn.0041b110
test eax, eax
je 0x421cf6
push dword [esi + 0x14]
call fcn.004c2cb0
add esp, 4
cmp eax, 1
jne 0x4216af
push 0
push dword [esi + 0x14]
call fcn.004c2a40
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
je 0x421694
call fcn.0048abc0
test al, al
jne 0x4214f0
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
je 0x421486
push 1
push eax
call fcn.004d19e0
add esp, 8
mov dword [esi + 0x28], 0xffffffff
mov eax, dword [esi + 0x1c]
cmp eax, 0xffffffff
je 0x4214a0
push 1
push eax
call fcn.004d19e0
add esp, 8
mov dword [esi + 0x1c], 0xffffffff
mov eax, dword [esi + 0x18]
cmp eax, 0xffffffff
je 0x4214ba
push 5
push eax
call fcn.004d13a0
add esp, 8
mov dword [esi + 0x18], 0xffffffff
cmp byte [esi + 2], 0
push 0
push 0
push 0
push dword [0x703220]
jne 0x4214d0
push 8
jmp 0x4214d2
push 9
push 0
push dword [ebp - 0x20]
call fcn.004d0990
add esp, 0x1c
mov dword [esi + 0x18], eax
push eax
call fcn.004d14a0
mov dword [esi + 0x1c], eax
jmp 0x421580
mov eax, dword [esi + 0x1c]
cmp eax, 0xffffffff
je 0x421503
push 0
push eax
call fcn.004d1620
add esp, 8
movsx eax, byte [esi + 1]
lea eax, [eax + eax*2]
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + eax*4 + 0x9c]
test ecx, ecx
jns 0x42154e
cmp byte [esi + 2], 0
push 0
push 0
push 0
push dword [0x703220]
jne 0x42152e
push 8
jmp 0x421530
push 9
push 0
push dword [ebp - 0x20]
call fcn.004d0990
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x18], eax
mov dword [esi + ecx*4 + 0x9c], eax
add esp, 0x1c
mov eax, ecx
jmp 0x421551
mov dword [esi + 0x18], ecx
mov eax, dword [esi + eax*4 + 0x98]
test eax, eax
jns 0x421576
push dword [esi + 0x18]
call fcn.004d14a0
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x1c], eax
add esp, 4
mov dword [esi + ecx*4 + 0x98], eax
jmp 0x421579
mov dword [esi + 0x1c], eax
push 0
call fcn.00422140
add esp, 4
push 1
push ecx
mov dword [esp], 0x3f800000
push 0
push dword [esi + 0x1c]
call fcn.004d0b50
add esp, 0x10
cmp edi, 0x11
jne 0x4215df
push 0
push dword [esi + 0x1c]
call fcn.004d0cc0
mov dword [esp + 4], 0x41f00000
mov dword [esp], 0
push 0
push dword [esi + 0x1c]
call fcn.004d0aa0
add esp, 0xc
mov dword [esp], 0x40000000
push dword [esi + 0x1c]
call fcn.004d0b10
push dword [esi + 0x1c]
call fcn.004d0c60
add esp, 0xc
mov eax, dword [esi + 0x1c]
cmp eax, 0xffffffff
je 0x421613
imul eax, eax, 0xb0
add eax, dword [0x746ecc]
mov byte [eax + 5], 1
mov byte [eax + 0xc], 0
mov byte [eax + 9], 0
mov byte [eax + 0x1b], 3
mov byte [eax + 0x24], 0
mov eax, dword [eax]
mov dword [eax + 0x130], 0x3d4ccccd
cmp byte [esi + 0xc], 0
jne 0x421694
call fcn.0048abc0
test al, al
jne 0x421694
cmp edi, 0x11
je 0x421694
push dword [esi + 0x18]
call fcn.004d1550
add esp, 4
mov dword [esi + 0x28], eax
push 1
push ecx
mov dword [esp], 0x3f800000
push 0
push eax
call fcn.004d0b50
mov ecx, dword [esi + 0x28]
add esp, 0x10
cmp ecx, 0xffffffff
je 0x421694
imul ecx, ecx, 0xb0
add ecx, dword [0x746ecc]
mov byte [ecx + 0xc], 0
mov byte [ecx + 5], 1
mov byte [ecx + 9], 0
mov byte [ecx + 0x1b], 3
mov byte [ecx + 0x11], 4
mov al, byte [edi + edi*2 + 0x624620]
mov byte [ecx + 0x12], al
mov al, byte [edi + edi*2 + 0x624621]
mov byte [ecx + 0x13], al
mov al, byte [edi + edi*2 + 0x624622]
mov byte [ecx + 0x14], al
mov byte [ecx + 0xc], 0
call fcn.0048abc0
test al, al
jne 0x4216a8
push dword [esi + 0x14]
call fcn.004c2e40
add esp, 4
mov dword [esi + 0x14], 0xffffffff
cmp byte [esi + 0xd], 1
je 0x421cf6
cmp byte [0x6895cc], 0
je 0x421cd0
cmp byte [0x6895cd], 0
je 0x421cd0
cmp byte [esi + 4], 0
je 0x421cd0
mov al, byte [esi + 7]
mov dword [ebp - 0x24], 0xff
cmp al, 1
jne 0x4217bf
movss xmm1, dword [esi + 0x48]
mulss xmm1, dword [0x7419c8]
addss xmm1, dword [esi + 0x4c]
comiss xmm1, dword [0x6245b0]
movaps xmm0, xmm1
mulss xmm0, dword [0x62443c]
movss dword [esi + 0x4c], xmm1
mulss xmm0, dword [0x6249cc]
cvttss2si eax, xmm0
mov dword [ebp - 0x24], eax
jb 0x421734
mov byte [esi + 7], 0
mov dword [ebp - 0x24], 0xff
movss xmm0, dword [esi + 0x30]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [esi + 0x34]
lea eax, [ebp - 0x1c]
push eax
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 0x38]
lea eax, [ebp - 0x10]
push eax
movss dword [ebp - 8], xmm0
call fcn.004ba7b0
movss xmm0, dword [ebp - 0x14]
push edi
movss dword [esi + 0x80], xmm0
call fcn.00423360
movss xmm1, dword [esi + 0x3c]
movss xmm2, dword [0x624150]
mov edi, dword [esi + 0x1c]
movss xmm4, dword [0x624a08]
mulss xmm1, xmm2
or edx, 0xffffffff
add esp, 0xc
movss dword [ebp - 0x20], xmm1
cmp edi, edx
je 0x421ba2
imul edi, edi, 0xb0
add edi, dword [0x746ecc]
cmp byte [esi + 0xb], dl
jne 0x42188a
mov byte [edi + 5], 0
jmp 0x4218ca
cmp al, 2
jne 0x421822
movss xmm2, dword [esi + 0x48]
mulss xmm2, dword [0x7419c8]
movss xmm0, dword [0x6245b0]
addss xmm2, dword [esi + 0x4c]
comiss xmm2, dword [0x6245b0]
subss xmm0, xmm2
movss dword [esi + 0x4c], xmm2
mulss xmm0, dword [0x62443c]
mulss xmm0, dword [0x6249cc]
cvttss2si eax, xmm0
mov dword [ebp - 0x24], eax
jb 0x421734
pop edi
mov byte [esi + 7], 0
mov byte [esi + 4], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret
cmp al, 3
jne 0x421734
movss xmm2, dword [esi + 0x48]
mulss xmm2, dword [0x7419c8]
movss xmm0, dword [0x6245b0]
addss xmm2, dword [esi + 0x4c]
comiss xmm2, dword [0x6245b0]
subss xmm0, xmm2
movss dword [esi + 0x4c], xmm2
mulss xmm0, dword [0x62443c]
mulss xmm0, dword [0x6249cc]
cvttss2si eax, xmm0
mov dword [ebp - 0x24], eax
jb 0x421734
push edi
call fcn.004227a0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x624180]
comiss xmm0, dword [esi + 0x80]
jb 0x4218a1
mov byte [edi + 5], 0
jmp 0x4218ca
push esi
call fcn.004230f0
add esp, 4
test eax, eax
jne 0x4218b3
mov byte [edi + 5], al
jmp 0x4218ca
movss xmm0, dword [esi + 0x80]
comiss xmm0, dword [0x624194]
jb 0x421934
cmp byte [esi + 8], 1
jne 0x421934
cmp byte [edi + 5], 1
jne 0x421908
mov al, byte [edi + 0x1a]
test al, al
jne 0x4218dc
mov byte [edi + 5], al
jmp 0x421908
movss xmm0, dword [0x7419c8]
mulss xmm0, dword [0x624618]
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xor ecx, ecx
subss xmm1, xmm0
cvttss2si eax, xmm1
test eax, eax
cmovs eax, ecx
mov byte [edi + 0x1a], al
mov ecx, dword [esi + 0x28]
cmp ecx, 0xffffffff
je 0x421cf6
mov eax, dword [0x746ecc]
imul ecx, ecx, 0xb0
pop edi
mov byte [ecx + eax + 5], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret
cmp byte [edi + 5], 0
jne 0x421949
comiss xmm0, dword [0x6249ec]
seta al
sub al, 1
mov byte [edi + 0x1a], al
mov al, byte [edi + 0x1a]
mov byte [edi + 5], 1
cmp al, 0xff
je 0x421983
movss xmm1, dword [0x7419c8]
mulss xmm1, dword [0x624618]
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov ecx, 0xff
addss xmm1, xmm0
cvttss2si eax, xmm1
cmp eax, ecx
cmovg eax, ecx
mov byte [edi + 0x1a], al
cmp byte [esi + 0xc], 0
jne 0x421a19
cmp dword [ebp - 0x28], 0x11
je 0x4219a2
call fcn.0048abc0
test al, al
jne 0x4219a2
mov byte [edi + 0x15], 1
jmp 0x4219a6
mov byte [edi + 0x15], 0
cmp byte [esi + 6], 1
jne 0x4219df
movss xmm0, dword [0x6249e8]
comiss xmm0, dword [esi + 0x80]
jbe 0x4219df
movss xmm1, dword [esi + 0x3c]
movss xmm0, dword [0x624a08]
mulss xmm1, xmm0
mov word [edi + 0x21], 0
mov byte [edi + 0x23], 0
movss dword [ebp - 0x20], xmm1
jmp 0x4219f6
movss xmm1, dword [ebp - 0x20]
movss xmm0, dword [0x624a08]
mov word [edi + 0x21], 0xffff
mov byte [edi + 0x23], 0xff
mov eax, dword [ebp - 0x24]
mov byte [edi + 0x24], al
cmp byte [esi + 9], 1
jne 0x421ab8
movss xmm1, dword [esi + 0x3c]
mulss xmm1, xmm0
movss dword [ebp - 0x20], xmm1
jmp 0x421ab8
movss xmm1, dword [esi + 0x40]
addss xmm1, dword [0x7416b8]
movss xmm2, dword [0x624a14]
movss xmm0, dword [0x6245bc]
comiss xmm2, xmm1
jb 0x421a49
jmp 0x421a40
addss xmm1, xmm0
comiss xmm2, xmm1
jae 0x421a40
movss xmm2, dword [0x6245b8]
comiss xmm1, xmm2
jb 0x421a5f
subss xmm1, xmm0
comiss xmm1, xmm2
jae 0x421a56
mov byte [edi + 0x15], 0
cmp byte [esi + 8], 1
je 0x421a89
andps xmm1, xmmword [0x624460]
movss xmm0, dword [0x6245b4]
comiss xmm0, xmm1
ja 0x421a89
mov word [edi + 0x21], 0
mov byte [edi + 0x23], 0
jmp 0x421a93
mov word [edi + 0x21], 0xffff
mov byte [edi + 0x23], 0xff
mov eax, dword [ebp - 0x24]
mov byte [edi + 0x24], al
cmp byte [esi + 9], 1
jne 0x421ab3
movss xmm1, dword [esi + 0x3c]
mulss xmm1, dword [0x624a08]
movss dword [ebp - 0x20], xmm1
jmp 0x421ab8
movss xmm1, dword [ebp - 0x20]
movss xmm0, dword [esi + 0x3c]
mulss xmm0, dword [0x624150]
mulss xmm0, dword [esi + 0x78]
movss dword [edi + 0x54], xmm0
movss xmm0, dword [esi + 0x8c]
mulss xmm0, xmm1
mulss xmm0, dword [esi + 0x7c]
movss dword [edi + 0x58], xmm0
movss xmm0, dword [esi + 0x3c]
mulss xmm0, dword [0x624150]
movss dword [edi + 0x5c], xmm0
mov eax, dword [esi + 0x30]
mov dword [edi + 0x3c], eax
movss xmm0, dword [esi + 0x74]
addss xmm0, dword [esi + 0x34]
movss dword [edi + 0x40], xmm0
mov eax, dword [esi + 0x38]
mov dword [edi + 0x44], eax
cmp byte [esi + 8], 1
jne 0x421b24
mov byte [edi + 0x1b], 3
mov eax, dword [esi + 0x68]
mov dword [edi + 0x4c], eax
jmp 0x421b37
mov byte [edi + 0x1b], 0
movss xmm0, dword [esi + 0x68]
addss xmm0, dword [esi + 0x40]
movss dword [edi + 0x4c], xmm0
mov eax, dword [esi + 0x70]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x50], eax
cmp dword [0x6aa018], 1
sete al
mov byte [edi + 0xc], al
cmp dword [esi + 0x24], 0xffffffff
jne 0x421b71
or eax, 0xffffffff
mov word [edi + 0x38], ax
mov byte [edi + 0x10], 1
mov eax, dword [0x6e6310]
shr eax, 7
test al, 1
je 0x421b7d
push 1
jmp 0x421b7f
mov byte [edi + 0x10], 0
mov ax, word [esi + 0x24]
mov word [edi + 0x38], ax
push 0
push dword [esi + 0x1c]
call fcn.004d17f0
movss xmm1, dword [ebp - 0x20]
movss xmm2, dword [0x624150]
movss xmm4, dword [0x624a08]
add esp, 8
or edx, 0xffffffff
mov ecx, dword [esi + 0x28]
cmp ecx, 0xffffffff
je 0x421cf6
movss xmm0, dword [0x624190]
imul ecx, ecx, 0xb0
add ecx, dword [0x746ecc]
mov byte [ecx + 5], 1
movss xmm3, dword [esi + 0x80]
comiss xmm0, xmm3
jb 0x421be7
pop edi
mov byte [ecx + 5], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret
cmp byte [esi + 5], 0
je 0x421bd3
cmp byte [esi + 6], 1
jne 0x421c29
movss xmm0, dword [0x6249e8]
comiss xmm0, xmm3
jbe 0x421c29
cmp byte [esi + 9], 1
movss xmm1, dword [esi + 0x3c]
movaps xmm0, xmm1
mulss xmm0, xmm4
jne 0x421c19
movaps xmm0, xmm1
mulss xmm0, xmm2
mulss xmm1, xmm2
movss dword [ecx + 0x58], xmm0
movss dword [ecx + 0x54], xmm1
jmp 0x421c4b
cmp byte [esi + 9], 1
jne 0x421c38
movss xmm1, dword [esi + 0x3c]
mulss xmm1, xmm4
movss xmm0, dword [esi + 0x3c]
mulss xmm0, xmm2
movss dword [ecx + 0x58], xmm1
movss dword [ecx + 0x54], xmm0
movss xmm0, dword [esi + 0x3c]
mulss xmm0, xmm2
movss dword [ecx + 0x5c], xmm0
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0x34]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x44], eax
cmp byte [esi + 8], 1
jne 0x421c7e
mov byte [ecx + 0x1b], 3
mov dword [ecx + 0x4c], 0
jmp 0x421c88
mov byte [ecx + 0x1b], 0
mov eax, dword [esi + 0x40]
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x48], 0
cmp dword [esi + 0x24], 0xffffffff
jne 0x421cb4
pop edi
mov byte [ecx + 0x10], 1
mov word [ecx + 0x38], dx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret
mov byte [ecx + 0x10], 0
mov ax, word [esi + 0x24]
pop edi
mov word [ecx + 0x38], ax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c]
cmp eax, 0xffffffff
je 0x421ce3
push 0
push eax
call fcn.004d1620
add esp, 8
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
je 0x421cf6
push 0
push eax
call fcn.004d1620
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005c7124
mov esp, ebp
pop ebp
ret