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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x468040]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
push edi
mov edi, dword [0x4915c4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x40], ecx
mov eax, dword [edi + 0x3e40]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e40]
mov dword [esp + 0x24], eax
cmp byte [eax + 0xaf], 0
je 0x4360d0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0043e7ed
mov esp, ebp
pop ebp
ret
test byte [edi + 0x46a0], 1
movss xmm2, dword [edi + 0x37e0]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x3bd0]
movss dword [esp + 0x58], xmm2
je 0x4360fd
movss xmm0, dword [edi + 0x46a4]
jmp 0x436105
movss xmm0, dword [eax + 0x1a0]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x43614a
cmp dword [eax + 0x190], 0
movss xmm1, dword [eax + 0x228]
jne 0x436127
cmp dword [edi + 0x49e4], 0
je 0x43612f
movss xmm1, dword [eax + 0x1f8]
subss xmm1, dword [eax + 0xf0]
addss xmm1, xmm0
movss xmm0, dword [0x4656c8]
maxss xmm0, xmm1
xorps xmm1, xmm1
test byte [ebp + 8], 0x10
cvttss2si esi, xmm0
mov dword [esp + 0x18], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
jne 0x43616a
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x37f4]
movss dword [esp + 0x3c], xmm1
subss xmm0, xmm1
mov dword [esp + 0x2c], ecx
movss dword [esp + 0x4c], xmm0
cmp ecx, 0xffffffff
jae 0x4361a3
mov esi, ecx
mov cl, byte [esi]
test cl, cl
je 0x43619f
cmp cl, 0x23
jne 0x436195
cmp byte [esi + 1], cl
je 0x43619f
inc esi
mov dword [esp + 0x2c], esi
cmp esi, 0xffffffff
jb 0x436185
mov esi, dword [esp + 0x18]
mov dword [edi + 0x46a0], 0
call fcn.004134f0
mov ecx, dword [esp + 0x40]
call fcn.00411020
mov eax, dword [edi + 0x5974]
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x4361e3
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x5974], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x54], ecx
test cl, 0x20
je 0x4361fe
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x436211
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.0043a470
mov ecx, dword [ebp + 8]
test ecx, 0x700000
jne 0x436226
mov eax, dword [edi + 0x5970]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x43623b
mov eax, dword [edi + 0x5970]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x436250
mov eax, dword [edi + 0x5970]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x436265
mov eax, dword [edi + 0x5970]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x5970]
and eax, 0xe00fffff
or ecx, eax
mov eax, ecx
mov dword [ebp + 8], ecx
shr eax, 1
not al
and al, 1
mov dword [esp + 0x44], eax
movzx eax, al
lea eax, [eax + 3]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm2
je 0x4362bb
movss xmm3, dword [eax + 0xc]
jmp 0x4362c3
movss xmm3, dword [0x4656c8]
movss xmm6, dword [0x465638]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x84], xmm3
cmp eax, 0x10100000
jne 0x436302
lea eax, [esp + 0x80]
push eax
lea edx, [esp + 0x80]
lea ecx, [esp + 0x7c]
call fcn.00404c70
add esp, 4
jmp 0x4363c3
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x4363e4
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x43632d
movss xmm4, dword [0x4657e0]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x43634a
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x4657cc]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x20]
minss xmm0, xmm2
movss dword [esp + 0x80], xmm5
movaps xmm1, xmm5
subss xmm3, xmm2
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x80]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x80]
movaps xmm0, xmm1
mulss xmm0, dword [0x465730]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x465b90]
movss dword [esp + 0x80], xmm3
movss dword [esp + 0x84], xmm1
call fcn.00435f70
add esp, 8
mov ecx, dword [ebp + 8]
movss xmm0, dword [esp + 0x78]
movss xmm1, dword [esp + 0x7c]
movss xmm2, dword [esp + 0x80]
movss xmm3, dword [esp + 0x84]
movss xmm4, dword [0x4657d0]
xorps xmm6, xmm6
comiss xmm0, xmm6
movss xmm7, dword [0x465688]
jb 0x436401
movaps xmm5, xmm7
jmp 0x436404
movaps xmm5, xmm4
comiss xmm1, xmm6
mulss xmm0, dword [0x4657a0]
addss xmm0, xmm5
cvttss2si eax, xmm0
mov dword [esp + 0x88], eax
jb 0x436425
movaps xmm0, xmm7
jmp 0x436428
movaps xmm0, xmm4
comiss xmm2, xmm6
movss xmm5, dword [0x4657a0]
mulss xmm1, xmm5
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x8c], eax
jb 0x43644d
movaps xmm0, xmm7
jmp 0x436450
movaps xmm0, xmm4
comiss xmm3, xmm6
mulss xmm2, xmm5
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0x90], eax
jb 0x43646b
movaps xmm4, xmm7
cmp dword [edi + 0x3834], 0
mov edx, dword [esp + 0x24]
mulss xmm3, xmm5
mov byte [esp + 0x17], 0
addss xmm3, xmm4
cvttss2si eax, xmm3
mov dword [esp + 0x94], eax
movss xmm2, dword [edx + 0xf0]
movss xmm3, dword [edx + 0xf4]
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x38], xmm3
jne 0x4364b4
movss xmm1, dword [esp + 0x3c]
jmp 0x4364b7
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [edx + 0xf0], xmm0
test ecx, 0x300000
je 0x436586
test cl, 0x20
jne 0x436586
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x48], eax
jbe 0x4367bd
mov edx, ecx
and edx, 8
mov dword [esp + 0x30], edx
test ecx, 0x1000000
je 0x436540
nop dword [eax]
test eax, eax
je 0x43651c
movss xmm1, dword [edi + 0x37f4]
movaps xmm0, xmm6
call fcn.004133a0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
test edx, edx
jne 0x436530
call fcn.00414620
mov eax, dword [esp + 0x18]
xorps xmm6, xmm6
mov edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x48]
jl 0x436500
jmp 0x4367aa
xor eax, eax
mov dword [esp + 0x18], eax
test eax, eax
jle 0x436562
movss xmm1, dword [edi + 0x37f4]
movaps xmm0, xmm6
call fcn.004133a0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
test edx, edx
jne 0x436576
call fcn.00414620
mov eax, dword [esp + 0x18]
xorps xmm6, xmm6
mov edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x48]
jl 0x436546
jmp 0x4367aa
test ecx, 0x400000
je 0x4367bd
test cl, 0x20
jne 0x4367bd
cmp byte [esp + 0x44], 0
mov edx, 0xff
je 0x436638
mov ecx, dword [esp + 0x94]
test ecx, ecx
jns 0x4365c0
mov dword [esp + 0x18], 0
jmp 0x4365c9
cmp ecx, edx
cmovg ecx, edx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x90]
test eax, eax
jns 0x4365de
mov dword [esp + 0x30], 0
jmp 0x4365ea
cmp eax, 0xff
cmovg eax, edx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x8c]
test ecx, ecx
jns 0x4365f9
xor ecx, ecx
jmp 0x4365fe
cmp ecx, edx
cmovg ecx, edx
mov eax, dword [esp + 0x88]
test eax, eax
jns 0x43660d
xor eax, eax
jmp 0x436615
cmp eax, 0xff
cmovg eax, edx
push dword [esp + 0x18]
push dword [esp + 0x34]
push ecx
push eax
push 0x465228
lea eax, [esp + 0xac]
push 0x40
push eax
call fcn.00404530
add esp, 0x1c
jmp 0x4366a1
mov eax, dword [esp + 0x90]
test eax, eax
jns 0x43664d
mov dword [esp + 0x18], 0
jmp 0x436659
cmp eax, 0xff
cmovg eax, edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x8c]
test ecx, ecx
jns 0x436668
xor ecx, ecx
jmp 0x43666d
cmp ecx, edx
cmovg ecx, edx
mov eax, dword [esp + 0x88]
test eax, eax
jns 0x43667c
xor eax, eax
jmp 0x436684
cmp eax, 0xff
cmovg eax, edx
push dword [esp + 0x18]
push ecx
push eax
push 0x46523c
lea eax, [esp + 0xa8]
push 0x40
push eax
call fcn.00404530
add esp, 0x18
mov eax, dword [0x4915c4]
xor edx, edx
movss xmm0, dword [esp + 0x4c]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x46a0], 1
movss dword [eax + 0x46a4], xmm0
lea eax, [esp + 0x38]
push 6
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x40], 0
push 0x40
push eax
mov dword [esp + 0x4c], 0
call fcn.00433aa0
add esp, 0x18
test al, al
je 0x43679d
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x98]
mov al, byte [ecx]
cmp al, 0x23
je 0x436711
cmp al, 0x20
je 0x436711
cmp al, 9
jne 0x436714
inc ecx
jmp 0x436703
cmp byte [esp + 0x44], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x94], 0xff
je 0x436777
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.00402140
add esp, 0x18
jmp 0x43679d
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
push str._02X_02X_02X
push ecx
call fcn.00402140
add esp, 0x14
mov ecx, dword [ebp + 8]
test cl, 8
jne 0x4367ad
call fcn.00414620
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x24]
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x18], eax
test cl, 0x10
jne 0x436a15
test cl, 0x20
jne 0x4367e9
cmp dword [edi + 0x3834], eax
je 0x4367e9
movss xmm1, dword [esp + 0x4c]
addss xmm1, dword [edi + 0x37f4]
jmp 0x4367ec
xorps xmm1, xmm1
cmp byte [esp + 0x44], al
movaps xmm0, xmm2
mov eax, dword [esp + 0x20]
addss xmm0, xmm1
movss dword [edx + 0xf4], xmm3
movss dword [edx + 0xf0], xmm0
je 0x436814
movss xmm1, dword [eax + 0xc]
jmp 0x43681c
movss xmm1, dword [0x4656c8]
movss xmm0, dword [eax]
lea edx, [esp + 0x60]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm1
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call fcn.004397d0
add esp, 8
test al, al
mov eax, dword [ebp + 8]
je 0x4368e7
test al, 4
jne 0x4368e7
movups xmm0, xmmword [esp + 0x60]
mov ecx, str.picker
movups xmmword [edi + 0x5988], xmm0
call fcn.00413f40
movss xmm1, dword [edi + 0x46c0]
movss xmm0, dword [edi + 0x37f0]
addss xmm0, dword [edi + 0x46cc]
mov eax, dword [0x4915c4]
addss xmm1, dword [0x46562c]
or dword [eax + 0x46f0], 1
movss dword [eax + 0x4704], xmm0
movss dword [eax + 0x4700], xmm1
mov dword [eax + 0x4708], 0
mov dword [eax + 0x470c], 0
mov dword [eax + 0x46f4], 1
mov eax, dword [ebp + 8]
test al, 8
jne 0x4368f0
call fcn.00414620
mov ecx, str.picker
call fcn.004145a0
test al, al
je 0x436a12
mov eax, dword [edi + 0x3e40]
cmp word [eax + 0xb6], 1
jne 0x4369c2
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
cmp ecx, eax
je 0x436975
push 0
mov edx, eax
call fcn.0042ea00
mov ecx, dword [0x4915c4]
add esp, 4
mov eax, dword [ecx + 0x3e40]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e40]
cmp byte [eax + 0xaf], 0
jne 0x436975
movss xmm1, dword [0x4657e0]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.00413010
mov eax, dword [0x4915c4]
mov ecx, 0x464f0c
movss xmm0, dword [esp + 0x58]
mulss xmm0, dword [0x465744]
mov edx, dword [esp + 0x20]
or dword [eax + 0x46a0], 1
movss dword [eax + 0x46a4], xmm0
lea eax, [edi + 0x5988]
push eax
mov eax, dword [esp + 0x58]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.00437060
add esp, 8
or byte [esp + 0x17], al
mov eax, dword [0x4915c4]
mov dword [esp + 0x54], eax
mov ecx, dword [eax + 0x3e40]
cmp dword [eax + 0x47c0], ecx
jne 0x4369f2
cmp byte [eax + 0x4815], 0
je 0x4369f2
cmp dword [eax + 0x47f4], 0
jne 0x4369f2
or dword [eax + 0x4818], 2
test dword [ecx + 0xc], 0x1000000
je 0x436a02
mov byte [eax + 0x3dee], 1
call fcn.00410820
mov eax, dword [esp + 0x54]
mov byte [eax + 0x3dee], 0
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x2c]
je 0x436a78
test cl, cl
js 0x436a78
movss xmm1, dword [edi + 0x37f4]
xorps xmm0, xmm0
call fcn.004133a0
test byte [ebp + 8], 0x20
jne 0x436a4e
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x37f4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
push 0
movss dword [eax + 0xf0], xmm0
call fcn.0042ea00
add esp, 4
cmp byte [esp + 0x17], 0
mov esi, dword [esp + 0x18]
je 0x436c69
test esi, esi
jne 0x436c69
movups xmm0, xmmword [esp + 0x88]
mov eax, dword [ebp + 8]
and eax, 0x8200000
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x465b80]
movups xmmword [esp + 0x78], xmm0
cmp eax, 0x8200000
jne 0x436b98
movss xmm0, dword [esp + 0x78]
lea eax, [esp + 0x80]
movss xmm1, dword [esp + 0x7c]
lea edx, [esp + 0x7c]
movss xmm2, dword [esp + 0x80]
lea ecx, [esp + 0x78]
push eax
movss dword [edi + 0x597c], xmm0
movss dword [edi + 0x5980], xmm1
call fcn.00404c70
movss xmm1, dword [esp + 0x7c]
xorps xmm5, xmm5
mov eax, dword [edi + 0x5974]
add esp, 4
comiss xmm5, xmm1
mov dword [edi + 0x5978], eax
movss xmm4, dword [0x4656c8]
jbe 0x436b1d
xorps xmm0, xmm0
jmp 0x436b24
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm7, dword [0x4657a0]
movss xmm6, dword [0x465688]
movss xmm2, dword [esp + 0x7c]
comiss xmm5, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x436b50
xorps xmm0, xmm0
jmp 0x436b57
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm3, dword [esp + 0x80]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x436b7b
xorps xmm4, xmm4
jmp 0x436b7f
minss xmm4, xmm3
mulss xmm4, xmm7
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x5984], eax
jmp 0x436bb0
movss xmm3, dword [esp + 0x80]
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x7c]
movss xmm1, dword [esp + 0x78]
mov eax, dword [ebp + 8]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x436c42
movaps xmm4, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm4
comiss xmm3, xmm0
jbe 0x436be2
movss xmm5, dword [0x4657e0]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x436bfc
movss xmm0, dword [0x4657cc]
movaps xmm4, xmm1
subss xmm0, xmm5
movaps xmm1, xmm6
movaps xmm5, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm4
minss xmm0, xmm3
subss xmm1, xmm3
movaps xmm3, xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x465730]
addss xmm0, dword [0x465638]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x465638]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x465b90]
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x20]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x436c69
movss xmm0, dword [esp + 0x84]
movss dword [eax + 0xc], xmm0
cmp dword [esp + 0x5c], 0
jne 0x436c7a
mov dword [edi + 0x5974], 0
mov eax, dword [0x4915c4]
mov eax, dword [eax + 0x3e40]
dec dword [eax + 0xe4]
call fcn.00413620
test byte [edi + 0x46bc], 1
je 0x436de2
test dword [ebp + 8], 0x200
jne 0x436de2
call fcn.00418c70
test al, al
je 0x436de2
mov ecx, str._COL3F
mov byte [esp + 0x1f], 0
call fcn.00418d30
test eax, eax
je 0x436ce8
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x1f], 1
mov byte [esp + 0x17], 1
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, str._COL4F
call fcn.00418d30
mov ecx, eax
test ecx, ecx
je 0x436d15
mov eax, dword [esp + 0x48]
shl eax, 2
push eax
push dword [ecx]
push dword [esp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x17], 1
jmp 0x436d20
cmp byte [esp + 0x1f], 0
je 0x436dc8
test dword [ebp + 8], 0x10000000
je 0x436dc8
mov eax, dword [esp + 0x20]
movss xmm2, dword [eax + 4]
movss xmm4, dword [eax + 8]
comiss xmm4, xmm2
movss xmm3, dword [eax]
jbe 0x436d57
movss xmm5, dword [0x4657e0]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x436d5a
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x436d77
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x4657cc]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [eax + 8], xmm3
minss xmm0, xmm4
movaps xmm1, xmm3
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x465730]
addss xmm0, dword [0x465638]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x465638]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x465b90]
movss dword [eax], xmm2
movss dword [eax + 4], xmm1
mov eax, dword [0x4915c4]
cmp byte [eax + 0x498a], 0
mov byte [eax + 0x4946], 0
je 0x436de2
call fcn.00418990
test esi, esi
je 0x436dfe
mov eax, dword [edi + 0x3e8c]
test eax, eax
je 0x436dfe
cmp dword [edi + 0x3ea8], esi
jne 0x436dfe
mov dword [edi + 0x46b4], eax
mov cl, byte [esp + 0x17]
test cl, cl
je 0x436e38
mov eax, dword [edi + 0x46b4]
test eax, eax
je 0x436e38
mov ecx, dword [0x4915c4]
mov edx, dword [ecx + 0x3e8c]
cmp edx, eax
je 0x436e24
test edx, edx
jne 0x436e2d
mov word [ecx + 0x3e9c], 0x101
or dword [ecx + 0x46bc], 4
mov cl, byte [esp + 0x17]
mov al, cl
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.0043e7ed
mov esp, ebp
pop ebp
ret