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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x1004900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x1004995c]
mov dword [ebp - 0x170], ecx
mov ecx, esi
mov dword [ebp - 0xec], eax
push edi
mov edi, dword [ebx + 0x10]
mov eax, dword [ecx + 0x19b0]
mov dword [ebp - 0xc8], ecx
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b0]
mov dword [ebp - 0x124], eax
cmp byte [eax + 0x7f], 0
jne 0x10035aab
mov edx, dword [ebx + 0x14]
mov ecx, edx
shr ecx, 0x14
and ecx, 0xffffff01
mov dword [ebp - 0xf0], ecx
mov ecx, edx
shr ecx, 0xe
and ecx, 0xffffff01
mov dword [ebp - 0x108], ecx
mov ecx, edx
shr ecx, 0xf
and ecx, 0xffffff01
mov dword [ebp - 0x16c], ecx
mov ecx, edx
shr ecx, 0x10
not cl
and ecx, 0xffffff01
mov dword [ebp - 0x138], ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0xffffff01
cmp byte [ebp - 0xf0], 0
mov dword [ebp - 0x164], ecx
je 0x1003578c
call fcn.1001a6e0
mov esi, dword [0x1004995c]
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0xbc]
xor edx, edx
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x170]
call fcn.1000fb00
add esp, 4
mov dword [ebp - 0xd4], eax
cmp dword [esi + 0x19e4], eax
jne 0x100357c0
mov dword [esi + 0x19e8], eax
cmp dword [esi + 0x1a18], eax
jne 0x100357cf
mov byte [esi + 0x1a1c], 1
mov eax, dword [ebp - 0x170]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x100357f6
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x100357f6
cmp dl, 0x23
jne 0x100357f0
cmp byte [ecx + 1], dl
je 0x100357f6
inc ecx
cmp ecx, 0xffffffff
jb 0x100357e0
movss xmm0, dword [esi + 0x18c4]
cmp eax, ecx
jne 0x1003580f
xorps xmm7, xmm7
movss dword [ebp - 0x174], xmm7
jmp 0x10035865
movss xmm3, dword [0x10045c30]
movaps xmm2, xmm0
push ecx
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x18c0]
lea eax, [ebp - 0x140]
mov dword [esp], 0xbf800000
push eax
call fcn.1002c360
movss xmm0, dword [ebp - 0x140]
xorps xmm7, xmm7
addss xmm0, dword [0x10045b84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x174], xmm0
movss xmm0, dword [ebp - 0x13c]
movss xmm6, dword [edi]
movss xmm2, dword [edi + 4]
mov edx, dword [ebp - 0xf0]
mov edi, dword [ebp - 0xc8]
movss dword [ebp - 0x134], xmm6
movss dword [ebp - 0x148], xmm2
test dl, dl
je 0x1003589e
movss xmm0, dword [edi + 0x18c4]
mulss xmm0, dword [0x10045bdc]
test byte [esi + 0x1a84], 1
movss xmm5, dword [edi + 0x154c]
mov ecx, dword [esi + 0x19b0]
movaps xmm3, xmm5
addss xmm3, xmm5
addss xmm3, xmm0
je 0x100358ca
movss xmm0, dword [esi + 0x1a88]
jmp 0x100358d2
movss xmm0, dword [ecx + 0x170]
comiss xmm7, xmm0
jbe 0x1003590a
mov eax, ecx
cmp dword [eax + 0x1c0], 0
movss xmm1, dword [eax + 0x21c]
je 0x100358f2
movss xmm1, dword [eax + 0x1fc]
subss xmm1, dword [ecx + 0xc8]
addss xmm1, xmm0
movss xmm0, dword [0x10045b88]
maxss xmm0, xmm1
comiss xmm7, xmm6
cvttss2si eax, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ja 0x10035925
comiss xmm7, xmm2
jbe 0x10035946
cmp dword [ecx + 0x1c0], 0
movss xmm0, dword [ecx + 0x21c]
movss xmm1, dword [ecx + 0x220]
je 0x10035946
movss xmm0, dword [ecx + 0x1fc]
movss xmm2, dword [0x10045bd0]
ucomiss xmm6, xmm7
lahf
test ah, 0x44
jp 0x10035964
movaps xmm6, xmm4
movss dword [ebp - 0x134], xmm6
jmp 0x1003598d
comiss xmm7, xmm6
jbe 0x1003598d
subss xmm0, dword [ecx + 0xc8]
addss xmm6, xmm0
comiss xmm2, xmm6
movss dword [ebp - 0x134], xmm6
jb 0x1003598d
movaps xmm6, xmm2
movss dword [ebp - 0x134], xmm2
movss xmm0, dword [ebp - 0x148]
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x100359a3
movaps xmm0, xmm3
jmp 0x100359c4
comiss xmm7, xmm0
jbe 0x100359cc
subss xmm1, dword [ecx + 0xcc]
addss xmm0, xmm1
comiss xmm2, xmm0
movss dword [ebp - 0x148], xmm0
jb 0x100359cc
movaps xmm0, xmm2
movss dword [ebp - 0x148], xmm0
movss xmm1, dword [ebp - 0x174]
comiss xmm1, xmm7
jbe 0x100359e6
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x1560]
jmp 0x100359e9
xorps xmm2, xmm2
mov esi, dword [ebp - 0x124]
movaps xmm1, xmm6
mov dword [ebp - 0x120], esi
movss xmm4, dword [esi + 0xcc]
movss xmm3, dword [esi + 0xc8]
addss xmm0, xmm4
movss dword [ebp - 0x60], xmm3
addss xmm1, xmm3
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0x54], xmm0
movaps xmm0, xmm6
movss dword [ebp - 0x58], xmm1
addss xmm0, xmm2
movaps xmm1, xmm4
addss xmm1, dword [ebp - 0x148]
addss xmm0, xmm3
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm0
test dl, dl
je 0x10035b33
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x14]
call fcn.10011df0
add esp, 4
test al, al
jne 0x10035ac0
movss xmm0, dword [ebp - 0xc]
lea ecx, [ebp - 0x140]
subss xmm0, dword [ebp - 0x14]
movss xmm1, dword [edi + 0x154c]
movss dword [ebp - 0x140], xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x13c], xmm0
call fcn.10011cc0
call fcn.1001a810
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b65b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm0, dword [ebp - 0x58]
lea edx, [ebp - 0x140]
subss xmm0, dword [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0xd4]
movss dword [ebp - 0x140], xmm0
movss xmm0, dword [ebp - 0x54]
subss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x13c], xmm0
call fcn.10014f70
add esp, 4
test al, al
jne 0x10035b04
call fcn.10014da0
jmp 0x10035aa6
mov ecx, dword [edi + 0x19b0]
movss xmm0, dword [ebp - 0x134]
mov dword [ebp - 0x120], ecx
subss xmm0, dword [ecx + 0x70]
mov eax, dword [ecx + 0x134]
or dword [ecx + 0x13c], eax
movss dword [ebp - 0x134], xmm0
jmp 0x10035b76
subss xmm1, xmm4
subss xmm0, xmm3
lea ecx, [ebp - 0x140]
movss dword [ebp - 0x13c], xmm1
movaps xmm1, xmm5
movss dword [ebp - 0x140], xmm0
call fcn.10011cc0
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x14]
call fcn.10011df0
add esp, 4
test al, al
je 0x10035aab
mov edx, dword [ebp - 0xd4]
lea ecx, [ebp - 0x60]
call fcn.10012040
mov byte [ebp - 0xce], al
test al, al
je 0x10035b98
mov dword [edi + 0x1d30], 1
mov ecx, dword [ebp - 0xd4]
lea eax, [edi + 0x1e00]
xor edx, edx
mov edi, eax
cmp dword [eax], ecx
cmovne edi, edx
mov edx, ecx
mov ecx, esi
mov dword [ebp - 0x104], edi
call fcn.100122b0
mov edx, dword [ebp - 0xc8]
mov byte [ebp - 0x109], al
test al, al
je 0x10035c42
cmp dword [edx + 0x1bdc], esi
jne 0x10035c42
mov ecx, dword [edx + 0x1be4]
cmp ecx, dword [esi + 0x164]
jne 0x10035c42
mov byte [ebp - 0xcb], 1
mov byte [ebp - 0xe6], 0
cmp byte [ebp - 0xce], 0
je 0x10035c09
cmp byte [edx + 0x3d8], 0
mov byte [ebp - 0xc1], 1
jne 0x10035c10
mov byte [ebp - 0xc1], 0
mov esi, dword [edx + 0x19e4]
mov eax, dword [ebp - 0xd4]
cmp esi, eax
je 0x10035c5d
cmp dword [edx + 0x1ae4], eax
je 0x10035c39
cmp dword [edx + 0x1ad8], eax
jne 0x10035c5d
cmp dword [edx + 0x1af8], 3
jne 0x10035c5d
mov byte [ebp - 0xca], 1
jmp 0x10035c64
mov byte [ebp - 0xcb], 0
test al, al
je 0x10035be9
mov byte [ebp - 0xe6], 1
mov byte [ebp - 0xcb], 0
jmp 0x10035bf0
mov byte [ebp - 0xca], 0
mov eax, dword [ebp - 0xf0]
test al, al
je 0x10035cb8
test edi, edi
je 0x10035cb8
test esi, esi
jne 0x10035cb8
mov eax, dword [ebp - 0x120]
xor edx, edx
mov ecx, dword [eax + 0xbc]
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1000fb00
mov ecx, dword [ebp - 0xc8]
add esp, 4
cmp dword [ecx + 0x1a18], eax
jne 0x10035cb2
mov byte [ebp - 0xc9], 1
jmp 0x10035cce
mov eax, dword [ebp - 0xf0]
mov byte [ebp - 0xc9], 0
test al, al
je 0x10035cfb
mov byte [ebp - 0xc9], 0
test edi, edi
je 0x10035cfb
mov eax, dword [ebp - 0x120]
xor edx, edx
mov ecx, dword [eax + 0xbc]
mov eax, dword [eax + 0xc4]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1000fb00
add esp, 4
cmp esi, eax
jne 0x10035cfb
mov al, 1
jmp 0x10035cfd
xor al, al
mov cl, byte [ebp - 0xca]
mov byte [ebp - 0xe5], al
mov byte [ebp - 0xf5], 0
cmp esi, dword [ebp - 0xd4]
je 0x10035d34
mov edx, dword [ebx + 0x14]
test dl, 0x10
jne 0x10035d24
test cl, cl
je 0x10035d34
cmp byte [ebp - 0xf0], 0
mov byte [ebp - 0xd8], 1
je 0x10035d3b
mov byte [ebp - 0xd8], 0
cmp byte [ebp - 0x109], 0
jne 0x10035d6f
cmp byte [ebp - 0xc1], 0
jne 0x10035d6f
cmp byte [ebp - 0xc9], 0
jne 0x10035d6f
test cl, cl
jne 0x10035d6f
mov byte [ebp - 0xc9], cl
test al, al
jne 0x10035d76
mov byte [ebp - 0xe7], al
jmp 0x10035fdb
mov byte [ebp - 0xc9], 1
mov eax, dword [ebp - 0xd4]
mov byte [ebp - 0xe7], 1
mov dword [ebp - 0x104], edi
cmp esi, eax
je 0x10035fe1
mov edi, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xec]
add edi, 0x1e00
mov dword [ebp - 0x104], edi
mov dword [edi + 0xe60], 0xbe99999a
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035db6
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x10035df3
test eax, eax
je 0x10035ddc
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10035de4
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1001fe70
push esi
push dword [ebp - 0xec]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebx + 0xc]
lea eax, [edi + 0xc]
mov esi, dword [eax + 4]
inc edx
add esp, 0xc
mov dword [ebp - 0xe4], edx
cmp edx, esi
jle 0x10035e51
test esi, esi
je 0x10035e33
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 0xe4]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x10035e38
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.1001fee0
mov edx, dword [ebp - 0xe4]
lea eax, [edi + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x10035e73
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x18]
call fcn.1001fe70
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0xec]
dec ecx
mov dword [edi + 0x18], 0
mov edx, dword [edi + 0x14]
mov esi, edx
mov byte [edi + 0x30], 0
mov dword [ebp - 0xe4], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x10035efb
mov edi, eax
nop dword [eax]
cmp byte [edi], 0
je 0x10035ee9
push 0
mov edx, edi
lea ecx, [ebp - 0xfc]
call fcn.1000fe70
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x10035ee3
cmp eax, 0xffff
ja 0x10035ed0
mov word [esi], ax
add esi, 2
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0xe4]
dec eax
lea eax, [edx + eax*2]
cmp esi, eax
jb 0x10035ea0
jmp 0x10035ee9
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xf4], edi
mov edi, dword [ebp - 0x104]
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xec]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xd4]
mov dword [edi + 4], esi
cmp dword [edi], eax
jne 0x10035f3e
cmp dword [edi + 0x3c], esi
mov ecx, esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x3c], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], esi
mov dword [edi + 0x40], ecx
cmovl esi, dword [edi + 0x44]
mov dword [edi + 0x44], esi
jmp 0x10035f9f
mov dword [edi], eax
mov dword [edi + 0x38], ecx
mov dword [edi + 0xe58], ecx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x50], ecx
mov ecx, dword [ebp - 0xf0]
mov al, cl
xor al, 1
mov dword [edi + 0xe52], 0x630000
mov dword [edi + 0xe5c], 0x3e7
mov dword [edi + 0x48], 0x10000
mov byte [edi + 0x4c], al
test cl, cl
jne 0x10035fa5
mov ecx, dword [ebp - 0xd8]
mov eax, 1
cmp byte [ebp - 0xcb], 0
movzx ecx, cl
cmovne ecx, eax
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0xf0]
test dword [ebx + 0x14], 0x2000
je 0x10035fb2
mov byte [edi + 0x48], 1
test cl, cl
jne 0x10035fdb
cmp byte [ebp - 0xe6], cl
jne 0x10035fd4
cmp byte [ebp - 0xc1], cl
je 0x10035fdb
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x100], cl
je 0x10035fdb
mov byte [ebp - 0xd8], 1
mov eax, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xc8]
cmp dword [esi + 0x19e4], eax
je 0x100360a8
cmp byte [ebp - 0xc9], 0
je 0x100360a0
mov edx, dword [ebp - 0x124]
mov ecx, eax
call fcn.10011b20
mov ecx, dword [ebp - 0xd4]
call fcn.10011c00
mov ecx, edx
call fcn.10019d30
mov eax, dword [esi + 0x19f8]
mov edx, dword [ebx + 0x14]
or eax, 3
cmp byte [ebp - 0xf0], 0
mov dword [esi + 0x19f8], eax
jne 0x1003603e
test dl, dl
jns 0x10036047
or eax, 0xc
mov dword [esi + 0x19f8], eax
mov eax, dword [esi + 0x1a00]
or dword [esi + 0x19fc], 2
or eax, 0x180
cmp byte [ebp - 0xf0], 0
mov ecx, dword [esi + 0x1a04]
mov dword [esi + 0x1a00], eax
mov dword [esi + 0x1a04], ecx
je 0x10036083
or eax, 0x60
mov dword [esi + 0x1a04], ecx
mov dword [esi + 0x1a00], eax
test edx, 0x440
je 0x1003609a
or eax, 1
mov dword [esi + 0x1a04], ecx
mov dword [esi + 0x1a00], eax
mov eax, dword [ebp - 0xd4]
cmp dword [esi + 0x19e4], eax
jne 0x100360e9
test edi, edi
jne 0x100360bb
xor edx, edx
xor ecx, ecx
call fcn.10011b20
mov eax, dword [ebp - 0xd4]
cmp dword [esi + 0x19e4], eax
jne 0x100360e9
cmp byte [esi + 0x3d8], 0
je 0x100360f6
cmp byte [ebp - 0xe7], 0
jne 0x100360f6
cmp byte [ebp - 0xc9], 0
jne 0x100360f6
mov byte [ebp - 0xf5], 1
mov cl, 1
jmp 0x100360fc
test edi, edi
je 0x100360fa
cmp byte [ebp - 0xe5], 0
je 0x100360fa
mov cl, 1
jmp 0x100360fc
xor cl, cl
mov byte [ebp - 0xc9], cl
test edi, edi
je 0x10036119
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10036119
test cl, cl
je 0x10036119
mov edx, 1
jmp 0x1003611b
xor dl, dl
cmp byte [ebp - 0x108], 0
mov dword [ebp - 0x130], edx
mov byte [ebp - 0xfd], dl
mov byte [ebp - 0x109], 0
mov byte [ebp - 0xe6], 0
je 0x10036261
test edi, edi
je 0x10036261
test cl, cl
jne 0x10036156
test dl, dl
je 0x10036269
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x10036190
test eax, eax
je 0x10036176
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1003617e
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1001fee0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0xec]
mov dword [edi + 0xc], esi
mov edx, dword [edi + 0x14]
mov esi, edx
mov dword [ebp - 0xe4], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x1003620a
mov edi, eax
nop dword [eax]
cmp byte [edi], 0
je 0x100361f8
push 0
mov edx, edi
lea ecx, [ebp - 0xfc]
call fcn.1000fe70
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x100361f2
cmp eax, 0xffff
ja 0x100361e0
mov word [esi], ax
add esi, 2
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebx + 0xc]
lea eax, [edx + ecx*2]
cmp esi, eax
jb 0x100361b0
jmp 0x100361f8
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xf4], edi
mov edi, dword [ebp - 0x104]
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xec]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
cmp dword [edi + 0x3c], esi
mov ecx, esi
mov dword [edi + 4], esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x3c], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], esi
mov dword [edi + 8], eax
cmovl esi, dword [edi + 0x44]
xor edx, edx
movzx eax, byte [ebp - 0xfd]
cmp ecx, esi
mov dword [edi + 0x40], ecx
mov cl, byte [ebp - 0xc9]
cmovne edx, eax
mov dword [edi + 0x44], esi
mov esi, dword [ebp - 0xc8]
mov dword [ebp - 0x130], edx
test cl, cl
jne 0x10036277
test dl, dl
jne 0x10036277
mov eax, dword [ebp - 0xd4]
cmp dword [esi + 0x19e4], eax
jne 0x10036291
cmp byte [ebp - 0x108], 0
jne 0x10036291
test edi, edi
je 0x10036291
cmp byte [edi + 0x30], 0
mov byte [ebp - 0xfd], 1
jne 0x10036298
mov byte [ebp - 0xfd], 0
cmp byte [ebp - 0x16c], 0
je 0x1003634b
mov esi, dword [esi + 0x18c0]
cmp dword [esi + 0x14], 0x2a
jg 0x100362b6
mov eax, dword [esi + 0x2c]
jmp 0x100362d5
mov eax, dword [esi + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x100362cc
mov eax, dword [esi + 0x2c]
jmp 0x100362d5
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea eax, [eax + ecx*8]
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xf4], eax
add edx, 0x2c74
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 0xc8]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x18c0]
mov eax, dword [eax + 0x48]
mov dword [edx + 0x48], eax
mov eax, dword [esi + 0x18c0]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [edx + 0x30], ecx
mov ecx, edx
mov dword [edx + 0x34], eax
mov eax, dword [esi + 0x18c0]
mov eax, dword [eax + 0x4c]
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x18c0]
mov eax, dword [eax + 0x50]
mov dword [edx + 0x50], eax
mov eax, dword [esi + 0x18c0]
mov eax, dword [eax + 0x38]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0xf4]
mov dword [edx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [edx + 0xc], eax
call fcn.1001a090
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x124], 0
cmp dword [esi + 0x19e4], ecx
jne 0x1003679a
mov eax, dword [edi + 8]
mov dword [ebp - 0x124], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x34], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0xe68], eax
mov dword [edi + 0xe6c], 0
mov dword [edi + 0xe70], 0
mov dl, byte [esi + 0xf0]
test dl, dl
mov dword [esi + 0x2f7c], 1
sete al
cmp byte [ebp - 0xf0], 0
mov byte [esi + 0x19f1], al
movss xmm7, dword [esi + 0xe8]
subss xmm7, dword [ebp - 0x60]
subss xmm7, dword [esi + 0x1548]
addss xmm7, dword [edi + 0x38]
je 0x100363f1
mov eax, dword [ebp - 0x120]
movss xmm2, dword [esi + 0xec]
subss xmm2, dword [eax + 0xcc]
subss xmm2, dword [esi + 0x154c]
jmp 0x10036401
movss xmm2, dword [esi + 0x18c4]
mulss xmm2, dword [0x10045b58]
cmp byte [ebp - 0xd8], 0
mov al, byte [esi + 0xb1]
mov byte [ebp - 0xfe], al
jne 0x10036598
mov cl, byte [ebp - 0xce]
test cl, cl
je 0x10036434
test al, al
jne 0x1003649e
cmp byte [esi + 0x3dd], al
jne 0x10036598
mov esi, dword [ebp - 0xc8]
mov al, byte [edi + 0xe65]
cmp byte [esi + 0x3d8], 0
je 0x100364fe
test al, al
jne 0x100364fe
test cl, cl
je 0x10036493
cmp byte [edi + 0x4c], al
je 0x10036472
push 0
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.10033e40
movss xmm2, dword [ebp - 0x34]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10034150
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x4b], 0
mov dword [edi + 0xe60], 0xbe99999a
lea ecx, [edi + 0xe65]
jmp 0x100365b9
cmp byte [esi + 0x3dd], 0
je 0x10036434
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10034530
add esp, 4
mov byte [edi + 0xe64], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe60], 0xbe99999a
mov ecx, edi
push 0x60000d
call fcn.10034530
mov esi, dword [ebp - 0xc8]
lea ecx, [edi + 0xe65]
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
jmp 0x100365b9
lea ecx, [edi + 0xe65]
test dl, dl
je 0x100365b9
lea ecx, [edi + 0xe65]
test al, al
jne 0x100365b9
mov edx, esi
xorps xmm1, xmm1
movss xmm0, dword [edx + 0x378]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10036547
movss xmm0, dword [edx + 0x37c]
lea ecx, [edi + 0xe65]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100365b7
cmp byte [edi + 0x4c], 0
je 0x10036561
push 0
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.10033e40
movss xmm2, dword [ebp - 0x34]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1003656f
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.10034150
mov dword [edi + 0x44], eax
lea ecx, [edi + 0xe65]
mov dword [edi + 0x3c], eax
mov dword [edi + 0xe60], 0xbe99999a
mov byte [edi + 0xe64], 1
jmp 0x100365b9
mov eax, dword [edi + 4]
lea ecx, [edi + 0xe65]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
mov byte [ecx], 1
jmp 0x100365b9
mov esi, edx
cmp byte [ecx], 0
je 0x100365ca
cmp byte [esi + 0xf0], 0
jne 0x100365ca
mov byte [ecx], 0
cmp byte [esi + 0x100], 0
je 0x100365dc
cmp byte [esi + 0x102], 0
je 0x100365ee
cmp byte [ebp - 0xfe], 0
je 0x100365f7
cmp byte [esi + 0x103], 0
je 0x100365f7
mov byte [ebp - 0xc1], 1
jmp 0x100365fe
mov byte [ebp - 0xc1], 0
mov edx, dword [ebx + 0x14]
test edx, 0x400
je 0x1003681a
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1003681a
call fcn.10014a40
mov ecx, dword [ebp - 0x108]
test al, al
mov al, byte [ebp - 0xc1]
je 0x100366c2
test al, al
jne 0x100366c2
cmp byte [esi + 0x101], al
jne 0x100366c2
test cl, cl
jne 0x100366c2
mov ecx, dword [esi + 0x1508]
mov eax, dword [esi + 0x1500]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x10036670
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x100366b6
cmp ecx, edx
jb 0x10036660
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xe4]
sub esp, 8
mov dword [ebp - 0xe4], 9
call fcn.10035500
add esp, 8
test al, al
je 0x100366b6
push dword [ebp - 0xe4]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10034530
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
mov al, byte [ebp - 0xc1]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebx + 0x14]
add esi, 0x1500
mov dword [ebp - 0xfc], esi
cmp dword [esi], 0
jle 0x10036794
test al, al
jne 0x1003676f
test cl, cl
jne 0x1003676f
cmp byte [ebp - 0xca], cl
jne 0x1003676f
mov ecx, dword [ebp - 0xc8]
xor esi, esi
nop
mov eax, dword [ecx + 0x1508]
movzx eax, word [eax + esi*2]
mov dword [ebp - 0xe4], eax
cmp eax, 9
jne 0x1003671e
cmp byte [ecx + 0x101], 0
jne 0x1003675d
sub esp, 8
lea ecx, [ebp - 0xe4]
call fcn.10035500
add esp, 8
test al, al
je 0x10036757
push dword [ebp - 0xe4]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10034530
add esp, 4
mov byte [edi + 0xe64], 1
mov dword [edi + 0xe60], 0xbe99999a
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebx + 0x14]
inc esi
cmp esi, dword [ecx + 0x1500]
jl 0x10036700
mov esi, dword [ebp - 0xfc]
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1003678e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1001fee0
mov dword [esi], 0
mov esi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xd4]
xor cl, cl
mov byte [ebp - 0xc2], cl
cmp dword [esi + 0x19e4], eax
jne 0x1003793a
cmp byte [esi + 0x19f0], cl
jne 0x10037371
cmp byte [ebp - 0xf5], cl
jne 0x10037371
mov ah, byte [esi + 0x101]
mov ecx, 0x400000
xor esi, esi
test ah, ah
cmovne esi, ecx
mov ecx, dword [ebp - 0xc8]
mov al, byte [ecx + 0xb1]
mov byte [ebp - 0x125], al
test al, al
mov al, byte [ecx + 0x100]
je 0x10036833
cmp byte [ecx + 0x103], 0
lea edx, [ecx + 0x103]
mov dword [ebp - 0xd8], edx
je 0x1003682b
test al, al
jne 0x1003682b
mov ecx, 1
jmp 0x1003682d
mov al, byte [ebp - 0xc1]
mov ecx, dword [ebp - 0x108]
jmp 0x100366c5
xor ecx, ecx
test ecx, ecx
je 0x10036865
jmp 0x10036848
add ecx, 0x103
test al, al
je 0x1003685f
cmp byte [ecx], 0
jne 0x1003685f
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0xc8]
cmp byte [ecx + 0x102], 0
jne 0x10036865
test ah, ah
jne 0x10036865
mov ch, 1
jmp 0x10036867
mov dword [ebp - 0xd8], ecx
xor ch, ch
mov dh, byte [ebp - 0x125]
mov cl, al
mov byte [ebp - 0xcb], ch
test dh, dh
je 0x100368ce
mov edi, dword [ebp - 0xc8]
cmp byte [edi + 0x103], 0
mov edi, dword [ebp - 0x104]
je 0x100368ce
test ah, ah
je 0x100368ce
mov edi, dword [ebp - 0xc8]
mov dl, byte [edi + 0x100]
mov edi, dword [ebp - 0x104]
mov cl, dl
mov byte [ebp - 0xc1], dl
test dl, dl
jne 0x100368ce
mov edi, dword [ebp - 0xc8]
cmp byte [edi + 0x102], 0
mov edi, dword [ebp - 0x104]
jne 0x100368ce
mov byte [ebp - 0xce], 1
jmp 0x100368e5
mov byte [ebp - 0xc1], cl
mov dl, cl
mov byte [ebp - 0xce], 0
test dh, dh
je 0x100369c8
mov edi, dword [ebp - 0xc8]
mov al, byte [edi + 0x102]
mov edi, dword [ebp - 0xd8]
mov byte [ebp - 0xcd], al
cmp byte [edi], 0
mov edi, dword [ebp - 0x104]
je 0x100369dd
test dl, dl
jne 0x100369dd
test al, al
jne 0x100369dd
mov byte [ebp - 0xcc], 1
mov cl, byte [ebp - 0xcc]
mov byte [ebp - 0xe5], cl
mov byte [ebp - 0xcc], cl
mov byte [ebp - 0xcd], al
mov byte [ebp - 0xca], 0
test ah, ah
je 0x10036a2d
mov byte [ebp - 0xcc], cl
mov byte [ebp - 0xcd], al
mov byte [ebp - 0xca], 0
test dl, dl
jne 0x10036a2d
mov byte [ebp - 0xca], dl
mov edx, dword [ebp - 0xc8]
mov byte [ebp - 0xcc], cl
mov byte [ebp - 0xcd], al
cmp byte [edx + 0x102], 0
jne 0x10036a2d
mov edx, dword [ebp - 0xd8]
mov byte [ebp - 0xcc], cl
mov byte [ebp - 0xcd], al
mov byte [ebp - 0xca], 0
cmp byte [edx], 0
jne 0x10036a2d
mov byte [ebp - 0xd9], 1
mov byte [ebp - 0xcc], cl
mov byte [ebp - 0xcd], al
mov byte [ebp - 0xca], 0
jmp 0x10036a34
mov al, dl
mov byte [ebp - 0xcd], dl
mov byte [ebp - 0xce], 0
mov byte [ebp - 0xc1], dl
mov byte [ebp - 0xcc], 0
test dl, dl
je 0x10036923
test ah, ah
jne 0x10036923
mov edi, dword [ebp - 0xc8]
cmp byte [edi + 0x102], ah
mov edi, dword [ebp - 0x104]
jne 0x10036923
mov edi, dword [ebp - 0xd8]
cmp byte [edi], ah
mov edi, dword [ebp - 0x104]
jne 0x10036923
mov byte [ebp - 0xca], 1
mov byte [ebp - 0xe5], ah
mov byte [ebp - 0xd9], 0
test ch, ch
je 0x10036a50
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x80]
test ecx, ecx
js 0x10036a50
call fcn.10014a40
test al, al
jne 0x10036a6e
cmp byte [ebp - 0xd9], 0
je 0x10036a9a
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10036a9a
call fcn.10014a40
test al, al
je 0x10036a9a
cmp byte [ebp - 0x108], 0
jne 0x10036a9a
cmp byte [ebp - 0x16c], 0
jne 0x10036a9a
cmp byte [ebp - 0xf0], 0
je 0x10036a91
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10036a9a
mov byte [ebp - 0xe7], 1
jmp 0x10036aa1
mov byte [ebp - 0xe7], 0
cmp byte [ebp - 0xcb], 0
je 0x10036abf
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x10036abf
call fcn.10014a40
test al, al
jne 0x10036add
cmp byte [ebp - 0xca], 0
je 0x10036b00
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x10036b00
call fcn.10014a40
test al, al
je 0x10036b00
cmp byte [ebp - 0x16c], 0
jne 0x10036b00
cmp byte [ebp - 0xf0], 0
je 0x10036af7
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10036b00
mov byte [ebp - 0xca], 1
jmp 0x10036b07
mov byte [ebp - 0xca], 0
cmp byte [ebp - 0xcb], 0
je 0x10036b25
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x10036b25
call fcn.10014a40
test al, al
jne 0x10036b43
cmp byte [ebp - 0xd9], 0
je 0x10036b53
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x10036b53
call fcn.10014a40
test al, al
je 0x10036b53
cmp byte [ebp - 0x108], 0
mov byte [ebp - 0xfe], 1
je 0x10036b5a
mov byte [ebp - 0xfe], 0
mov dl, byte [ebp - 0xcb]
test dl, dl
je 0x10036b9d
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x10036b9d
call fcn.10014a40
test al, al
je 0x10036b97
cmp byte [ebp - 0x108], 0
jne 0x10036b97
cmp byte [ebp - 0x138], 0
je 0x10036b97
mov byte [ebp - 0xd9], 1
jmp 0x10036ba8
mov dl, byte [ebp - 0xcb]
mov byte [ebp - 0xd9], 0
test dl, dl
je 0x10036bc0
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x10036bc0
call fcn.10014a40
test al, al
jne 0x10036be1
cmp byte [ebp - 0xce], 0
je 0x10036bfa
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x10036bfa
call fcn.10014a40
test al, al
je 0x10036bfa
cmp byte [ebp - 0x108], 0
jne 0x10036bfa
cmp byte [ebp - 0x138], 0
mov byte [ebp - 0xce], 1
jne 0x10036c01
mov byte [ebp - 0xce], 0
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x10036c5c
call fcn.10014a40
test al, al
je 0x10036c5c
cmp byte [ebp - 0xe5], 0
je 0x10036c36
mov eax, 0x200004
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.10034530
jmp 0x1003732e
cmp byte [ebp - 0xcd], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000c
mov eax, 0x200000
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.10034530
jmp 0x1003732e
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x10036cb7
call fcn.10014a40
test al, al
je 0x10036cb7
cmp byte [ebp - 0xe5], 0
je 0x10036c91
mov eax, 0x200005
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.10034530
jmp 0x1003732e
cmp byte [ebp - 0xcd], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000d
mov eax, 0x200001
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.10034530
jmp 0x1003732e
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10036d30
call fcn.10014a40
test al, al
je 0x10036d30
cmp byte [ebp - 0xf0], 0
je 0x10036d30
cmp byte [ebp - 0xc1], 0
je 0x10036d10
mov edx, dword [ebp - 0x120]
mov esi, dword [ebp - 0xc8]
movss xmm0, dword [edx + 0x54]
subss xmm0, dword [esi + 0x18c4]
mov dword [edx + 0x6c], 0
maxss xmm0, dword [0x10045b04]
movss dword [edx + 0x64], xmm0
jmp 0x10037348
movzx eax, byte [ebp - 0xcc]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.10034530
jmp 0x1003732e
mov ecx, dword [0x1004995c]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
js 0x10036db2
call fcn.10014a40
test al, al
je 0x10036db2
cmp byte [ebp - 0xf0], 0
je 0x10036db2
cmp byte [ebp - 0xc1], 0
je 0x10036d92
mov esi, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x120]
mov eax, dword [0x1004995c]
movss xmm0, dword [esi + 0x18c4]
addss xmm0, dword [ecx + 0x54]
mov eax, dword [eax + 0x19b0]
minss xmm0, dword [eax + 0x5c]
mov dword [ecx + 0x6c], 0
movss dword [ecx + 0x64], xmm0
jmp 0x10037348
movzx eax, byte [ebp - 0xcc]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.10034530
jmp 0x1003732e
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x10036dee
call fcn.10014a40
test al, al
je 0x10036dee
mov eax, esi
lea edx, [edi + 0x3c]
or eax, 0x200006
or esi, 0x200004
cmp byte [ebp - 0xc1], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.10034530
jmp 0x1003732e
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x10036e2a
call fcn.10014a40
test al, al
je 0x10036e2a
mov eax, esi
lea edx, [edi + 0x3c]
or eax, 0x200007
or esi, 0x200005
cmp byte [ebp - 0xc1], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.10034530
jmp 0x1003732e
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x10036e5e
call fcn.10014a40
test al, al
je 0x10036e5e
cmp byte [ebp - 0x108], 0
jne 0x10036e5e
or esi, 0x200008
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10034530
jmp 0x1003732e
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x10036f05
call fcn.10014a40
test al, al
je 0x10036f05
cmp byte [ebp - 0x108], 0
jne 0x10036f05
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x10036eef
cmp byte [ebp - 0xcd], 0
je 0x10036ea0
push 0x60000c
jmp 0x10036ed1
cmp byte [ebp - 0x125], 0
je 0x10036eef
mov eax, dword [ebp - 0xd8]
cmp byte [eax], 0
je 0x10036eef
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x102], 0
jne 0x10036eef
cmp byte [ebp - 0xc1], 0
jne 0x10036eef
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10034530
mov dword [edi + 0xe60], 0xbe99999a
add esp, 4
mov byte [edi + 0xe64], 1
or esi, 0x200009
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.10034530
jmp 0x1003732e
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x10036f1a
call fcn.10014a40
test al, al
jne 0x10036f37
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x10036fba
call fcn.10014a40
test al, al
je 0x10036fba
mov ecx, dword [ebx + 0x14]
mov eax, ecx
shr eax, 0xb
and al, 1
cmp byte [ebp - 0xf0], 0
je 0x10036f57
test al, al
je 0x10036f6a
cmp byte [ebp - 0xc1], 0
jne 0x10036f73
mov byte [ebp - 0xf5], 1
mov byte [ebp - 0xe6], 1
jmp 0x10037342
cmp byte [ebp - 0xc1], 0
jne 0x10036f57
cmp byte [ebp - 0x108], 0
jne 0x10037342
sub esp, 8
mov dword [ebp - 0xe4], 0xa
mov edx, ecx
lea ecx, [ebp - 0xe4]
call fcn.10035500
add esp, 8
test al, al
je 0x10037342
push dword [ebp - 0xe4]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10034530
jmp 0x1003732e
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x10036fe2
call fcn.10014a40
test al, al
je 0x10036fe2
mov esi, dword [ebp - 0xc8]
mov cl, 1
mov byte [ebp - 0xf5], cl
jmp 0x1003734e
mov al, byte [ebp - 0xd9]
test al, al
jne 0x1003730f
cmp byte [ebp - 0xce], al
jne 0x1003730f
cmp byte [ebp - 0xcb], al
je 0x10037032
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x10037032
call fcn.10014a40
test al, al
je 0x10037032
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
jmp 0x1003733b
mov al, byte [ebp - 0xe7]
test al, al
jne 0x100371f5
cmp byte [ebp - 0xca], al
jne 0x100371f5
cmp byte [ebp - 0xfe], al
je 0x10037342
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x1003707d
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x10037082
jmp 0x10037342
mov esi, 0x1003f45f
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037087
mov eax, dword [0x1004995c]
sub ecx, edx
test eax, eax
je 0x1003709f
inc dword [eax + 0x374]
lea eax, [ecx*2 + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd8], eax
cmp byte [esi], al
je 0x1003712a
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0xf4]
call fcn.1000fe70
add esp, 4
add esi, eax
cmp dword [ebp - 0xf4], 0
je 0x10037112
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xf4]
sub esp, 8
call fcn.10035500
add esp, 8
test al, al
je 0x1003710d
mov ecx, dword [ebp - 0xe0]
mov ax, word [ebp - 0xf4]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x100370c6
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xd8], edi
mov edi, dword [ebp - 0x104]
mov eax, dword [ebp - 0xd8]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x100371d3
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x1003715e
cmp ecx, eax
jle 0x1003714e
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x10037157
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x1003715e
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x10037166
mov dword [edi + 0x3c], eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100344a0
push dword [ebp - 0xd8]
mov edx, dword [edi + 0x3c]
mov ecx, edi
push dword [ebp - 0xe0]
call fcn.10034020
add esp, 8
test al, al
je 0x100371b2
push dword [ebp - 0xd8]
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x54]
push 0
call fcn.100351f0
mov eax, dword [ebp - 0xd8]
add esp, 8
add dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 0
jmp 0x100371c6
movzx eax, word [edi + 0xe52]
test ax, ax
je 0x100371c6
dec eax
mov word [edi + 0xe52], ax
mov ecx, dword [ebp - 0xe0]
mov byte [edi + 0xe64], 1
test ecx, ecx
je 0x100371e6
mov eax, dword [0x1004995c]
test eax, eax
je 0x100371e6
dec dword [eax + 0x374]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10037342
mov esi, dword [ebp - 0xc8]
cmp dword [esi + 0xd4], 0
je 0x100372cf
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1003721c
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x10037221
mov ecx, dword [edi + 4]
xor esi, esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0x138], esi
lea edx, [eax + ecx*2]
lea ecx, [eax + esi*2]
call fcn.10010130
mov ecx, dword [0x1004995c]
inc eax
mov dword [ebp - 0xfc], eax
test ecx, ecx
je 0x10037252
inc dword [ecx + 0x374]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x114], eax
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [ebp - 0x138]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.10010000
mov eax, dword [0x1004995c]
add esp, 8
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x100372ab
push esi
push dword [eax + 0xd8]
call ecx
mov eax, dword [0x1004995c]
add esp, 8
test esi, esi
je 0x100372b9
test eax, eax
je 0x100372b9
dec dword [eax + 0x374]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, byte [ebp - 0xe7]
add esp, 4
mov esi, dword [ebp - 0xc8]
test al, al
je 0x10037348
mov eax, dword [edi + 0x40]
lea esi, [edi + 0x3c]
cmp eax, dword [edi + 0x44]
jne 0x100372f1
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [esi], eax
mov byte [edi + 0x4b], 0
mov byte [edi + 0xe64], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10037342
mov edx, esi
mov ecx, edi
call fcn.100344a0
mov byte [esi + 0xf], 0
jmp 0x10037342
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.10034530
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
add esp, 4
mov dword [edi + 0xe60], 0xbe99999a
mov byte [edi + 0xe64], 1
mov esi, dword [ebp - 0xc8]
mov cl, byte [ebp - 0xc2]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x10037363
cmp byte [ebp - 0xc9], 0
je 0x10037363
mov al, 1
jmp 0x10037365
xor al, al
or byte [ebp - 0x130], al
mov eax, dword [ebp - 0xd4]
cmp dword [esi + 0x19e4], eax
jne 0x1003793a
xor eax, eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0xd8], eax
test cl, cl
je 0x100374b7
cmp byte [ebp - 0x108], al
jne 0x100373e9
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0xec]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100373d0
test dl, dl
je 0x100373cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100373d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100373b0
xor eax, eax
jmp 0x100373d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x100373e9
mov eax, dword [edi + 0x24]
dec eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0xd8], eax
cmp byte [ebp - 0xe6], 0
mov edx, dword [ebx + 0x14]
je 0x100373fe
test dl, 0x20
jne 0x100374ba
mov esi, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xd8]
test esi, esi
je 0x10037916
cmp dword [ebp - 0x124], ecx
je 0x100378d8
cmp byte [ebp - 0x164], 0
je 0x100378d8
mov eax, dword [ebp - 0xec]
xorps xmm0, xmm0
mov dword [ebp - 0xac], eax
lea eax, [ecx + 1]
cmp dword [ebx + 0xc], eax
movlpd qword [ebp - 0xb4], xmm0
cmovge eax, dword [ebx + 0xc]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xc0]
push eax
xor eax, eax
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
mov dword [ebp - 0xc0], 0x40000
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xb8], 0
call eax
mov edx, dword [ebp - 0xa4]
add esp, 4
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xec], eax
lea ecx, [edx - 1]
cmp dword [ebp - 0xa8], ecx
cmovl ecx, dword [ebp - 0xa8]
jmp 0x100378db
mov edx, dword [ebx + 0x14]
cmp byte [ebp - 0x108], 0
jne 0x1003751f
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
mov byte [edi + 0x30], 1
lea esi, [eax*4 + 1]
mov eax, dword [ecx + 4]
cmp esi, eax
jle 0x10037508
test eax, eax
je 0x100374ee
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100374f6
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1001fe70
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.10010000
mov edx, dword [ebx + 0x14]
add esp, 8
test edx, 0x1c0
je 0x10037883
xor esi, esi
test dl, 0x40
je 0x10037553
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x10037553
call fcn.10014a40
mov edx, dword [ebx + 0x14]
test al, al
je 0x10037553
mov esi, 0x40
xor eax, eax
jmp 0x100375ae
test dl, dl
jns 0x1003759b
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10037579
call fcn.10014a40
mov edx, dword [ebx + 0x14]
test al, al
je 0x10037579
mov esi, 0x80
lea eax, [esi - 0x7d]
jmp 0x100375ae
mov eax, dword [0x1004995c]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1003759b
call fcn.10014a40
mov edx, dword [ebx + 0x14]
test al, al
je 0x1003759b
mov esi, 0x80
lea eax, [esi - 0x7c]
jmp 0x100375ae
test edx, 0x100
mov eax, 0x100
cmovne esi, eax
mov eax, 0x16
test esi, esi
je 0x10037883
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x90], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x3c]
mov word [ebp - 0x6f], cx
mov byte [ebp - 0x6d], cl
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], ecx
lea edx, [esi + eax*2]
mov byte [ebp - 0x70], cl
mov ecx, esi
mov dword [ebp - 0x84], 0
call fcn.10010130
mov ecx, dword [ebp - 0x104]
mov edi, eax
mov dword [ebp - 0x6c], edi
mov ecx, dword [ecx + 0x40]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10010130
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x44]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10010130
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x90]
push eax
xor eax, eax
call eax
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x118], eax
cmp ecx, edi
je 0x100376c8
lea edi, [ecx + eax]
mov esi, eax
xor eax, eax
mov dword [ebp - 0xe0], eax
nop dword [eax + eax]
test edi, edi
je 0x10037678
cmp esi, edi
jae 0x100376b0
cmp byte [esi], 0
je 0x100376b0
push edi
mov edx, esi
lea ecx, [ebp - 0xfc]
call fcn.1000fe70
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x100376aa
cmp eax, 0xffff
mov eax, dword [ebp - 0xe0]
ja 0x10037670
inc eax
jmp 0x10037665
mov eax, dword [ebp - 0xe0]
mov edi, dword [ebp - 0x104]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x118]
mov byte [edi + 0xe64], 1
jmp 0x100376ce
mov edi, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x114]
je 0x10037735
lea edi, [ecx + eax]
mov esi, eax
xor eax, eax
mov dword [ebp - 0xe0], eax
test edi, edi
je 0x100376ee
cmp esi, edi
jae 0x10037726
cmp byte [esi], 0
je 0x10037726
push edi
mov edx, esi
lea ecx, [ebp - 0xfc]
call fcn.1000fe70
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x10037720
cmp eax, 0xffff
mov eax, dword [ebp - 0xe0]
ja 0x100376e6
inc eax
jmp 0x100376e0
mov eax, dword [ebp - 0xe0]
mov edi, dword [ebp - 0x104]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0xe4]
je 0x10037799
lea edi, [ecx + eax]
mov esi, eax
xor eax, eax
mov dword [ebp - 0xe0], eax
nop dword [eax]
test edi, edi
je 0x10037758
cmp esi, edi
jae 0x10037790
cmp byte [esi], 0
je 0x10037790
push edi
mov edx, esi
lea ecx, [ebp - 0xfc]
call fcn.1000fe70
add esi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x1003778a
cmp eax, 0xffff
mov eax, dword [ebp - 0xe0]
ja 0x10037750
inc eax
jmp 0x10037747
mov eax, dword [ebp - 0xe0]
mov edi, dword [ebp - 0x104]
mov dword [edi + 0x44], eax
cmp byte [ebp - 0x70], 0
je 0x10037880
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x124]
cmp esi, ecx
jle 0x100377fb
cmp byte [ebp - 0x164], 0
je 0x100377fb
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x100377f8
test eax, eax
je 0x100377d8
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100377e0
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1001fee0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x118], eax
mov dword [edi + 0xc], esi
mov ecx, dword [edi + 0x14]
mov esi, ecx
mov eax, dword [edi + 0xc]
dec eax
mov dword [ebp - 0xe4], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x114], eax
cmp ecx, eax
jae 0x10037864
mov edi, dword [ebp - 0x118]
nop dword [eax]
cmp byte [edi], 0
je 0x10037858
push 0
mov edx, edi
lea ecx, [ebp - 0xfc]
call fcn.1000fe70
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x10037858
cmp eax, 0xffff
ja 0x10037850
mov word [esi], ax
add esi, 2
cmp esi, dword [ebp - 0x114]
jb 0x10037820
mov edi, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xe4]
xor eax, eax
mov word [esi], ax
sub esi, ecx
mov eax, dword [ebp - 0x78]
sar esi, 1
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xe60], 0xbe99999a
mov edx, dword [ebx + 0x14]
cmp byte [ebp - 0x108], 0
jne 0x100373fe
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp - 0xec]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100378c0
test dl, dl
je 0x100378bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100378c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100378a0
xor eax, eax
jmp 0x100378c5
sbb eax, eax
or eax, 1
mov edx, dword [ebx + 0x14]
test eax, eax
je 0x100373fe
mov ecx, dword [edi + 8]
jmp 0x1003740a
mov edx, dword [ebx + 0xc]
lea eax, [ecx + 1]
cmp eax, edx
cmovl edx, eax
mov dword [ebx + 0xc], edx
cmp edx, 1
jb 0x1003790f
jbe 0x10037904
lea eax, [edx - 1]
push eax
push esi
push dword [ebp - 0xec]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov edx, dword [ebx + 0xc]
add esp, 0xc
mov eax, dword [ebp - 0xec]
mov byte [eax + edx - 1], 0
mov byte [ebp - 0x109], 1
mov esi, dword [ebp - 0xc8]
mov dword [edi + 0xe68], 0
mov dword [edi + 0xe6c], 0
mov dword [edi + 0xe70], 0
cmp byte [ebp - 0xf5], 0
mov ecx, dword [ebp - 0xd4]
je 0x10037960
cmp dword [esi + 0x19e4], ecx
jne 0x10037960
xor edx, edx
xor ecx, ecx
call fcn.10011b20
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xf0]
test dl, dl
jne 0x10037a22
mov edx, ecx
lea ecx, [ebp - 0x60]
push 1
call fcn.10010f10
movss xmm1, dword [0x10045b88]
add esp, 4
mov ecx, 7
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.100102d0
movss xmm2, dword [esi + 0x1550]
mov dl, 1
mov ecx, eax
call fcn.10010840
movss xmm5, dword [ebp - 0x60]
add esp, 0x10
movss xmm3, dword [ebp - 0x5c]
movaps xmm0, xmm5
addss xmm0, dword [esi + 0x1548]
movss xmm4, dword [ebp - 0x134]
movaps xmm1, xmm3
addss xmm1, dword [ebp - 0x148]
mov edx, dword [ebp - 0xf0]
movaps xmm2, xmm4
addss xmm2, xmm5
movss dword [ebp - 0x50], xmm5
movss dword [ebp - 0xc], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esi + 0x154c]
movss dword [ebp - 0x4c], xmm3
movss dword [ebp - 0x124], xmm1
movss dword [ebp - 0xfc], xmm2
movss dword [ebp - 0x48], xmm2
movss dword [ebp - 8], xmm0
movss dword [ebp - 0xf4], xmm2
jmp 0x10037a8b
movss xmm0, dword [ebp - 0x60]
movss xmm1, dword [ebp - 0x5c]
movss xmm4, dword [ebp - 0x134]
movaps xmm2, xmm1
mov ecx, dword [ebp - 0x120]
movaps xmm3, xmm4
addss xmm2, dword [ebp - 0x148]
addss xmm3, xmm0
movss dword [ebp - 0x50], xmm0
movss dword [ebp - 0x4c], xmm1
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
movss dword [ebp - 0x124], xmm2
movaps xmm1, xmm2
movaps xmm0, xmm3
movss dword [ebp - 0xf4], xmm3
movss dword [ebp - 0xfc], xmm0
movss dword [ebp - 0x48], xmm0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
cmp byte [ebp - 0xfd], 0
lea eax, [ebp - 0xc]
movss xmm0, dword [eax + 4]
movss xmm6, dword [eax]
movss dword [ebp - 0xd8], xmm0
movss dword [ebp - 0x13c], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x110], eax
movss dword [ebp - 0x44], xmm1
movss dword [ebp - 0x12c], xmm1
movss dword [ebp - 0x164], xmm6
movss dword [ebp - 0x140], xmm6
movss dword [ebp - 0x138], xmm0
movss dword [ebp - 0xe4], xmm0
je 0x10037af1
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0xec], ecx
jmp 0x10037af7
mov ecx, dword [ebp - 0xec]
cmp byte [ebp - 0xc9], 0
jne 0x10037d51
cmp byte [ebp - 0x130], 0
jne 0x10037d51
test dl, dl
je 0x10037b75
mov eax, dword [ebp - 0xec]
xor ecx, ecx
mov dl, byte [eax]
lea esi, [eax + 1]
test dl, dl
je 0x10037b38
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [esi]
cmovne eax, ecx
inc esi
mov ecx, eax
test dl, dl
jne 0x10037b26
mov al, byte [esi - 1]
dec esi
mov dword [ebp - 0xd4], esi
cmp al, 0xa
je 0x10037b4b
cmp al, 0xd
je 0x10037b4b
inc ecx
mov eax, dword [ebp - 0xc8]
movaps xmm0, xmm4
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
movss dword [ebp - 0x138], xmm0
mulss xmm7, dword [eax + 0x18c4]
movss dword [ebp - 0xe4], xmm7
jmp 0x10037bbc
mov eax, dword [ebp - 0xd4]
cmp dword [esi + 0x19e4], eax
jne 0x10037b8a
mov esi, dword [edi + 8]
add esi, ecx
jmp 0x10037ba7
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037b90
mov esi, dword [ebp - 0xec]
sub ecx, edx
add esi, ecx
mov ecx, dword [ebp - 0xec]
mov eax, esi
mov dword [ebp - 0xd4], esi
sub eax, ecx
cmp eax, 0x200000
jge 0x10038945
movss xmm1, dword [0x10045b88]
xor ecx, ecx
call fcn.100102d0
mov ecx, dword [ebp - 0xc8]
lea edx, [ebp - 0x50]
movss xmm2, dword [ecx + 0x18c4]
lea edi, [ecx + 0x18c4]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x120]
mov esi, dword [eax + 0x274]
mov eax, dword [ecx + 0x18c0]
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xf4], eax
xor eax, eax
cmp byte [ebp - 0xf0], al
mov dword [ebp - 0x164], ecx
cmovne edx, eax
test dword [ebp - 0x12c], 0xff000000
mov eax, edi
je 0x10038895
test ecx, ecx
jne 0x10037c59
mov ecx, dword [ebp - 0xec]
lea eax, [ecx + 1]
mov dword [ebp - 0xfc], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037c40
sub ecx, dword [ebp - 0xfc]
add ecx, dword [ebp - 0xec]
mov dword [ebp - 0x164], ecx
mov eax, edi
cmp dword [ebp - 0xec], ecx
je 0x10038895
cmp dword [ebp - 0xf4], 0
jne 0x10037c7c
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0xf4], eax
ucomiss xmm2, dword [0x10045b04]
lahf
test ah, 0x44
jp 0x10037c91
mov eax, dword [esi + 0x28]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
shl ecx, 4
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [ebp - 0x160], xmm0
test edx, edx
je 0x10037d09
movss xmm1, dword [edx]
movss xmm0, dword [ebp - 0x160]
comiss xmm0, xmm1
jae 0x10037cc3
movss dword [ebp - 0x160], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [ebp - 0x15c]
comiss xmm0, xmm1
jae 0x10037cdd
movss dword [ebp - 0x15c], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [ebp - 0x158]
ja 0x10037cf3
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [ebp - 0x154]
ja 0x10037d09
movss dword [ebp - 0x154], xmm0
mov eax, dword [ebp - 0x110]
test edx, edx
push dword [eax + 4]
push dword [eax]
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0x160]
mov dword [esp], 0
push dword [ebp - 0x164]
push dword [ebp - 0xec]
push eax
push dword [ebp - 0x12c]
push esi
call fcn.1002c510
mov eax, edi
jmp 0x10038895
mov eax, dword [edi + 8]
mov esi, 0xfffffc18
mov dword [ebp - 0x154], eax
xor edx, edx
add eax, ecx
movss dword [ebp - 0x114], xmm0
xorps xmm7, xmm7
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x11c], esi
cmp byte [ebp - 0xc9], dl
je 0x10037dbd
mov eax, dword [edi + 0x3c]
or esi, 0xffffffff
mov dword [ebp - 0x144], esi
lea eax, [ecx + eax*2]
mov dword [ebp - 0x150], eax
lea edx, [esi + 2]
cmp byte [ebp - 0x130], 0
je 0x10037df0
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [ebp - 0x118]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [ebp - 0x11c], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0xf0]
movzx eax, al
add edx, eax
xor eax, eax
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x118]
movzx eax, word [eax]
test ax, ax
je 0x10037e83
mov edi, dword [ebp - 0x144]
mov esi, eax
nop dword [eax]
cmp si, 0xa
jne 0x10037e63
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp edi, 0xffffffff
jne 0x10037e47
cmp ecx, dword [ebp - 0x150]
jb 0x10037e47
dec edx
mov edi, eax
test edx, edx
jle 0x10037e71
cmp dword [ebp - 0x11c], 0xffffffff
jne 0x10037e63
cmp ecx, dword [ebp - 0x14c]
jb 0x10037e63
dec edx
mov dword [ebp - 0x11c], eax
test edx, edx
jle 0x10037e71
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x10037e20
mov dword [ebp - 0x144], edi
mov edi, dword [ebp - 0x104]
mov esi, dword [ebp - 0x144]
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x150]
inc eax
cmp esi, 0xffffffff
mov dword [ebp - 0xe0], eax
mov ecx, eax
cmovne ecx, esi
mov esi, dword [ebp - 0x118]
mov dword [ebp - 0x144], ecx
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0xffffffff
cmove ecx, eax
mov dword [ebp - 0x11c], ecx
mov ecx, edx
cmp edx, esi
jbe 0x10037ed0
cmp word [ecx - 2], 0xa
je 0x10037ed0
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x10037ec2
mov eax, dword [0x1004995c]
movaps xmm1, xmm0
movaps xmm4, xmm0
mov esi, dword [eax + 0x18c0]
movss xmm3, dword [eax + 0x18c4]
divss xmm3, dword [esi + 0x10]
cmp ecx, edx
jae 0x10037f3d
mov edi, dword [ebp - 0x150]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x10037f0e
maxss xmm1, xmm4
movaps xmm4, xmm0
jmp 0x10037f33
cmp edx, 0xd
je 0x10037f33
mov edx, eax
cmp edx, dword [esi]
jge 0x10037f23
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x10037f28
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm3
addss xmm4, xmm0
xorps xmm0, xmm0
cmp ecx, edi
jb 0x10037ef8
mov edi, dword [ebp - 0x104]
cmp dword [ebp - 0x11c], 0
maxss xmm4, xmm1
movd xmm5, dword [ebp - 0x144]
mov ecx, dword [ebp - 0xc8]
cvtdq2ps xmm5, xmm5
movss xmm2, dword [ecx + 0x18c4]
mulss xmm5, xmm2
movss dword [ebp - 0x178], xmm4
movss dword [ebp - 0x17c], xmm5
jl 0x10038014
mov edx, dword [ebp - 0x14c]
mov ecx, edx
cmp edx, dword [ebp - 0x118]
jbe 0x10037fa5
mov edi, dword [ebp - 0x118]
cmp word [ecx - 2], 0xa
je 0x10037f9f
add ecx, 0xfffffffe
cmp ecx, edi
ja 0x10037f91
mov edi, dword [ebp - 0x104]
movaps xmm1, xmm0
movaps xmm7, xmm0
cmp ecx, edx
jae 0x10037ff3
nop
movzx eax, word [ecx]
add ecx, 2
cmp eax, 0xa
jne 0x10037fc4
maxss xmm1, xmm7
movaps xmm7, xmm0
jmp 0x10037fef
cmp eax, 0xd
je 0x10037fef
mov edx, eax
cmp edx, dword [esi]
jge 0x10037fd9
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x10037fde
movss xmm0, dword [esi + 0xc]
mov edx, dword [ebp - 0x14c]
mulss xmm0, xmm3
addss xmm7, xmm0
xorps xmm0, xmm0
cmp ecx, edx
jb 0x10037fb0
movd xmm0, dword [ebp - 0x11c]
maxss xmm7, xmm1
mov ecx, dword [ebp - 0xc8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x114], xmm0
mov edx, dword [ebp - 0xf0]
movss xmm3, dword [ebp - 0x134]
test dl, dl
je 0x10038048
movd xmm0, dword [ebp - 0xe0]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0xe4], xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x138], xmm0
cmp byte [ebp - 0xc9], 0
je 0x10038118
cmp byte [edi + 0xe64], 0
je 0x10038118
test dword [ebx + 0x14], 0x1000
jne 0x100380af
movss xmm2, dword [edi + 0x38]
movaps xmm0, xmm3
comiss xmm2, xmm4
mulss xmm0, dword [0x10045b40]
movaps xmm1, xmm4
jbe 0x10038090
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
jmp 0x1003809d
subss xmm1, xmm3
comiss xmm1, xmm2
jb 0x100380b6
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x100380b6
mov dword [edi + 0x38], 0
test dl, dl
je 0x10038111
mov edx, dword [ebp - 0x120]
movaps xmm2, xmm5
subss xmm2, dword [ecx + 0x18c4]
movss xmm1, dword [edx + 0x54]
comiss xmm1, xmm2
jbe 0x100380de
xorps xmm0, xmm0
maxss xmm0, xmm2
jmp 0x100380ed
movaps xmm0, xmm5
subss xmm0, dword [ebp - 0x148]
maxss xmm0, xmm1
mov eax, dword [ebp - 0x110]
subss xmm1, xmm0
movss dword [edx + 0x54], xmm0
addss xmm1, dword [eax + 4]
movss dword [ebp - 0xd8], xmm1
movss dword [ebp - 0x13c], xmm1
mov byte [edi + 0xe64], 0
cmp byte [ebp - 0x130], 0
movss xmm5, dword [edi + 0x38]
movss dword [ebp - 0xe0], xmm5
je 0x10038450
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [ebp - 0x118]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xc9], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x118]
lea eax, [eax + edx*2]
mov dword [ebp - 0x14c], eax
je 0x1003816d
movss xmm1, dword [0x10045b88]
jmp 0x10038175
movss xmm1, dword [0x10045b5c]
mov ecx, 0x2a
call fcn.100102d0
cmp byte [ebp - 0xf0], 0
mov dword [ebp - 0x130], eax
je 0x100381a3
xorps xmm0, xmm0
movss dword [ebp - 0x144], xmm0
movss dword [ebp - 0x150], xmm0
jmp 0x100381c6
movss xmm0, dword [0x10045c40]
movss dword [ebp - 0x144], xmm0
movss xmm0, dword [0x10045bb4]
movss dword [ebp - 0x150], xmm0
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0xc8]
movss xmm6, dword [ecx]
mov ecx, dword [ebp - 0x14c]
movaps xmm3, xmm6
addss xmm3, xmm7
movss xmm7, dword [ebp - 0xd8]
movaps xmm5, xmm7
addss xmm5, dword [ebp - 0x114]
subss xmm3, dword [ebp - 0xe0]
subss xmm5, xmm0
movss dword [ebp - 0x114], xmm5
cmp esi, ecx
jae 0x10038446
movss xmm7, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x110]
mov edi, dword [ebp - 0x130]
nop word [eax + eax]
movss xmm6, dword [edx + 0x18c4]
movaps xmm0, xmm7
addss xmm0, xmm6
comiss xmm5, xmm0
ja 0x1003842e
movss xmm0, dword [ebp - 0x5c]
comiss xmm0, xmm5
jbe 0x10038279
cmp esi, ecx
jae 0x100383f7
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x100383f1
cmp esi, ecx
jb 0x10038260
jmp 0x100383f1
mov eax, dword [0x1004995c]
xorps xmm0, xmm0
xorps xmm4, xmm4
xorps xmm1, xmm1
mov edx, dword [eax + 0x18c0]
movss xmm2, dword [eax + 0x18c4]
divss xmm2, dword [edx + 0x10]
cmp esi, ecx
jae 0x100382e6
nop
movzx eax, word [esi]
add esi, 2
cmp eax, 0xa
je 0x100382d9
cmp eax, 0xd
je 0x100382d3
mov ecx, eax
cmp ecx, dword [edx]
jge 0x100382c0
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x100382c5
movss xmm0, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14c]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, ecx
jb 0x100382a0
jmp 0x100382e3
xorps xmm4, xmm4
maxss xmm4, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
maxss xmm1, xmm4
comiss xmm0, xmm1
jb 0x10038325
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x18c0]
cmp dword [eax], 0x20
jle 0x1003830d
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x10038312
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10045b58]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp - 0x144]
addss xmm1, xmm3
movss xmm0, dword [ebp - 0x150]
subss xmm2, xmm6
addss xmm3, dword [0x10045b04]
movss xmm4, dword [ebp - 0xfc]
addss xmm0, xmm5
minss xmm1, xmm4
addss xmm2, xmm5
maxss xmm3, dword [ebp - 0x60]
minss xmm0, xmm7
movss dword [ebp - 0x30], xmm1
maxss xmm2, dword [ebp - 0x5c]
movss dword [ebp - 0x38], xmm3
comiss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x34], xmm2
movss dword [ebp - 0x2c], xmm0
jbe 0x100383eb
comiss xmm7, xmm2
jbe 0x100383eb
comiss xmm1, dword [ebp - 0x60]
jbe 0x100383eb
comiss xmm4, xmm3
jbe 0x100383eb
push 0xf
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 0x274]
call fcn.10029150
movss xmm0, dword [ebp - 0xf4]
movss xmm5, dword [ebp - 0x114]
movss xmm7, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x14c]
movss dword [ebp - 0xf4], xmm0
movss xmm0, dword [ebp - 0x124]
movss dword [ebp - 0x124], xmm0
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x110]
movss xmm6, dword [eax]
movaps xmm3, xmm6
addss xmm5, dword [edx + 0x18c4]
subss xmm3, dword [ebp - 0xe0]
movss dword [ebp - 0x114], xmm5
cmp esi, ecx
jb 0x10038230
movss xmm5, dword [ebp - 0xe0]
mov edi, dword [ebp - 0x104]
jmp 0x10038456
movss xmm6, dword [ebp - 0x164]
movss xmm5, dword [ebp - 0xe0]
mov edi, dword [ebp - 0x104]
jmp 0x10038456
movss xmm5, dword [ebp - 0xe0]
jmp 0x1003845e
mov edx, dword [ebp - 0xc8]
movss xmm7, dword [ebp - 0xd8]
cmp byte [ebp - 0xf0], 0
jne 0x10038477
cmp dword [ebp - 0x154], 0x200000
jge 0x100386eb
mov eax, dword [0x1004995c]
xorps xmm4, xmm4
movups xmm2, xmmword [eax + 0x15c0]
comiss xmm4, xmm2
movaps xmm1, xmm2
movaps xmmword [ebp - 0x40], xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1510]
jbe 0x100384a3
xorps xmm0, xmm0
jmp 0x100384af
movss xmm0, dword [0x10045b88]
minss xmm0, xmm2
movss xmm2, dword [0x10045c10]
movss xmm3, dword [ebp - 0x3c]
comiss xmm4, xmm3
mulss xmm0, xmm2
addss xmm0, dword [0x10045b58]
cvttss2si ecx, xmm0
jbe 0x100384d6
xorps xmm0, xmm0
jmp 0x100384e2
movss xmm0, dword [0x10045b88]
minss xmm0, xmm3
movss xmm3, dword [ebp - 0x38]
mulss xmm0, xmm2
addss xmm0, dword [0x10045b58]
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
jbe 0x10038506
xorps xmm0, xmm0
jmp 0x10038512
movss xmm0, dword [0x10045b88]
minss xmm0, xmm3
movss xmm3, dword [0x10045b58]
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm4, xmm1
jbe 0x10038535
xorps xmm0, xmm0
jmp 0x10038541
movss xmm0, dword [0x10045b88]
minss xmm0, xmm1
mov esi, dword [ebp - 0x120]
mulss xmm0, xmm2
mov dword [ebp - 0x154], 0
movss xmm2, dword [edx + 0x18c4]
mov edx, dword [edx + 0x18c0]
mov esi, dword [esi + 0x274]
addss xmm0, xmm3
mov dword [ebp - 0x12c], edx
lea edx, [ebp - 0x50]
cvttss2si eax, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0xd4]
cmp byte [ebp - 0xf0], 0
mov dword [ebp - 0x114], eax
cmovne edx, dword [ebp - 0x154]
movss dword [ebp - 0x168], xmm0
movaps xmm0, xmm7
mov dword [ebp - 0xfc], ecx
subss xmm0, xmm4
movss dword [ebp - 0x164], xmm0
test eax, 0xff000000
je 0x100386ee
test ecx, ecx
jne 0x100385fd
mov ecx, dword [ebp - 0xec]
lea eax, [ecx + 1]
mov dword [ebp - 0x154], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100385e0
sub ecx, dword [ebp - 0x154]
mov eax, dword [ebp - 0xec]
add ecx, eax
mov dword [ebp - 0xfc], ecx
jmp 0x10038603
mov eax, dword [ebp - 0xec]
cmp eax, ecx
je 0x100386ee
cmp dword [ebp - 0x12c], 0
jne 0x10038620
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [ebp - 0x12c], eax
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x10038631
mov eax, dword [esi + 0x28]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
shl ecx, 4
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [ebp - 0x160], xmm0
test edx, edx
je 0x100386a9
movss xmm1, dword [edx]
movss xmm0, dword [ebp - 0x160]
comiss xmm0, xmm1
jae 0x10038663
movss dword [ebp - 0x160], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [ebp - 0x15c]
comiss xmm0, xmm1
jae 0x1003867d
movss dword [ebp - 0x15c], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [ebp - 0x158]
ja 0x10038693
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [ebp - 0x154]
ja 0x100386a9
movss dword [ebp - 0x154], xmm0
push dword [ebp - 0x164]
test edx, edx
push dword [ebp - 0x168]
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x160]
mov dword [esp], 0
push dword [ebp - 0xfc]
push dword [ebp - 0xec]
push eax
push dword [ebp - 0x114]
push esi
call fcn.1002c510
xorps xmm4, xmm4
cmp byte [ebp - 0xc9], 0
mov ecx, dword [ebp - 0xc8]
lea esi, [ecx + 0x18c4]
mov eax, esi
je 0x10038895
movss xmm0, dword [ecx + 0x18]
addss xmm0, dword [edi + 0xe60]
movss dword [edi + 0xe60], xmm0
cmp byte [ecx + 0xb2], 0
je 0x1003876b
comiss xmm4, xmm0
jae 0x1003876b
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x158], xmm0
fld qword [ebp - 0x158]
fld qword [0x10045ba8]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x10045b7c]
fstp qword [ebp - 0x158]
movsd xmm1, qword [ebp - 0x158]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1003876b
xor al, al
jmp 0x1003876d
mov al, 1
movss xmm4, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x110]
movss xmm6, dword [0x10045b88]
addss xmm4, dword [ebp - 0x17c]
movss xmm3, dword [ecx]
addss xmm3, dword [ebp - 0x178]
subss xmm4, dword [0x10045b04]
subss xmm3, dword [ebp - 0xe0]
movss dword [ebp - 0xd8], xmm4
movaps xmm0, xmm4
movaps xmm1, xmm4
subss xmm0, dword [esi]
movss dword [ebp - 0x164], xmm3
movaps xmm2, xmm3
movss dword [ebp - 0x38], xmm3
addss xmm2, xmm6
subss xmm1, dword [0x10045ba0]
addss xmm0, dword [0x10045b58]
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x34], xmm0
test al, al
je 0x1003886a
comiss xmm1, dword [ebp - 0x5c]
jbe 0x1003886a
movss xmm5, dword [ebp - 0x124]
comiss xmm5, xmm0
jbe 0x1003886a
comiss xmm2, dword [ebp - 0x60]
jbe 0x1003886a
movss xmm0, dword [ebp - 0xf4]
comiss xmm0, xmm3
jbe 0x1003886a
sub esp, 8
movss dword [ebp - 8], xmm1
movaps xmm1, xmm6
movss dword [ebp - 0xc], xmm3
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.100102d0
add esp, 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + 0x274]
call fcn.10028f50
movss xmm3, dword [ebp - 0x164]
movss xmm4, dword [ebp - 0xd8]
movss xmm6, dword [0x10045b88]
cmp byte [ebp - 0x108], 0
mov eax, esi
jne 0x10038895
mov eax, dword [ebp - 0xc8]
subss xmm3, xmm6
subss xmm4, dword [esi]
movss dword [eax + 0x2d1c], xmm3
movss dword [eax + 0x2d20], xmm4
mov eax, esi
cmp byte [ebp - 0xf0], 0
je 0x1003893f
mov ecx, dword [0x1004995c]
movss xmm1, dword [ebp - 0xe4]
addss xmm1, dword [eax]
movss xmm0, dword [ebp - 0x138]
mov eax, dword [ecx + 0x19b0]
addss xmm0, dword [0x10045b04]
movss dword [ebp - 8], xmm1
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b0]
movss dword [ebp - 0xc], xmm0
cmp byte [eax + 0x7f], 0
jne 0x10038935
movss xmm3, dword [eax + 0xc8]
lea ecx, [ebp - 0xc]
movaps xmm4, xmm3
movss dword [ebp - 0x38], xmm3
addss xmm4, xmm0
movss xmm0, dword [eax + 0xcc]
movaps xmm2, xmm0
movss dword [ebp - 0x34], xmm0
addss xmm2, xmm1
movss xmm1, dword [0x10045c40]
movss dword [ebp - 0x30], xmm4
movss dword [ebp - 0x2c], xmm2
call fcn.10011cc0
push 0
xor edx, edx
lea ecx, [ebp - 0x38]
call fcn.10011df0
add esp, 4
call fcn.10014da0
call fcn.1001a810
mov esi, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x16c]
test cl, cl
je 0x1003895a
call fcn.1001a1d0
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0xc8]
cmp byte [eax + 0x2d58], 0
je 0x10038988
test cl, cl
jne 0x10038988
mov edx, dword [ebp - 0xec]
lea ecx, [ebp - 0x140]
push esi
call fcn.1001e9c0
mov eax, dword [ebp - 0xc8]
add esp, 4
movss xmm0, dword [ebp - 0x174]
comiss xmm0, dword [0x10045b04]
jbe 0x100389e1
movss xmm0, dword [ebp - 0x58]
xor edx, edx
addss xmm0, dword [eax + 0x1560]
mov ecx, dword [ebp - 0x170]
movss dword [ebp - 0x140], xmm0
movss xmm0, dword [ebp - 0x5c]
addss xmm0, dword [eax + 0x154c]
movss dword [ebp - 0x13c], xmm0
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
push 1
call fcn.10010490
add esp, 0xc
mov dl, byte [ebp - 0x109]
mov ecx, dword [ebx + 0x14]
test dl, dl
je 0x10038a11
test ecx, 0x200000
jne 0x10038a11
mov eax, dword [0x1004995c]
mov word [eax + 0x19f3], 0x101
mov eax, dword [eax + 0x19b0]
or dword [eax + 0x10c], 4
test cl, 0x20
movzx eax, dl
movzx ecx, byte [ebp - 0xe6]
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1003b65b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret