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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
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
cmp dword [esi + 0x14], 0xffffffff
je 0x420bc2
call fcn.0041b110
test eax, eax
je 0x4213db
push dword [esi + 0x14]
call fcn.004c2cb0
add esp, 4
cmp eax, 1
jne 0x4213db
lea eax, [ebp - 8]
push eax
push dword [esi + 0x14]
mov dword [ebp - 8], 0
call fcn.004c2a40
add esp, 8
test eax, eax
je 0x420ba0
push 0
push 1
push 0
push 0
push dword [ebp - 8]
push eax
call fcn.004d8fa0
add esp, 0x18
mov dword [esi + 0x20], eax
cmp edi, 0x11
je 0x420ba0
push eax
call fcn.0057b670
add esp, 4
mov dword [esi + 0x2c], eax
push dword [esi + 0x14]
call fcn.004c2e40
add esp, 4
mov dword [esi + 0x14], 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret
cmp byte [0x6895cc], 0
je 0x4213db
cmp byte [0x6895cd], 0
je 0x4213db
cmp byte [esi + 4], 0
je 0x4213db
mov al, byte [esi + 7]
push ebx
mov ebx, 0xff
cmp al, 1
jne 0x420d96
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 ebx, xmm0
jb 0x420c37
mov byte [esi + 7], 0
mov ebx, 0xff
movss xmm0, dword [esi + 0x30]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [esi + 0x34]
lea eax, [ebp - 0x14]
push eax
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [esi + 0x38]
lea eax, [ebp - 0x20]
push eax
movss dword [ebp - 0x18], xmm0
call fcn.004ba7b0
movss xmm0, dword [ebp - 0xc]
push edi
movss dword [esi + 0x80], xmm0
call fcn.00423360
movss xmm1, dword [esi + 0x3c]
movss xmm0, dword [0x6249d4]
movaps xmm2, xmm1
mulss xmm2, dword [0x6249f0]
movaps xmm3, xmm1
mulss xmm3, dword [0x612884]
mulss xmm1, xmm0
mulss xmm2, xmm0
mulss xmm1, dword [0x624180]
mulss xmm2, dword [esi + 0x7c]
mulss xmm1, dword [esi + 0x5c]
mulss xmm3, xmm0
addss xmm2, xmm1
add esp, 0xc
mulss xmm3, dword [esi + 0x78]
xor al, al
cmp byte [esi + 6], 1
mulss xmm2, dword [esi + 0x8c]
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x2c], xmm2
jne 0x420e83
movss xmm0, dword [0x6249e8]
comiss xmm0, dword [ebp - 0xc]
jbe 0x420e83
push 0xff
xor ecx, ecx
cmp byte [esi + 9], 1
push 1
push ecx
mov al, 0x20
movzx eax, al
push ebx
push ecx
cmove eax, ecx
cmp byte [esi + 8], 1
push ecx
movzx eax, al
push ecx
push eax
jne 0x420dfb
sub esp, 0x30
movaps xmm0, xmm3
mulss xmm0, dword [0x612874]
mov dword [esp + 0x2c], ecx
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x1c], xmm3
mov dword [esp + 0x18], 0x44000000
mov dword [esp + 0x14], 0x43800000
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [esi + 0x38]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x74]
addss xmm0, dword [esi + 0x34]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x30]
movss dword [esp], xmm0
push dword [esi + 0x20]
call fcn.004db800
add esp, 0x54
jmp 0x421155
cmp al, 2
jne 0x420c37
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 ebx, xmm0
jb 0x420c37
pop ebx
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
movss xmm0, dword [esi + 0x40]
sub esp, 0x38
movaps xmm1, xmm3
mulss xmm1, dword [0x612874]
mov dword [esp + 0x34], ecx
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 0x38]
mov dword [esp + 0x2c], ecx
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x1c], xmm3
mov dword [esp + 0x18], 0x44000000
mov dword [esp + 0x14], 0x43800000
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x74]
addss xmm0, dword [esi + 0x34]
movss dword [ebp - 0x24], xmm1
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x30]
movss dword [esp], xmm0
push dword [esi + 0x20]
call fcn.004dbce0
jmp 0x421152
cmp byte [esi + 9], 1
movss xmm0, dword [esi + 0x6c]
push 0xff
push 1
push 0
push ebx
movzx eax, al
push 0xff
mov ecx, 0x20
cmove eax, ecx
push 0xff
movzx eax, al
push 0xff
movaps xmm1, xmm3
mulss xmm1, dword [0x612874]
push eax
sub esp, 0x38
cmp byte [esi + 8], 1
movss dword [ebp - 0x24], xmm1
movss dword [esp + 0x34], xmm0
jne 0x420fa9
movss xmm0, dword [esi + 0x68]
subss xmm0, dword [0x7416b8]
mov dword [ebp - 0x30], eax
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 0x70]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esi + 0x38]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x1c], xmm3
mov dword [esp + 0x18], 0x44000000
mov dword [esp + 0x14], 0x43800000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x74]
addss xmm0, dword [esi + 0x34]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x30]
movss dword [esp], xmm0
push dword [esi + 0x20]
call fcn.004dbce0
add esp, 0x5c
mov dword [ebp - 8], eax
cmp edi, 0x11
je 0x421155
movss xmm0, dword [esi + 0x6c]
movss xmm2, dword [0x7416b8]
push 0xff
push 1
push 0
push ebx
push 0
push 0
push 0
push dword [ebp - 0x30]
sub esp, 0x38
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0x68]
subss xmm0, xmm2
movss dword [esp + 0x30], xmm0
jmp 0x42106f
movss xmm0, dword [esi + 0x40]
addss xmm0, dword [esi + 0x68]
mov dword [ebp - 0x30], eax
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 0x70]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esi + 0x38]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x1c], xmm3
mov dword [esp + 0x18], 0x44000000
mov dword [esp + 0x14], 0x43800000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x74]
addss xmm0, dword [esi + 0x34]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x30]
movss dword [esp], xmm0
push dword [esi + 0x20]
call fcn.004dbce0
add esp, 0x5c
mov dword [ebp - 8], eax
cmp edi, 0x11
je 0x421155
movss xmm1, dword [esi + 0x40]
movss xmm0, dword [esi + 0x6c]
push 0xff
push 1
push 0
push ebx
push 0
push 0
push 0
push dword [ebp - 0x30]
movaps xmm2, xmm1
addss xmm1, dword [esi + 0x68]
sub esp, 0x38
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x30], xmm1
addss xmm2, dword [0x6243f8]
movss xmm0, dword [esi + 0x70]
movss xmm1, dword [ebp - 0x24]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [ebp - 0x2c]
mulss xmm2, dword [0x624184]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
mulss xmm2, dword [0x624148]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x6245ac]
mov dword [esp + 0x18], 0x44000000
mov dword [esp + 0x14], 0x43800000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x624188]
cvttsd2si eax, xmm0
movss xmm0, dword [esi + 0x38]
and eax, 0xfff
subss xmm0, dword [eax*4 + 0x756c80]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x74]
addss xmm0, dword [esi + 0x34]
movss dword [esp + 4], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
mulsd xmm0, qword [0x624188]
cvttsd2si eax, xmm0
and eax, 0xfff
movss xmm0, dword [eax*4 + 0x756c80]
addss xmm0, dword [esi + 0x30]
movss dword [esp], xmm0
push dword [esi + 0x20]
call fcn.004dbce0
mov eax, dword [ebp - 8]
add esp, 0x5c
cmp dword [0x6aa018], 1
jne 0x421167
push eax
call fcn.004da930
add esp, 4
mov ecx, dword [esi + 0x2c]
cmp ecx, 0xffffffff
je 0x42130e
cmp byte [esi + 6], 1
jne 0x421244
movss xmm0, dword [0x6249e8]
comiss xmm0, dword [ebp - 0xc]
jbe 0x421244
movzx eax, byte [edi + edi*2 + 0x624622]
push 0xff
push 1
push 0
push 0xff
push eax
movzx eax, byte [edi + edi*2 + 0x624621]
push eax
movzx eax, byte [edi + edi*2 + 0x624620]
push eax
push 0x20
cmp byte [esi + 8], 1
movss xmm1, dword [ebp - 0x24]
jne 0x421274
movss xmm0, dword [ebp - 0x2c]
sub esp, 0x30
mov dword [esp + 0x2c], 0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + 0x38]
mov dword [esp + 0x18], 0x44000000
mov dword [esp + 0x14], 0x43800000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x34]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x30]
movss dword [esp], xmm0
push ecx
call fcn.004db800
add esp, 0x54
jmp 0x4212fd
movzx eax, byte [edi + edi*2 + 0x624622]
push 0xff
push 1
push 0
push 0xff
push eax
movzx eax, byte [edi + edi*2 + 0x624621]
push eax
movzx eax, byte [edi + edi*2 + 0x624620]
push eax
push 0
jmp 0x4211ba
movss xmm0, dword [esi + 0x40]
sub esp, 0x38
mov dword [esp + 0x34], 0
movss dword [esp + 0x30], xmm0
movss xmm0, dword [ebp - 0x2c]
mov dword [esp + 0x2c], 0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + 0x38]
mov dword [esp + 0x18], 0x44000000
mov dword [esp + 0x14], 0x43800000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x34]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x30]
movss dword [esp], xmm0
push ecx
call fcn.004dbce0
add esp, 0x5c
mov edi, eax
push edi
call fcn.004da970
push edi
call fcn.004da950
add esp, 8
mov al, byte [esi + 0x50]
test al, al
jne 0x42136d
movss xmm1, dword [esi + 0x54]
mulss xmm1, dword [0x7419c8]
addss xmm1, dword [esi + 0x58]
movaps xmm0, xmm1
mulss xmm0, dword [0x624184]
movss dword [esi + 0x58], xmm1
mulss xmm0, dword [0x624148]
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x624188]
cvttsd2si eax, xmm0
and eax, 0xfff
comiss xmm1, dword [0x6245b8]
mov eax, dword [eax*4 + 0x756c80]
mov dword [esi + 0x5c], eax
jb 0x4213da
mov byte [esi + 0x50], 1
jmp 0x4213d3
cmp al, 1
jne 0x4213da
movss xmm1, dword [esi + 0x54]
mulss xmm1, dword [0x7419c8]
addss xmm1, dword [esi + 0x58]
movaps xmm0, xmm1
mulss xmm0, dword [0x624184]
movss dword [esi + 0x58], xmm1
mulss xmm0, dword [0x624148]
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x624188]
cvttsd2si eax, xmm0
and eax, 0xfff
comiss xmm1, dword [0x6245b8]
movss xmm0, dword [eax*4 + 0x756c80]
mulss xmm0, dword [0x624a0c]
movss dword [esi + 0x5c], xmm0
jb 0x4213da
mov byte [esi + 0x50], 0
mov dword [esi + 0x58], 0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005c7124
mov esp, ebp
pop ebp
ret