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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100234c8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1002d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1002d950]
mov esi, dword [0x10024198]
mov dword [ebp - 0x24], edi
test edi, edi
jne 0x4209cc
push 0xccd
push 0x100243b4
push 0x100244f0
call esi
mov edi, dword [0x1002d950]
add esp, 0xc
mov dword [ebp - 0x24], edi
cmp byte [edi], 0
jne 0x4209e5
push 0xcd2
push 0x100243b4
push 0x100248ac
call esi
add esp, 0xc
movss xmm0, dword [edi + 0x14]
xorps xmm1, xmm1
comiss xmm0, xmm1
jae 0x420a09
push 0xcd3
push 0x100243b4
push 0x100248c8
call esi
add esp, 0xc
xorps xmm1, xmm1
movss xmm0, dword [edi + 0xc]
comiss xmm0, xmm1
jb 0x420a1d
movss xmm0, dword [edi + 0x10]
comiss xmm0, xmm1
jae 0x420a31
push 0xcd4
push 0x100243b4
push 0x100249a0
call esi
add esp, 0xc
mov eax, dword [edi + 0x90]
cmp dword [eax + 0x30], 0
jg 0x420a51
push 0xcd5
push 0x100243b4
push 0x10024a50
call esi
add esp, 0xc
mov eax, dword [edi + 0x90]
add eax, 0x30
mov dword [ebp - 0x18], eax
cmp dword [eax], 0
jg 0x420a79
push 0x492
push 0x10024328
push 0x10026080
call esi
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov eax, dword [eax + 8]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
jne 0x420a98
push 0xcd6
push 0x100243b4
push 0x10024b48
call esi
add esp, 0xc
movss xmm0, dword [edi + 0x1580]
comiss xmm0, dword [0x1002b06c]
ja 0x420abd
push 0xcd7
push 0x100243b4
push 0x10024c50
call esi
add esp, 0xc
movss xmm0, dword [edi + 0x14ec]
comiss xmm0, dword [0x1002b06c]
movss xmm1, dword [0x1002b0d0]
jb 0x420adb
comiss xmm1, xmm0
jae 0x420aef
push 0xcd8
push 0x100243b4
push 0x10024cd0
call esi
add esp, 0xc
mov eax, dword [edi + 0x18b8]
test eax, eax
je 0x420b15
cmp dword [edi + 0x18bc], eax
je 0x420b15
push 0xcd9
push 0x100243b4
push 0x10024e08
call esi
add esp, 0xc
mov ecx, 0x15
lea esi, [edi + 0x30]
mov dword [ebp - 0x18], ecx
nop
mov eax, dword [esi]
cmp eax, 0xffffffff
jl 0x420b2f
cmp eax, 0x200
jl 0x420b4a
push 0xcdb
push 0x100243b4
push 0x10024f18
call dword [0x10024198]
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add esi, 4
sub ecx, 1
mov dword [ebp - 0x18], ecx
jne 0x420b21
test byte [edi + 4], 1
mov esi, dword [0x10024198]
je 0x420b7b
cmp dword [edi + 0x60], 0xffffffff
jne 0x420b7b
push 0xcdf
push 0x100243b4
push 0x10025090
call esi
add esp, 0xc
cmp byte [edi + 0x2954], 0
jne 0x420bdb
cmp dword [edi + 0x295c], 0
je 0x420ba1
push 0xce4
push 0x100243b4
push 0x10025160
call esi
add esp, 0xc
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x420bd4
push 1
push 0
call fcn.0041d0b1
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x420bd4
mov ecx, eax
call fcn.004225c1
push dword [ebp - 0x18]
dec dword [0x1002d94c]
call dword [0x10024140]
add esp, 4
mov byte [edi + 0x2954], 1
movss xmm0, dword [edi + 0x18b4]
addss xmm0, dword [edi + 0x14]
mov eax, dword [0x1002d950]
inc dword [edi + 0x18b8]
lea ecx, [eax + 0x9c]
mov dword [edi + 0x2934], 0
mov dword [edi + 0x18f4], 0
movss dword [edi + 0x18b4], xmm0
cmp dword [ecx], 0
jne 0x420c45
mov eax, dword [eax + 0x90]
add eax, 0x30
mov dword [ebp - 0x18], eax
cmp dword [eax], 0
jg 0x420c42
push 0x492
push 0x10024328
push 0x10026080
call esi
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [eax + 8]
mov ecx, dword [ecx]
call fcn.00429381
mov eax, dword [edi + 0x1824]
cmp dword [eax + 0x44], 0
jne 0x420c6c
push 0xcef
push 0x100243b4
push 0x10025194
call esi
add esp, 0xc
movss xmm0, dword [edi + 0xc]
lea esi, [edi + 0x1adc]
movss xmm1, dword [edi + 0x10]
mov ecx, esi
mov eax, dword [edi + 0x1580]
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x2c], xmm1
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
movups xmm0, xmmword [ebp - 0x38]
mov dword [edi + 0x1840], eax
movups xmmword [edi + 0x1844], xmm0
call fcn.00432321
mov eax, dword [edi + 0x90]
mov ecx, dword [esi + 0x48]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x4c]
cmp ecx, eax
jne 0x420cea
inc ecx
test eax, eax
je 0x420cd7
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 0x4c]
jmp 0x420cdc
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x48]
call fcn.0042a5b1
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x50]
mov edx, dword [ebp - 0x18]
mov dword [eax + ecx*4], edx
inc dword [esi + 0x48]
lea esi, [edi + 0x1adc]
mov ecx, esi
call fcn.00432881
mov eax, dword [esi + 0x28]
movss xmm0, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x14]
comiss xmm2, xmm0
movss xmm3, dword [eax + 0x20]
movss xmm1, dword [eax + 0x18]
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x2c], xmm3
jb 0x420d3b
movss dword [ebp - 0x30], xmm2
comiss xmm1, xmm3
jb 0x420d45
movss dword [ebp - 0x2c], xmm1
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
cmp edx, ecx
jne 0x420d78
inc edx
mov dword [ebp - 0x18], edx
test ecx, ecx
je 0x420d65
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x18]
sar eax, 1
add eax, ecx
jmp 0x420d6a
mov eax, 8
cmp eax, edx
lea ecx, [esi + 0x3c]
cmovg edx, eax
push edx
call fcn.00438c81
mov eax, dword [esi + 0x3c]
lea ecx, [edi + 0x1adc]
mov edx, dword [esi + 0x44]
add eax, eax
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [edx + eax*8], xmm0
inc dword [esi + 0x3c]
call fcn.00432791
xor ecx, ecx
mov eax, 2
cmp byte [edi + 0x157d], cl
cmovne ecx, eax
xor eax, eax
cmp byte [edi + 0x157c], al
setne al
or ecx, eax
mov dword [edi + 0x1b00], ecx
mov byte [edi + 0x1aac], 0
mov dword [edi + 0x1ab0], 0
mov dword [edi + 0x1ab8], 0
mov dword [edi + 0x1abc], 0
mov dword [edi + 0x1ab4], 0
cmp dword [edi + 0x190c], 0
jne 0x420dfb
mov dword [edi + 0x1910], 0
cmp byte [edi + 0x1920], 0
mov eax, dword [edi + 0x1904]
mov dword [edi + 0x190c], eax
mov dword [edi + 0x1904], 0
mov byte [edi + 0x1908], 0
jne 0x420e7d
mov eax, dword [edi + 0x1914]
cmp dword [edi + 0x1918], eax
jne 0x420e7d
test eax, eax
je 0x420e7d
mov edx, dword [0x1002d950]
mov ecx, dword [edx + 0x1914]
test ecx, ecx
setne al
mov byte [edx + 0x1921], al
test ecx, ecx
je 0x420e58
mov dword [edx + 0x191c], 0
mov dword [edx + 0x1914], 0
mov dword [edx + 0x1924], 0
mov byte [edx + 0x1922], 0
mov dword [edx + 0x1930], 0
mov eax, dword [edi + 0x1914]
test eax, eax
je 0x420e9c
movss xmm0, dword [edi + 0x191c]
addss xmm0, dword [edi + 0x14]
movss dword [edi + 0x191c], xmm0
mov ecx, dword [edi + 0x28fc]
mov dword [edi + 0x1918], eax
mov word [edi + 0x1920], 0
test ecx, ecx
je 0x420ec3
cmp eax, ecx
je 0x420ec3
mov dword [edi + 0x28fc], 0
cmp byte [edi + 0x1b54], 0
je 0x420f23
mov eax, dword [edi + 0x1b70]
inc eax
cmp eax, dword [edi + 0x18b8]
jge 0x420f23
call fcn.0042a291
mov eax, dword [edi + 0x1bc4]
test eax, eax
je 0x420f18
dec dword [0x1002d94c]
push eax
mov dword [edi + 0x1bc0], 0
mov dword [edi + 0x1bbc], 0
call dword [0x10024140]
add esp, 4
mov dword [edi + 0x1bc4], 0
xorps xmm0, xmm0
movq qword [edi + 0x1bc8], xmm0
mov eax, dword [edi + 0x1bb0]
mov ecx, 0x200
mov dword [edi + 0x1bb4], eax
lea eax, [edi + 0x444]
mov dword [edi + 0x1bb0], 0
mov esi, eax
mov dword [edi + 0x1bac], 0x7f7fffff
add edi, 0xc44
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x24]
xor ecx, ecx
nop dword [eax]
cmp byte [esi + ecx + 0xf1], 0
je 0x420f83
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x420f7c
movaps xmm0, xmm1
jmp 0x420f8b
addss xmm0, dword [esi + 0x14]
jmp 0x420f8b
movss xmm0, dword [0x1002b14c]
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x420f61
call fcn.0041f541
mov edi, dword [0x1002d950]
lea eax, [esi + 0xd4]
test eax, eax
jne 0x420fb6
lea eax, [edi + 0xd4]
movss xmm0, dword [eax]
movss xmm1, dword [0x1002b150]
comiss xmm0, xmm1
jb 0x421020
movss xmm0, dword [eax + 4]
comiss xmm0, xmm1
jb 0x421020
lea eax, [esi + 0x388]
test eax, eax
jne 0x420fe1
lea eax, [edi + 0xd4]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jb 0x421020
movss xmm0, dword [eax + 4]
comiss xmm0, xmm1
jb 0x421020
movss xmm1, dword [esi + 0xd4]
movss xmm0, dword [esi + 0xd8]
subss xmm1, dword [esi + 0x388]
subss xmm0, dword [esi + 0x38c]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
jmp 0x42102e
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x28]
xorps xmm1, xmm1
mov dword [esi + 0x380], eax
movss xmm0, dword [esi + 0x380]
mov eax, dword [ebp - 0x24]
ucomiss xmm0, xmm1
mov dword [esi + 0x384], eax
lahf
test ah, 0x44
jp 0x421065
movss xmm0, dword [esi + 0x384]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x42106c
mov byte [esi + 0x1a33], 0
mov eax, dword [esi + 0xd4]
lea edx, [esi + 0xdc]
movss xmm5, dword [0x1002b540]
lea edi, [esi + 0x390]
movss xmm4, dword [0x1002b14c]
lea ecx, [esi + 0x3e0]
mov dword [esi + 0x388], eax
mov eax, dword [esi + 0xd8]
mov dword [esi + 0x38c], eax
mov dword [ebp - 0x24], 5
nop dword [eax]
mov al, byte [edx]
mov byte [ebp - 0x11], al
test al, al
je 0x4210c6
comiss xmm1, dword [ecx]
jbe 0x4210c6
mov eax, 1
jmp 0x4210c8
xor eax, eax
cmp byte [ebp - 0x11], 0
mov byte [edx + 0x2f0], al
jne 0x4210e4
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jb 0x4210e4
mov eax, 1
jmp 0x4210e6
xor eax, eax
mov byte [edx + 0x2fa], al
movss xmm0, dword [ecx]
movss dword [ecx + 0x14], xmm0
cmp byte [edx], 0
je 0x42110b
comiss xmm1, xmm0
jbe 0x421104
movaps xmm0, xmm1
jmp 0x42110e
addss xmm0, dword [esi + 0x14]
jmp 0x42110e
movaps xmm0, xmm4
movss dword [ecx], xmm0
cmp byte [edx + 0x2f0], 0
mov byte [edx + 0x2f5], 0
je 0x4211bc
movss xmm2, dword [esi + 0x18b4]
movss xmm0, dword [esi + 0x24]
movaps xmm1, xmm2
subss xmm1, dword [ecx - 0x28]
comiss xmm0, xmm1
jbe 0x421183
movss xmm2, dword [esi + 0xd4]
movss xmm0, dword [esi + 0xd8]
subss xmm2, dword [edi]
subss xmm0, dword [edi + 4]
movss xmm1, dword [esi + 0x28]
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm0
comiss xmm1, xmm2
jbe 0x42117a
mov byte [edx + 0x2f5], 1
mov dword [ecx - 0x28], 0xff7fffff
jmp 0x421188
movss dword [ecx - 0x28], xmm2
mov eax, dword [esi + 0xd4]
mov dword [edi], eax
mov eax, dword [esi + 0xd8]
mov dword [edi + 4], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x78], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x7c], eax
mov dword [ecx + 0x50], 0
jmp 0x42121c
cmp byte [edx], 0
je 0x42121f
movss xmm3, dword [esi + 0xd4]
subss xmm3, dword [edi]
movss xmm2, dword [esi + 0xd8]
subss xmm2, dword [edi + 4]
movss xmm1, dword [edi + 0x78]
movaps xmm0, xmm3
mulss xmm3, xmm3
andps xmm0, xmm5
maxss xmm1, xmm0
movaps xmm0, xmm2
andps xmm0, xmm5
mulss xmm2, xmm2
movss dword [edi + 0x78], xmm1
addss xmm3, xmm2
movss xmm1, dword [edi + 0x7c]
maxss xmm1, xmm0
movss dword [edi + 0x7c], xmm1
movss xmm0, dword [ecx + 0x50]
maxss xmm0, xmm3
movss dword [ecx + 0x50], xmm0
xorps xmm1, xmm1
cmp byte [edx + 0x2f0], 0
je 0x42122f
mov byte [esi + 0x1a33], 0
add ecx, 4
inc edx
add edi, 8
sub dword [ebp - 0x24], 1
jne 0x4210b1
mov eax, dword [esi + 0x2b68]
mov ecx, 0x78
movss xmm1, dword [esi + 0x14]
movaps xmm0, xmm1
subss xmm0, dword [esi + eax*4 + 0x2988]
addss xmm0, dword [esi + 0x2b6c]
movss dword [esi + 0x2b6c], xmm0
movss dword [esi + eax*4 + 0x2988], xmm1
movss xmm1, dword [esi + 0x2b6c]
divss xmm1, dword [0x1002b128]
mov eax, dword [esi + 0x2b68]
inc eax
cdq
movss xmm0, dword [0x1002b0d0]
idiv ecx
divss xmm0, xmm1
mov dword [esi + 0x2b68], edx
movss dword [esi + 0x370], xmm0
call fcn.00420841
movss xmm1, dword [esi + 0x2958]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x42136d
subss xmm1, dword [esi + 0x14]
comiss xmm0, xmm1
movss dword [esi + 0x2958], xmm1
jb 0x42136d
mov eax, dword [0x1002d950]
mov edi, dword [esi + 0x1c]
mov dword [eax + 0x2958], 0
test edi, edi
je 0x42136d
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.004227e1
mov edx, 0x10025284
mov ecx, edi
call fcn.0041cfa1
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x421336
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42136d
push eax
jmp 0x42135e
mov edi, dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push 1
push edi
call dword [0x100241b4]
push dword [ebp - 0x24]
call dword [0x100241a4]
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x42136d
push edi
dec dword [0x1002d94c]
call dword [0x10024140]
add esp, 4
mov eax, dword [esi + 0x1938]
test eax, eax
je 0x421380
test dword [eax + 8], 0x200
je 0x421385
call fcn.004240a1
mov dword [esi + 0x18fc], eax
test eax, eax
je 0x421397
mov edx, dword [eax + 0x280]
jmp 0x421399
xor edx, edx
mov eax, dword [0x1002d950]
mov dword [esi + 0x1900], edx
mov edi, dword [eax + 0x1960]
sub edi, 1
js 0x4213db
mov eax, dword [eax + 0x1968]
lea ecx, [edi*8 + 1]
add ecx, edi
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4213d3
test dword [eax + 8], 0x8000000
jne 0x4213ed
sub ecx, 0x24
sub edi, 1
jns 0x4213c1
movss xmm6, dword [0x1002b0d0]
xor edx, edx
mov dword [esi + 0x1ad8], edx
jmp 0x42143f
movss xmm0, dword [esi + 0x14]
mulss xmm0, dword [0x1002b100]
movss xmm6, dword [0x1002b0d0]
addss xmm0, dword [esi + 0x1ad8]
minss xmm0, xmm6
movss dword [esi + 0x1ad8], xmm0
test edx, edx
je 0x42143c
cmp dword [edx + 0x280], eax
je 0x42143c
cmp edx, eax
je 0x42143c
mov edx, dword [edx + 0x27c]
test edx, edx
jne 0x421422
mov dword [esi + 0x18fc], edx
mov dword [esi + 0x1900], edx
mov edx, dword [ebp - 0x18]
xor ah, ah
or edi, 0xffffffff
mov byte [ebp - 0x11], ah
xor ecx, ecx
nop dword [eax + eax]
cmp byte [esi + ecx + 0x3cc], 0
je 0x421480
cmp dword [esi + 0x18fc], 0
jne 0x421471
cmp dword [esi + 0x1960], 0
jne 0x421471
xor eax, eax
jmp 0x421476
mov eax, 1
mov ah, byte [ebp - 0x11]
mov byte [ecx + esi + 0x3db], al
mov al, byte [esi + ecx + 0xdc]
or ah, al
mov byte [ebp - 0x11], ah
test al, al
je 0x4214aa
cmp edi, 0xffffffff
je 0x4214a8
movss xmm0, dword [esi + edi*4 + 0x3b8]
comiss xmm0, dword [esi + ecx*4 + 0x3b8]
jbe 0x4214aa
mov edi, ecx
inc ecx
cmp ecx, 5
jl 0x421451
cmp edi, 0xffffffff
je 0x4214c3
cmp byte [edi + esi + 0x3db], 0
jne 0x4214c3
xor cl, cl
jmp 0x4214c5
mov cl, 1
mov edi, dword [esi + 0x2b70]
cmp edi, 0xffffffff
je 0x4214d7
test edi, edi
setne al
jmp 0x4214fa
test cl, cl
je 0x4214e8
cmp dword [esi + 0x18fc], 0
jne 0x4214f5
test ah, ah
jne 0x4214f5
cmp dword [esi + 0x1960], 0
jne 0x4214f5
xor eax, eax
jmp 0x4214fa
mov eax, 1
mov byte [esi + 0x368], al
mov eax, dword [esi + 0x2b74]
cmp eax, 0xffffffff
je 0x421512
test eax, eax
setne al
jmp 0x421528
cmp dword [esi + 0x1914], 0
jne 0x421523
test edx, edx
jne 0x421523
xor eax, eax
jmp 0x421528
mov eax, 1
cmp byte [esi + 0x36c], 0
mov byte [esi + 0x369], al
je 0x421546
mov eax, dword [esi + 4]
and al, 9
cmp al, 1
jne 0x421546
mov byte [esi + 0x369], al
mov edx, dword [esi + 0x2b78]
xor eax, eax
cmp edx, 0xffffffff
je 0x421558
test edx, edx
setne al
cmp byte [esi + 0x1b54], 0
mov byte [esi + 0x36a], al
mov dword [ebp - 0x28], 0x3f800000
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], 0x3f800000
mov dword [esi + 0x2944], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x1b50], 0
mov dword [esi + 0x2b78], 0xffffffff
mov dword [esi + 0x2b74], 0xffffffff
mov dword [esi + 0x2b70], 0xffffffff
mov dword [esi + 0x2948], eax
je 0x4215bc
test byte [esi + 0x1b58], 0x10
je 0x4215bc
mov al, 1
jmp 0x4215be
xor al, al
test cl, cl
jne 0x4215da
test al, al
jne 0x4215da
mov dword [esi + 0x1900], 0
mov dword [esi + 0x18fc], 0
mov edx, dword [esi + 0x18fc]
test edx, edx
je 0x421823
cmp byte [edx + 0x93], 0
jne 0x421823
movss xmm4, dword [esi + 0xe4]
xorps xmm5, xmm5
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jp 0x42161e
movss xmm0, dword [esi + 0xe8]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jnp 0x421823
test dword [edx + 8], 0x1000000
lea eax, [edx + 8]
mov ecx, edx
je 0x421655
nop dword [eax + eax]
mov eax, dword [eax]
and eax, 0x218
cmp eax, 0x10
jne 0x421655
mov eax, dword [ecx + 0x27c]
test eax, eax
je 0x421655
mov ecx, eax
test dword [ecx + 8], 0x1000000
lea eax, [ecx + 8]
jne 0x421631
mov edi, dword [ecx + 8]
and edi, 0x210
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jnp 0x4217be
mov al, byte [esi + 0xed]
test al, al
je 0x421746
cmp byte [esi + 0x98], 0
je 0x421742
mulss xmm4, dword [0x1002b090]
movss xmm1, dword [edx + 0x274]
movss xmm0, dword [0x1002b0b0]
addss xmm4, xmm1
comiss xmm0, xmm4
ja 0x4216b3
movss xmm0, dword [0x1002b0e4]
minss xmm0, xmm4
movaps xmm4, xmm0
movss dword [edx + 0x274], xmm0
divss xmm4, xmm1
movss xmm0, dword [esi + 0xd4]
subss xmm0, dword [edx + 0x14]
movss xmm1, dword [esi + 0xd8]
movss xmm3, dword [edx + 0x20]
subss xmm1, dword [edx + 0x18]
shufps xmm4, xmm4, 0
subss xmm6, xmm4
movaps xmm2, xmm6
mulss xmm3, xmm6
mulss xmm2, dword [edx + 0x1c]
mulss xmm3, xmm1
mulss xmm2, xmm0
divss xmm3, dword [edx + 0x20]
divss xmm2, dword [edx + 0x1c]
movaps xmm0, xmm2
addss xmm0, dword [edx + 0x14]
movss dword [edx + 0x14], xmm0
movaps xmm0, xmm3
addss xmm0, dword [edx + 0x18]
movss dword [edx + 0x18], xmm0
addss xmm2, dword [edx + 0xc]
addss xmm3, dword [edx + 0x10]
movss dword [edx + 0xc], xmm2
movss dword [edx + 0x10], xmm3
movups xmm0, xmmword [edx + 0x1c]
mulps xmm0, xmm4
movups xmmword [edx + 0x1c], xmm0
jmp 0x4217be
test al, al
jne 0x4217be
test edi, edi
jne 0x4217be
movss xmm0, dword [ecx + 0x50]
subss xmm0, dword [ecx + 0x48]
movss xmm2, dword [ecx + 0x58]
mov eax, dword [0x1002d950]
addss xmm2, xmm2
movss xmm3, dword [ecx + 0x70]
movss xmm1, dword [eax + 0x182c]
mulss xmm1, dword [ecx + 0x274]
addss xmm0, xmm2
mulss xmm1, dword [0x1002b0fc]
mulss xmm0, dword [0x1002b0b8]
minss xmm1, xmm0
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm3, dword [ecx + 0xf8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
subss xmm1, xmm0
subss xmm3, xmm1
movss dword [ecx + 0x70], xmm1
movss dword [ecx + 0xf8], xmm3
movss xmm1, dword [esi + 0xe8]
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jnp 0x421823
test edi, edi
jne 0x421823
cmp byte [esi + 0xed], 0
jne 0x421823
test byte [edx + 8], 0x10
mov edi, dword [0x1002d950]
jne 0x421829
movss xmm0, dword [edi + 0x182c]
mulss xmm0, dword [ecx + 0x274]
movss xmm2, dword [edx + 0x6c]
mulss xmm0, xmm1
movaps xmm1, xmm2
addss xmm2, dword [edx + 0xf4]
subss xmm1, xmm0
subss xmm2, xmm1
movss dword [edx + 0x6c], xmm1
movss dword [edx + 0xf4], xmm2
jmp 0x421829
mov edi, dword [0x1002d950]
cmp dword [esi + 0x1914], 0
jne 0x4218aa
mov eax, dword [esi + 0x19dc]
test eax, eax
je 0x4218aa
cmp byte [eax + 0x90], 0
je 0x4218aa
test dword [eax + 8], 0x40000
jne 0x4218aa
cmp byte [esi + 0xed], 0
jne 0x4218aa
mov ecx, dword [edi + 0x30]
test ecx, ecx
js 0x4218aa
xor dl, dl
call fcn.00424371
test al, al
je 0x4218aa
cmp dword [esi + 0x19e0], 0
je 0x421893
mov eax, dword [esi + 0x1a2c]
cmp eax, 0x7fffffff
je 0x421893
xor edx, edx
mov ecx, 2
cmp byte [esi + 0xee], dl
cmovne ecx, edx
add ecx, eax
jmp 0x42189e
movzx ecx, byte [esi + 0xee]
neg ecx
sbb ecx, ecx
mov eax, dword [esi + 0x19dc]
mov dword [eax + 0x2d0], ecx
xor edi, edi
mov dword [esi + 0x1a2c], 0x7fffffff
cmp dword [esi + 0x18c4], edi
je 0x42190a
cmp edi, dword [esi + 0x18c4]
jl 0x4218de
push 0x492
push 0x10024328
push 0x10026080
call dword [0x10024198]
add esp, 0xc
mov eax, dword [esi + 0x18cc]
mov ecx, dword [eax + edi*4]
inc edi
mov al, byte [ecx + 0x90]
mov byte [ecx + 0x91], al
mov byte [ecx + 0x90], 0
mov byte [ecx + 0x92], 0
cmp edi, dword [esi + 0x18c4]
jne 0x4218c4
mov eax, dword [esi + 0x19dc]
test eax, eax
je 0x421922
cmp byte [eax + 0x91], 0
jne 0x421922
call fcn.004291f1
mov edi, dword [esi + 0x18e0]
lea eax, [esi + 0x18dc]
test edi, edi
jns 0x42195f
je 0x421941
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x421946
mov ecx, 8
xor eax, eax
test ecx, ecx
cmovg eax, ecx
lea ecx, [esi + 0x18dc]
push eax
call fcn.0042a5b1
lea eax, [esi + 0x18dc]
mov dword [eax], 0
lea eax, [esi + 0x196c]
mov edi, dword [eax + 4]
test edi, edi
jns 0x42199f
je 0x421981
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x421986
mov ecx, 8
xor eax, eax
test ecx, ecx
cmovg eax, ecx
lea ecx, [esi + 0x196c]
push eax
call fcn.0042aaf1
lea eax, [esi + 0x196c]
mov dword [eax], 0
mov ecx, dword [esi + 0x19dc]
call fcn.00424571
mov ecx, dword [0x1002d950]
mov dword [ebp - 0x28], 0x43c80000
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], 0x43c80000
mov dword [ecx + 0x19a4], eax
mov eax, dword [ebp - 0x24]
push ecx
mov dword [ecx + 0x19a8], eax
mov dword [ecx + 0x197c], 4
call fcn.00425c01
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret