Function at 0x1002e090
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 0x1003dca0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0x1004600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], ecx
mov esi, dword [0x100d3d18]
mov edi, esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xd0], edi
mov eax, dword [edi + 0x1b9c]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1b9c]
mov dword [ebp - 0x154], eax
cmp byte [eax + 0x8f], 0
jne 0x1002e429
mov ecx, dword [ebx + 0x14]
mov edx, ecx
mov dword [ebp - 0x100], ecx
shr dword [ebp - 0x100], 0xe
and byte [ebp - 0x100], 1
mov dword [ebp - 0x158], ecx
shr dword [ebp - 0x158], 0xf
and byte [ebp - 0x158], 1
mov dword [ebp - 0xe4], ecx
shr ecx, 0x10
not cl
shr edx, 0x1a
and ecx, 0xffffff01
and edx, 0xffffff01
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0xe4]
shr ecx, 0x12
and ecx, 0xffffff01
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0x148], ecx
test dl, dl
je 0x1002e191
call fcn.1000f400
mov esi, dword [0x100d3d18]
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 0xc4]
xor edx, edx
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x174]
call fcn.10003270
add esp, 4
mov dword [ebp - 0xe0], eax
cmp dword [esi + 0x1bd4], eax
jne 0x1002e1c5
mov dword [esi + 0x1bd8], eax
cmp dword [esi + 0x1c0c], eax
jne 0x1002e1d4
mov byte [esi + 0x1c10], 1
mov eax, dword [ebp - 0x174]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x1002e1f7
mov dl, byte [ecx]
test dl, dl
je 0x1002e1f7
cmp dl, 0x23
jne 0x1002e1f1
cmp byte [ecx + 1], dl
je 0x1002e1f7
inc ecx
cmp ecx, 0xffffffff
jb 0x1002e1e1
movss xmm1, dword [0x10043fb4]
xorps xmm3, xmm3
movss xmm0, dword [esi + 0x1930]
movss dword [ebp - 0x164], xmm1
cmp eax, ecx
jne 0x1002e220
movss dword [ebp - 0x178], xmm3
jmp 0x1002e272
push 0
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x192c]
lea eax, [ebp - 0x124]
mov dword [esp], 0xbf800000
movaps xmm3, xmm1
push eax
movaps xmm2, xmm0
call fcn.10023360
movss xmm0, dword [ebp - 0x124]
xorps xmm3, xmm3
addss xmm0, dword [0x10043ecc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x178], xmm0
movss xmm0, dword [ebp - 0x120]
cmp byte [ebp - 0xf8], 0
je 0x1002e28b
movss xmm0, dword [edi + 0x1930]
mulss xmm0, dword [0x10043f5c]
test byte [esi + 0x1c80], 1
movss xmm1, dword [edi + 0x1554]
mov eax, dword [esi + 0x1b9c]
movaps xmm2, xmm1
addss xmm2, xmm1
addss xmm2, xmm0
je 0x1002e2b7
movss xmm0, dword [esi + 0x1c84]
jmp 0x1002e2bf
movss xmm0, dword [eax + 0x1b0]
comiss xmm3, xmm0
movss xmm3, dword [0x10043ed4]
jbe 0x1002e301
cmp dword [eax + 0x198], 0
movss xmm1, dword [eax + 0x248]
jne 0x1002e2e6
cmp dword [esi + 0x1ed4], 0
je 0x1002e2ee
movss xmm1, dword [eax + 0x218]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movaps xmm0, xmm3
maxss xmm0, xmm1
cvttss2si eax, xmm0
lea ecx, [ebp - 0x124]
movd xmm1, eax
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm1, xmm1
push dword [eax + 4]
push dword [eax]
call fcn.1000f320
movss xmm1, dword [ebp - 0x178]
xorps xmm0, xmm0
add esp, 8
mov esi, edi
comiss xmm1, xmm0
jbe 0x1002e341
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x1568]
jmp 0x1002e344
xorps xmm2, xmm2
cmp byte [ebp - 0xf8], 0
mov eax, dword [ebp - 0x154]
movss xmm6, dword [ebp - 0x120]
movss xmm5, dword [ebp - 0x124]
addss xmm2, xmm5
movss dword [ebp - 0x170], xmm5
movss xmm4, dword [eax + 0xd4]
movss xmm3, dword [eax + 0xd0]
movaps xmm0, xmm4
addss xmm0, xmm6
movss dword [ebp - 0x168], xmm6
movaps xmm1, xmm3
movss dword [ebp - 0x68], xmm3
addss xmm1, xmm5
movss dword [ebp - 0x64], xmm4
addss xmm2, xmm3
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0x5c], xmm0
movaps xmm0, xmm4
addss xmm0, xmm6
mov dword [ebp - 0x140], eax
movss dword [ebp - 0x60], xmm1
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x1c], xmm0
je 0x1002e625
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x68]
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.1000f080
add esp, 8
test al, al
jne 0x1002e449
movss xmm0, dword [ebp - 0x20]
lea ecx, [ebp - 0x124]
subss xmm0, dword [ebp - 0x28]
movss xmm1, dword [esi + 0x1554]
movss dword [ebp - 0x124], xmm0
movss xmm0, dword [ebp - 0x1c]
subss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x120], xmm0
call fcn.1000ef00
call fcn.1000f530
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003c6ff
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [0x100d3d18]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 3
movups xmm0, xmmword [esi + 0x160c]
lea ecx, [esi + 0x1c94]
movups xmmword [ebp - 0x38], xmm0
call fcn.10014c40
movups xmm0, xmmword [edi + 0x164c]
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 6
push eax
movups xmmword [esi + 0x160c], xmm0
mov esi, dword [0x100d3d18]
movss xmm0, dword [edi + 0x1558]
movss dword [ebp - 0x10c], xmm0
movss xmm0, dword [esi + 0x1540]
lea ecx, [esi + 0x1ca0]
movss dword [ebp - 0x124], xmm0
call fcn.10014b80
movss xmm0, dword [ebp - 0x10c]
lea eax, [ebp - 0x128]
movss dword [esi + 0x1540], xmm0
mov esi, dword [0x100d3d18]
movss xmm0, dword [edi + 0x155c]
movss dword [ebp - 0x10c], xmm0
push eax
movss xmm0, dword [esi + 0x1544]
lea ecx, [esi + 0x1ca0]
mov dword [ebp - 0x128], 7
movss dword [ebp - 0x124], xmm0
call fcn.10014b80
movss xmm0, dword [ebp - 0x10c]
lea eax, [ebp - 0x124]
movss xmm1, dword [ebp - 0x60]
sub esp, 8
subss xmm1, dword [ebp - 0x68]
mov edx, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x174]
movss dword [esi + 0x1544], xmm0
movss xmm0, dword [ebp - 0x5c]
subss xmm0, dword [ebp - 0x64]
push eax
movss dword [ebp - 0x124], xmm1
movss dword [ebp - 0x120], xmm0
call fcn.10008f70
add esp, 0xc
mov byte [ebp - 0x113], al
mov ecx, 2
call fcn.100039e0
mov esi, dword [0x100d3d18]
mov ecx, dword [esi + 0x1c94]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x1c9c]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
shl eax, 4
movups xmmword [eax + esi + 0x15dc], xmm0
dec dword [esi + 0x1c94]
cmp byte [ebp - 0x113], 0
jne 0x1002e5b6
call fcn.10009140
jmp 0x1002e424
mov esi, edi
mov edi, dword [esi + 0x1b9c]
mov dword [ebp - 0x140], edi
movsx ecx, word [edi + 0x14a]
mov eax, dword [edi + 0x144]
bts ecx, eax
mov word [edi + 0x14a], cx
movss xmm0, dword [esi + 0x1550]
addss xmm0, dword [edi + 0xd0]
movss dword [edi + 0xd0], xmm0
movss xmm0, dword [esi + 0x1554]
addss xmm0, dword [edi + 0xd4]
movss dword [edi + 0xd4], xmm0
movss xmm0, dword [ebp - 0x170]
subss xmm0, dword [edi + 0x80]
movss dword [ebp - 0x170], xmm0
jmp 0x1002e67b
movss xmm1, dword [esi + 0x1554]
subss xmm2, xmm3
subss xmm0, xmm4
lea ecx, [ebp - 0x124]
movss dword [ebp - 0x124], xmm2
movss dword [ebp - 0x120], xmm0
call fcn.1000ef00
test dword [ebp - 0xe4], 0x10000000
jne 0x1002e67b
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x68]
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.1000f080
add esp, 8
test al, al
je 0x1002e429
mov edx, dword [ebp - 0xe0]
lea ecx, [ebp - 0x68]
call fcn.10005b50
mov dl, al
mov byte [ebp - 0x111], dl
test dl, dl
je 0x1002e69f
mov dword [esi + 0x1e40], 1
mov edi, dword [0x100d3d18]
xor ecx, ecx
mov eax, dword [ebp - 0xe0]
add edi, 0x1f5c
cmp dword [edi], eax
mov eax, dword [ebp - 0x154]
cmovne edi, ecx
mov dword [ebp - 0x104], edi
mov eax, dword [eax + 0x120]
mov ecx, eax
shr ecx, 8
shr eax, 9
and ecx, 0xffffff01
and eax, 0xffffff01
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], eax
test dl, dl
je 0x1002e6fd
cmp byte [esi + 0x3d8], 0
mov byte [ebp - 0xca], 1
jne 0x1002e704
mov byte [ebp - 0xca], 0
mov ecx, dword [esi + 0x1bd4]
mov eax, dword [ebp - 0xe0]
cmp ecx, eax
je 0x1002e736
cmp dword [esi + 0x1d18], eax
je 0x1002e72d
cmp dword [esi + 0x1d0c], eax
jne 0x1002e736
cmp dword [esi + 0x1d30], 2
jne 0x1002e736
mov byte [ebp - 0xd1], 1
jmp 0x1002e73d
mov byte [ebp - 0xd1], 0
mov eax, dword [ebp - 0xf8]
test al, al
je 0x1002e791
test edi, edi
je 0x1002e791
test ecx, ecx
jne 0x1002e791
mov eax, dword [ebp - 0x140]
xor edx, edx
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.10003270
add esp, 4
cmp dword [esi + 0x1c0c], eax
jne 0x1002e785
mov byte [ebp - 0xcb], 1
jmp 0x1002e7a7
mov ecx, dword [esi + 0x1bd4]
mov eax, dword [ebp - 0xf8]
mov byte [ebp - 0xcb], 0
test al, al
je 0x1002e7da
mov byte [ebp - 0xcb], 0
test edi, edi
je 0x1002e7da
mov eax, dword [ebp - 0x140]
xor edx, edx
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.10003270
mov ecx, dword [esi + 0x1bd4]
add esp, 4
cmp ecx, eax
jne 0x1002e7da
mov dl, 1
jmp 0x1002e7dc
xor dl, dl
mov ah, byte [ebp - 0xd1]
mov byte [ebp - 0xdb], dl
mov byte [ebp - 0x105], 0
cmp ecx, dword [ebp - 0xe0]
je 0x1002e816
test byte [ebp - 0xe4], 0x10
jne 0x1002e804
test ah, ah
je 0x1002e816
cmp byte [ebp - 0xf8], 0
jne 0x1002e816
mov byte [ebp - 0xe8], 1
jmp 0x1002e839
cmp byte [ebp - 0xf8], 0
mov byte [ebp - 0xe8], 0
je 0x1002e839
mov esi, dword [ebp - 0x140]
movss xmm0, dword [esi + 0x5c]
movss dword [ebp - 0x164], xmm0
test edi, edi
je 0x1002e84e
mov al, byte [ebp - 0xf8]
xor al, 1
cmp byte [edi + 0x53], al
je 0x1002e84e
mov al, 1
jmp 0x1002e850
xor al, al
cmp byte [ebp - 0xca], 0
mov esi, dword [ebp - 0xd0]
mov byte [ebp - 0xed], al
mov dword [ebp - 0xf4], 1
jne 0x1002e89e
cmp byte [ebp - 0xcb], 0
jne 0x1002e89e
test ah, ah
jne 0x1002e89e
cmp byte [ebp - 0x130], ah
jne 0x1002e89e
cmp byte [ebp - 0x12c], ah
jne 0x1002e89e
mov byte [ebp - 0xcb], ah
test dl, dl
jne 0x1002e8a5
mov byte [ebp - 0xd9], dl
jmp 0x1002e8b4
mov byte [ebp - 0xcb], 1
mov byte [ebp - 0xd9], 1
cmp ecx, dword [ebp - 0xe0]
jne 0x1002e8bc
test al, al
je 0x1002eb03
mov ecx, dword [ebp - 0xfc]
lea edi, [esi + 0x1f5c]
mov dword [ebp - 0x104], edi
mov dword [edi + 0xe68], 0xbe99999a
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e8e0
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1002e91d
test eax, eax
je 0x1002e906
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1002e90e
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10015080
push esi
push dword [ebp - 0xfc]
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 - 0xec], edx
cmp edx, esi
jle 0x1002e97b
test esi, esi
je 0x1002e95d
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1002e962
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.100150f0
mov edx, dword [ebp - 0xec]
lea eax, [edi + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x1002e99d
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.10015080
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0xfc]
dec ecx
mov dword [edi + 0x18], 0
mov edx, dword [edi + 0x14]
mov esi, edx
mov byte [edi + 0x30], 0
mov dword [ebp - 0xec], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x1002ea12
mov edi, eax
cmp byte [edi], 0
je 0x1002ea00
push 0
mov edx, edi
lea ecx, [ebp - 0x10c]
call fcn.10003520
mov edx, dword [ebp - 0xec]
add edi, eax
mov eax, dword [ebp - 0x10c]
add esp, 4
test eax, eax
je 0x1002ea00
mov word [esi], ax
add esi, 2
mov eax, dword [ebx + 0xc]
dec eax
lea eax, [edx + eax*2]
cmp esi, eax
jb 0x1002e9c6
mov dword [ebp - 0xd8], edi
mov edi, dword [ebp - 0x104]
mov eax, dword [ebp - 0xd8]
sub eax, dword [ebp - 0xfc]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xe0]
mov dword [edi + 4], esi
cmp dword [edi], eax
jne 0x1002ea63
cmp byte [ebp - 0xed], cl
jne 0x1002ea63
cmp dword [edi + 0x3c], esi
mov ecx, esi
mov edx, dword [ebp - 0xf8]
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 0x1002eaca
mov edx, dword [ebp - 0xf8]
mov dword [edi], eax
mov al, dl
xor al, 1
mov dword [edi + 0x38], ecx
mov dword [edi + 0xe5a], 0x630000
mov dword [edi + 0xe60], ecx
mov dword [edi + 0xe64], 0x3e7
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x3c], ecx
mov word [edi + 0x51], 1
mov dword [edi + 0x58], ecx
mov byte [edi + 0x50], cl
mov byte [edi + 0x53], al
mov byte [edi + 0x48], cl
mov dword [edi + 0x4c], ecx
test dl, dl
jne 0x1002eaca
mov eax, dword [ebp - 0xe8]
cmp byte [ebp - 0x130], cl
movzx eax, al
cmovne eax, dword [ebp - 0xf4]
mov dword [ebp - 0xe8], eax
test dword [ebp - 0xe4], 0x2000
je 0x1002eada
mov byte [edi + 0x48], 1
mov esi, dword [ebp - 0xd0]
test dl, dl
jne 0x1002eb03
cmp byte [ebp - 0x12c], dl
jne 0x1002eafc
cmp byte [ebp - 0xca], dl
je 0x1002eb03
cmp byte [esi + 0xfc], dl
je 0x1002eb03
mov byte [ebp - 0xe8], 1
mov ecx, dword [ebp - 0xe0]
cmp dword [esi + 0x1bd4], ecx
je 0x1002ebc4
cmp byte [ebp - 0xcb], 0
je 0x1002ebbc
mov edx, dword [ebp - 0x154]
call fcn.100059f0
call fcn.10010770
mov ecx, edx
call fcn.1000e8b0
mov eax, dword [esi + 0x1be8]
mov edx, dword [ebp - 0xf8]
or eax, 3
mov dword [esi + 0x1be8], eax
test dl, dl
jne 0x1002eb5b
test byte [ebp - 0xe4], 0x80
je 0x1002eb64
or eax, 0xc
mov dword [esi + 0x1be8], eax
mov eax, dword [esi + 0x1bf0]
or dword [esi + 0x1bec], 2
or eax, 0x180
mov ecx, dword [esi + 0x1bf4]
mov dword [esi + 0x1bf0], eax
mov dword [esi + 0x1bf4], ecx
test dl, dl
je 0x1002eb9b
or eax, 0x60
mov dword [esi + 0x1bf4], ecx
mov dword [esi + 0x1bf0], eax
test dword [ebp - 0xe4], 0x440
je 0x1002ebb6
or eax, 1
mov dword [esi + 0x1bf4], ecx
mov dword [esi + 0x1bf0], eax
mov ecx, dword [ebp - 0xe0]
cmp dword [esi + 0x1bd4], ecx
jne 0x1002ec01
test edi, edi
jne 0x1002ebd3
call fcn.10005ac0
mov ecx, dword [ebp - 0xe0]
cmp dword [esi + 0x1bd4], ecx
jne 0x1002ec01
cmp byte [esi + 0x3d8], 0
je 0x1002ec0e
cmp byte [ebp - 0xd9], 0
jne 0x1002ec0e
cmp byte [ebp - 0xcb], 0
jne 0x1002ec0e
mov byte [ebp - 0x105], 1
mov dl, 1
jmp 0x1002ec14
test edi, edi
je 0x1002ec12
cmp byte [ebp - 0xdb], 0
je 0x1002ec12
mov dl, 1
jmp 0x1002ec14
xor dl, dl
mov byte [ebp - 0xda], dl
test edi, edi
je 0x1002ec31
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002ec31
test dl, dl
je 0x1002ec31
mov edx, 1
jmp 0x1002ec33
xor dl, dl
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x16c], edx
mov byte [ebp - 0x112], dl
mov byte [ebp - 0x113], 0
mov byte [ebp - 0xed], 0
test al, al
je 0x1002ed78
test edi, edi
je 0x1002ed78
cmp byte [ebp - 0xda], 0
jne 0x1002ec74
test dl, dl
je 0x1002ed85
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1002ecae
test eax, eax
je 0x1002ec94
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1002ec9c
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100150f0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0xfc]
mov dword [edi + 0xc], esi
mov edx, dword [edi + 0x14]
mov esi, edx
mov dword [ebp - 0xec], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x1002ed1b
mov edi, eax
nop dword [eax + eax]
cmp byte [edi], 0
je 0x1002ed09
push 0
mov edx, edi
lea ecx, [ebp - 0x10c]
call fcn.10003520
mov edx, dword [ebp - 0xec]
add edi, eax
mov eax, dword [ebp - 0x10c]
add esp, 4
test eax, eax
je 0x1002ed09
mov ecx, dword [ebx + 0xc]
mov word [esi], ax
add esi, 2
lea eax, [edx + ecx*2]
cmp esi, eax
jb 0x1002ecd0
mov dword [ebp - 0xd8], edi
mov edi, dword [ebp - 0x104]
mov eax, dword [ebp - 0xd8]
sub eax, dword [ebp - 0xfc]
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 - 0x112]
cmp ecx, esi
mov dword [edi + 0x40], ecx
mov ecx, dword [ebp - 0xe0]
cmovne edx, eax
mov eax, dword [ebp - 0x100]
mov dword [edi + 0x44], esi
mov esi, dword [ebp - 0xd0]
mov dword [ebp - 0x16c], edx
cmp byte [ebp - 0xda], 0
jne 0x1002ed8d
test dl, dl
jne 0x1002ed8d
cmp dword [esi + 0x1bd4], ecx
jne 0x1002eda1
test al, al
jne 0x1002eda1
test edi, edi
je 0x1002eda1
mov byte [ebp - 0x112], 1
cmp byte [edi + 0x30], al
jne 0x1002eda8
mov byte [ebp - 0x112], 0
cmp byte [ebp - 0x158], 0
je 0x1002ee3b
mov edx, dword [esi + 0x192c]
cmp dword [edx + 0x14], 0x2a
ja 0x1002edc6
mov eax, dword [edx + 0x2c]
jmp 0x1002ede5
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x1002eddc
mov eax, dword [edx + 0x2c]
jmp 0x1002ede5
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov dword [ebp - 0xd8], eax
lea ecx, [esi + 0x2dd8]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x192c]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x192c]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x192c]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x192c]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0xd8]
mov dword [ecx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [ecx + 0xc], eax
call fcn.1000eb70
mov edx, dword [ebp - 0xe0]
movss xmm1, dword [ebp - 0x68]
movss xmm0, dword [0x10043e9c]
mov dword [ebp - 0x134], 0
movss dword [ebp - 0x154], xmm1
cmp dword [esi + 0x1bd4], edx
jne 0x1002f2bf
mov eax, dword [edi + 8]
mov dword [ebp - 0x134], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0xe4]
mov dword [edi + 0xe70], eax
mov byte [edi + 0xe6e], 0
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
mov ah, byte [esi + 0xec]
test ah, ah
mov dword [esi + 0x3124], 1
sete al
cmp byte [ebp - 0xf8], 0
mov byte [esi + 0x1be1], al
movss xmm7, dword [esi + 0xe4]
subss xmm7, xmm1
subss xmm7, dword [esi + 0x1550]
addss xmm7, dword [edi + 0x38]
je 0x1002eef7
mov ecx, dword [ebp - 0x140]
movss xmm2, dword [esi + 0xe8]
subss xmm2, dword [ecx + 0xd4]
jmp 0x1002ef03
movss xmm2, dword [esi + 0x1930]
mulss xmm2, xmm0
cmp byte [ebp - 0xe8], 0
mov dl, byte [esi + 0xb1]
mov byte [ebp - 0xca], dl
jne 0x1002f0da
mov cl, byte [ebp - 0x111]
test cl, cl
je 0x1002ef3a
test dl, dl
jne 0x1002efe7
cmp byte [esi + 0x3dd], dl
jne 0x1002f0da
cmp byte [esi + 0x3d8], 0
lea edx, [edi + 0xe6d]
mov al, byte [edx]
je 0x1002f04b
test al, al
jne 0x1002f04b
test cl, cl
je 0x1002ef9b
cmp byte [edi + 0x53], al
je 0x1002ef74
push 0
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.1002c520
movss xmm2, dword [ebp - 0x34]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.1002c800
mov dword [edi + 0x3c], eax
lea edx, [edi + 0xe6d]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x52], 0
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, edx
mov dl, byte [ebp - 0xca]
cmp byte [ecx], 0
je 0x1002efb4
cmp byte [esi + 0xec], 0
jne 0x1002efb4
mov byte [ecx], 0
cmp byte [esi + 0xfc], 0
je 0x1002efc6
cmp byte [esi + 0xfe], 0
je 0x1002efdb
test dl, dl
je 0x1002f0fc
cmp byte [esi + 0xff], 0
je 0x1002f0fc
mov byte [ebp - 0xc9], 1
jmp 0x1002f103
cmp byte [esi + 0x3dd], 0
je 0x1002ef3a
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002cc30
add esp, 4
mov byte [edi + 0xe6c], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, edi
push 0x60000d
call fcn.1002cc30
mov esi, dword [ebp - 0xd0]
lea ecx, [edi + 0xe6d]
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x1002ef9d
mov ecx, edx
test ah, ah
je 0x1002ef9d
test al, al
jne 0x1002ef9d
movss xmm0, dword [esi + 0x374]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002f086
movss xmm0, dword [esi + 0x378]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002ef9d
cmp byte [edi + 0x53], 0
je 0x1002f0a0
push 0
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.1002c520
movss xmm2, dword [ebp - 0x34]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1002f0ae
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.1002c800
mov dword [edi + 0x44], eax
lea ecx, [edi + 0xe6d]
mov dword [edi + 0x3c], eax
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
jmp 0x1002ef9d
mov eax, dword [edi + 4]
lea ecx, [edi + 0xe6d]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [ecx], 1
jmp 0x1002efa3
mov byte [ebp - 0xc9], 0
mov edx, dword [ebp - 0xe4]
test edx, 0x400
je 0x1002f378
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1002f378
call fcn.10008eb0
mov ecx, dword [ebp - 0x100]
test al, al
mov al, byte [ebp - 0xc9]
je 0x1002f1d7
test al, al
jne 0x1002f1d7
cmp byte [esi + 0xfd], al
jne 0x1002f1d7
test cl, cl
jne 0x1002f1d7
mov ecx, dword [esi + 0x1510]
mov eax, dword [esi + 0x1508]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x1002f180
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x1002f1cb
cmp ecx, edx
jb 0x1002f170
mov edx, dword [ebp - 0xe4]
lea ecx, [ebp - 0xec]
push 2
sub esp, 8
mov dword [ebp - 0xec], 9
call fcn.1002dec0
add esp, 0xc
test al, al
je 0x1002f1cb
push dword [ebp - 0xec]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002cc30
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [ebp - 0x100]
mov al, byte [ebp - 0xc9]
mov edx, dword [ebp - 0xe4]
add esi, 0x1508
mov dword [ebp - 0x10c], esi
cmp dword [esi], 0
jle 0x1002f2b9
test al, al
jne 0x1002f294
test cl, cl
jne 0x1002f294
cmp byte [ebp - 0xd1], cl
jne 0x1002f294
mov ecx, dword [ebp - 0xd0]
xor esi, esi
nop word [eax + eax]
mov eax, dword [ecx + 0x1510]
movzx eax, word [eax + esi*2]
mov dword [ebp - 0xec], eax
cmp eax, 9
jne 0x1002f23e
cmp byte [ecx + 0xfd], 0
jne 0x1002f27f
push 2
sub esp, 8
lea ecx, [ebp - 0xec]
call fcn.1002dec0
add esp, 0xc
test al, al
je 0x1002f279
push dword [ebp - 0xec]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002cc30
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xe4]
inc esi
cmp esi, dword [ecx + 0x1508]
jl 0x1002f220
mov esi, dword [ebp - 0x10c]
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1002f2b3
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.100150f0
mov dword [esi], 0
mov esi, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xe0]
xor dl, dl
cmp dword [esi + 0x1bd4], eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x12c], eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov byte [ebp - 0xc9], dl
mov dword [ebp - 0x130], eax
jne 0x1002ffbe
cmp byte [esi + 0x1be0], dl
jne 0x1002ffbe
cmp byte [ebp - 0x105], dl
jne 0x1002ffbe
movss xmm0, dword [ebp - 0x168]
subss xmm0, dword [esi + 0x1554]
mov ecx, dword [ebp - 0xf4]
divss xmm0, dword [esi + 0x1930]
cvttss2si eax, xmm0
cmp eax, 1
cmovge ecx, eax
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x4c], ecx
xor esi, esi
mov dword [ebp - 0xf4], ecx
mov ecx, 0x400000
cmp byte [eax + 0xfd], dl
mov dh, byte [eax + 0xb1]
cmovne esi, ecx
mov byte [ebp - 0x14e], dh
test dh, dh
je 0x1002f389
mov ecx, dword [eax + 0x37c]
mov dword [ebp - 0xe8], ecx
cmp ecx, 0xa
jne 0x1002f389
mov byte [ebp - 0xdb], 1
jmp 0x1002f3a0
mov al, byte [ebp - 0xc9]
mov ecx, dword [ebp - 0x100]
jmp 0x1002f1dd
mov ecx, dword [eax + 0x37c]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 0xdb], 0
test dh, dh
je 0x1002f3ce
cmp byte [eax + 0xff], 0
mov dl, byte [eax + 0xfe]
mov byte [ebp - 0xcb], dl
je 0x1002f3e1
cmp byte [eax + 0xfc], 0
jne 0x1002f3e1
test dl, dl
jne 0x1002f3e1
mov byte [ebp - 0xd1], 1
cmp ecx, 8
jmp 0x1002f407
mov dl, byte [eax + 0xfc]
mov byte [ebp - 0xdb], 0
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 0xcb], dl
mov byte [ebp - 0xd1], 0
test dh, dh
je 0x1002f3f7
cmp ecx, 8
jmp 0x1002f407
cmp ecx, 1
mov byte [ebp - 0xcb], dl
mov byte [ebp - 0xd1], 0
sete al
mov byte [ebp - 0xca], al
test al, al
je 0x1002f434
mov eax, dword [0x100d3d18]
mov eax, dword [eax + 0x80]
test eax, eax
js 0x1002f434
mov ecx, eax
call fcn.10008eb0
test al, al
jne 0x1002f44e
mov ecx, dword [ebp - 0xe8]
cmp ecx, 2
jne 0x1002f47a
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1002f47a
call fcn.10008eb0
test al, al
je 0x1002f47a
cmp byte [ebp - 0x100], 0
jne 0x1002f47a
cmp byte [ebp - 0x158], 0
jne 0x1002f47a
cmp byte [ebp - 0xf8], 0
je 0x1002f471
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002f47a
mov byte [ebp - 0xd9], 1
jmp 0x1002f481
mov byte [ebp - 0xd9], 0
cmp byte [ebp - 0xca], 0
je 0x1002f49f
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1002f49f
call fcn.10008eb0
test al, al
jne 0x1002f4bd
cmp dword [ebp - 0xe8], 1
jne 0x1002f4e0
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002f4e0
call fcn.10008eb0
test al, al
je 0x1002f4e0
cmp byte [ebp - 0x158], 0
jne 0x1002f4e0
cmp byte [ebp - 0xf8], 0
je 0x1002f4d7
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002f4e0
mov byte [ebp - 0x14d], 1
jmp 0x1002f4e7
mov byte [ebp - 0x14d], 0
cmp byte [ebp - 0xca], 0
je 0x1002f505
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1002f505
call fcn.10008eb0
test al, al
jne 0x1002f523
cmp dword [ebp - 0xe8], 2
jne 0x1002f533
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1002f533
call fcn.10008eb0
test al, al
je 0x1002f533
cmp byte [ebp - 0x100], 0
mov byte [ebp - 0x111], 1
je 0x1002f53a
mov byte [ebp - 0x111], 0
mov dl, byte [ebp - 0xca]
test dl, dl
je 0x1002f57d
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1002f57d
call fcn.10008eb0
test al, al
je 0x1002f577
cmp byte [ebp - 0x100], 0
jne 0x1002f577
cmp byte [ebp - 0x14c], 0
je 0x1002f577
mov byte [ebp - 0x119], 1
jmp 0x1002f588
mov dl, byte [ebp - 0xca]
mov byte [ebp - 0x119], 0
test dl, dl
je 0x1002f5a0
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1002f5a0
call fcn.10008eb0
test al, al
jne 0x1002f5c1
cmp byte [ebp - 0xdb], 0
je 0x1002f5da
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1002f5da
call fcn.10008eb0
test al, al
je 0x1002f5da
cmp byte [ebp - 0x100], 0
jne 0x1002f5da
cmp byte [ebp - 0x14c], 0
mov byte [ebp - 0xdb], 1
jne 0x1002f5e1
mov byte [ebp - 0xdb], 0
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1002f63c
call fcn.10008eb0
test al, al
je 0x1002f63c
cmp byte [ebp - 0xd1], 0
je 0x1002f616
mov eax, 0x200004
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.1002cc30
jmp 0x1002ff81
cmp byte [ebp - 0xcb], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000c
mov eax, 0x200000
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.1002cc30
jmp 0x1002ff81
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x1002f697
call fcn.10008eb0
test al, al
je 0x1002f697
cmp byte [ebp - 0xd1], 0
je 0x1002f671
mov eax, 0x200005
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.1002cc30
jmp 0x1002ff81
cmp byte [ebp - 0xcb], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000d
mov eax, 0x200001
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.1002cc30
jmp 0x1002ff81
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1002f719
call fcn.10008eb0
test al, al
je 0x1002f719
cmp byte [ebp - 0xf8], 0
je 0x1002f719
mov eax, dword [ebp - 0xd0]
cmp byte [eax + 0xfc], 0
je 0x1002f6f9
mov ecx, dword [ebp - 0x140]
mov esi, eax
movss xmm0, dword [ecx + 0x5c]
subss xmm0, dword [esi + 0x1930]
maxss xmm0, dword [0x10043e58]
movss dword [ecx + 0x6c], xmm0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x7c], 0
jmp 0x1002ff9b
movzx eax, byte [ebp - 0xd1]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.1002cc30
jmp 0x1002ff81
mov ecx, dword [0x100d3d18]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
js 0x1002f795
call fcn.10008eb0
test al, al
je 0x1002f795
cmp byte [ebp - 0xf8], 0
je 0x1002f795
mov eax, dword [ebp - 0xd0]
cmp byte [eax + 0xfc], 0
je 0x1002f775
mov ecx, dword [ebp - 0x140]
mov esi, dword [ebp - 0xd0]
mov eax, dword [0x100d3d18]
movss xmm0, dword [ecx + 0x5c]
addss xmm0, dword [esi + 0x1930]
mov eax, dword [eax + 0x1b9c]
minss xmm0, dword [eax + 0x64]
jmp 0x1002f6e1
movzx eax, byte [ebp - 0xd1]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.1002cc30
jmp 0x1002ff81
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x48]
test ecx, ecx
js 0x1002f80a
call fcn.10008eb0
test al, al
je 0x1002f80a
cmp byte [ebp - 0xf8], 0
je 0x1002f80a
or esi, 0x20000e
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.1002cc30
movd xmm0, dword [ebp - 0xf4]
add esp, 4
mov esi, dword [ebp - 0xd0]
movss xmm1, dword [ebp - 0x164]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1930]
subss xmm1, xmm0
movss dword [ebp - 0x164], xmm1
jmp 0x1002ff9b
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
js 0x1002f87b
call fcn.10008eb0
test al, al
je 0x1002f87b
cmp byte [ebp - 0xf8], 0
je 0x1002f87b
or esi, 0x20000f
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.1002cc30
movd xmm0, dword [ebp - 0xf4]
add esp, 4
mov esi, dword [ebp - 0xd0]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1930]
addss xmm0, dword [ebp - 0x164]
movss dword [ebp - 0x164], xmm0
jmp 0x1002ff9b
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x1002f8bd
call fcn.10008eb0
test al, al
je 0x1002f8bd
mov ecx, dword [ebp - 0xd0]
lea edx, [edi + 0x3c]
mov eax, esi
or esi, 0x200004
or eax, 0x200006
cmp byte [ecx + 0xfc], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.1002cc30
jmp 0x1002ff81
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x1002f8ff
call fcn.10008eb0
test al, al
je 0x1002f8ff
mov ecx, dword [ebp - 0xd0]
lea edx, [edi + 0x3c]
mov eax, esi
or esi, 0x200005
or eax, 0x200007
cmp byte [ecx + 0xfc], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.1002cc30
jmp 0x1002ff81
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1002f933
call fcn.10008eb0
test al, al
je 0x1002f933
cmp byte [ebp - 0x100], 0
jne 0x1002f933
or esi, 0x200008
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.1002cc30
jmp 0x1002ff81
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x1002f9d4
call fcn.10008eb0
test al, al
je 0x1002f9d4
cmp byte [ebp - 0x100], 0
jne 0x1002f9d4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1002f9be
cmp byte [ebp - 0xcb], 0
je 0x1002f971
push 0x60000c
jmp 0x1002f9a0
cmp byte [ebp - 0x14e], 0
je 0x1002f9be
mov eax, dword [ebp - 0xd0]
cmp byte [eax + 0xff], 0
je 0x1002f9be
cmp byte [eax + 0xfe], 0
jne 0x1002f9be
cmp byte [eax + 0xfc], 0
jne 0x1002f9be
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002cc30
mov dword [edi + 0xe68], 0xbe99999a
add esp, 4
mov byte [edi + 0xe6c], 1
or esi, 0x200009
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.1002cc30
jmp 0x1002ff81
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1002f9e9
call fcn.10008eb0
test al, al
jne 0x1002fa06
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1002faa2
call fcn.10008eb0
test al, al
je 0x1002faa2
mov edx, dword [ebp - 0xe4]
mov eax, edx
mov esi, dword [ebp - 0xd0]
shr eax, 0xb
and al, 1
cmp byte [ebp - 0xf8], 0
je 0x1002fa30
mov cl, byte [esi + 0xfc]
test al, al
je 0x1002fa43
test cl, cl
jne 0x1002fa47
mov byte [ebp - 0x105], 1
mov byte [ebp - 0xed], 1
jmp 0x1002ff9b
test cl, cl
jne 0x1002fa30
cmp byte [ebp - 0x100], 0
jne 0x1002ff9b
push 2
sub esp, 8
mov dword [ebp - 0xec], 0xa
lea ecx, [ebp - 0xec]
call fcn.1002dec0
add esp, 0xc
test al, al
je 0x1002ff9b
push dword [ebp - 0xec]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.1002cc30
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x1002ff9b
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1002faca
call fcn.10008eb0
test al, al
je 0x1002faca
mov esi, dword [ebp - 0xd0]
mov dl, 1
mov byte [ebp - 0x105], dl
jmp 0x1002ffa1
mov al, byte [ebp - 0x119]
test al, al
jne 0x1002ff62
cmp byte [ebp - 0xdb], al
jne 0x1002ff62
cmp byte [ebp - 0xca], al
je 0x1002fb1a
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1002fb1a
call fcn.10008eb0
test al, al
je 0x1002fb1a
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
jmp 0x1002ff8e
mov al, byte [ebp - 0xd9]
test al, al
jne 0x1002fde4
cmp byte [ebp - 0x14d], al
jne 0x1002fde4
cmp byte [ebp - 0x111], al
je 0x1002ff95
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x1002fb65
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x1002fb6a
jmp 0x1002ff95
mov esi, 0x1003f332
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fb70
mov eax, dword [0x100d3d18]
sub ecx, edx
test eax, eax
je 0x1002fb88
inc dword [eax + 0x370]
lea eax, [ecx*2 + 2]
push eax
call dword [ebp - 0x130]
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x138], eax
cmp byte [esi], al
je 0x1002fc19
xor edi, edi
nop
push 0
mov edx, esi
lea ecx, [ebp - 0xd8]
call fcn.10003520
add esp, 4
add esi, eax
cmp dword [ebp - 0xd8], 0
je 0x1002fc01
mov edx, dword [ebp - 0xe4]
lea ecx, [ebp - 0xd8]
push 5
sub esp, 8
call fcn.1002dec0
add esp, 0xc
test al, al
je 0x1002fbfc
mov ecx, dword [ebp - 0x144]
mov ax, word [ebp - 0xd8]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x1002fbb0
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x138], edi
mov edi, dword [ebp - 0x104]
mov eax, dword [ebp - 0x138]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x1002fdc2
mov ecx, dword [edi + 0x44]
lea esi, [edi + 0x3c]
mov eax, dword [esi + 4]
mov edx, dword [edi + 4]
mov dword [ebp - 0xe8], edx
cmp eax, ecx
je 0x1002fc95
mov edi, dword [ebp - 0x104]
cmp eax, edx
mov dword [ebp - 0x15c], eax
mov eax, edx
jle 0x1002fc5b
mov dword [esi + 4], eax
mov edx, dword [edi + 4]
mov dword [ebp - 0x15c], eax
mov edi, dword [ebp - 0x104]
mov dword [ebp - 0x118], ecx
cmp ecx, eax
jle 0x1002fc79
mov dword [esi + 8], eax
mov edx, dword [edi + 4]
mov dword [ebp - 0x118], eax
jmp 0x1002fc7f
mov eax, dword [ebp - 0x118]
mov edi, dword [ebp - 0x118]
mov ecx, eax
mov eax, dword [ebp - 0x15c]
cmp eax, edi
jne 0x1002fc95
mov dword [esi], eax
mov ecx, edi
mov edi, dword [esi]
cmp edi, dword [ebp - 0xe8]
mov dword [ebp - 0xf4], edi
mov edi, dword [ebp - 0x104]
jle 0x1002fcbf
mov edi, dword [ebp - 0xe8]
mov dword [esi], edi
mov dword [ebp - 0xf4], edi
mov edi, dword [ebp - 0x104]
cmp eax, ecx
je 0x1002fd23
mov dword [ebp - 0x15c], eax
cmp eax, edx
jle 0x1002fcda
mov eax, edx
mov dword [esi + 4], edx
mov dword [ebp - 0x15c], eax
jmp 0x1002fce0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x118], ecx
cmp ecx, edx
jle 0x1002fcf3
mov dword [esi + 8], edx
mov dword [ebp - 0x118], edx
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp - 0x118]
mov edi, ecx
cmp dword [ebp - 0x15c], edi
mov edi, dword [ebp - 0x104]
jne 0x1002fd23
mov eax, dword [ebp - 0x15c]
mov dword [esi], eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], edx
jle 0x1002fd2d
mov dword [esi], edx
cmp eax, ecx
je 0x1002fd62
mov edx, esi
jge 0x1002fd48
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.1002cae0
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x1002fd59
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.1002cae0
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
add esp, 8
mov byte [esi + 0x16], 0
push dword [ebp - 0x138]
mov edx, dword [esi]
mov ecx, edi
push dword [ebp - 0x144]
call fcn.1002c6c0
add esp, 8
test al, al
je 0x1002fda1
push dword [ebp - 0x138]
mov edx, dword [esi]
lea ecx, [esi + 0x20]
push 0
call fcn.1002da00
mov eax, dword [ebp - 0x138]
add esp, 8
add dword [esi], eax
mov byte [esi + 0x16], 0
jmp 0x1002fdb5
movzx eax, word [esi + 0xe1e]
test ax, ax
je 0x1002fdb5
dec eax
mov word [esi + 0xe1e], ax
mov ecx, dword [ebp - 0x144]
mov byte [edi + 0xe6c], 1
test ecx, ecx
je 0x1002fdd5
mov eax, dword [0x100d3d18]
test eax, eax
je 0x1002fdd5
dec dword [eax + 0x370]
push ecx
call dword [ebp - 0x12c]
add esp, 4
jmp 0x1002ff95
mov esi, dword [ebp - 0xd0]
cmp dword [esi + 0xd4], 0
je 0x1002febe
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1002fe0b
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x1002fe10
mov ecx, dword [edi + 4]
xor esi, esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xd8], esi
lea edx, [eax + ecx*2]
lea ecx, [eax + esi*2]
call fcn.10003750
mov ecx, dword [0x100d3d18]
inc eax
mov dword [ebp - 0x10c], eax
test ecx, ecx
je 0x1002fe41
inc dword [ecx + 0x370]
push eax
call dword [ebp - 0x130]
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x13c], eax
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [ebp - 0xd8]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.10003680
mov eax, dword [0x100d3d18]
add esp, 8
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x1002fe9a
push esi
push dword [eax + 0xd8]
call ecx
mov eax, dword [0x100d3d18]
add esp, 8
test esi, esi
je 0x1002fea8
test eax, eax
je 0x1002fea8
dec dword [eax + 0x370]
push esi
call dword [ebp - 0x12c]
mov esi, dword [ebp - 0xd0]
add esp, 4
mov al, byte [ebp - 0xd9]
test al, al
je 0x1002ff9b
mov eax, dword [edi + 0x40]
lea esi, [edi + 0x3c]
cmp eax, dword [edi + 0x44]
jne 0x1002fee4
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [esi], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6c], 1
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x1002ff95
mov edx, dword [edi + 4]
cmp eax, edx
jle 0x1002ff05
mov dword [esi + 4], edx
mov eax, edx
cmp ecx, edx
jle 0x1002ff0e
mov dword [esi + 8], edx
mov ecx, edx
cmp eax, ecx
jne 0x1002ff14
mov dword [esi], eax
cmp dword [esi], edx
jle 0x1002ff1a
mov dword [esi], edx
cmp eax, ecx
je 0x1002ff5c
mov edx, esi
jge 0x1002ff42
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.1002cae0
mov eax, dword [esi + 4]
add esp, 8
mov dword [esi + 8], eax
mov dword [esi], eax
mov byte [esi + 0x16], 0
mov byte [esi + 0x16], 0
jmp 0x1002ff95
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.1002cae0
mov eax, dword [esi + 8]
add esp, 8
mov dword [esi + 4], eax
mov dword [esi], eax
mov byte [esi + 0x16], 0
mov byte [esi + 0x16], 0
jmp 0x1002ff95
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.1002cc30
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
add esp, 4
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
mov esi, dword [ebp - 0xd0]
mov dl, byte [ebp - 0xc9]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1002ffb6
cmp byte [ebp - 0xda], 0
je 0x1002ffb6
mov al, 1
jmp 0x1002ffb8
xor al, al
or byte [ebp - 0x16c], al
mov eax, dword [ebp - 0xe0]
cmp dword [esi + 0x1bd4], eax
jne 0x10030802
xor ecx, ecx
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xe8], ecx
test dl, dl
je 0x100302a6
cmp byte [ebp - 0x100], cl
jne 0x1003028b
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0xfc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10030021
test dl, dl
je 0x1003001d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10030021
add eax, 2
add ecx, 2
test dl, dl
jne 0x10030001
xor eax, eax
jmp 0x10030026
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003028b
mov eax, dword [edi + 0x24]
xor ecx, ecx
dec eax
mov dword [ebp - 0xf4], esi
xor edx, edx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x120], edx
mov dword [ebp - 4], edx
test eax, eax
jle 0x1003018d
mov edi, dword [ebp - 0xf4]
add esi, eax
xor eax, eax
mov dword [ebp - 0xd8], eax
test esi, esi
je 0x1003007b
cmp edi, esi
jae 0x100300a5
cmp byte [edi], 0
je 0x100300a5
push esi
mov edx, edi
lea ecx, [ebp - 0x10c]
call fcn.10003520
add edi, eax
add esp, 4
cmp dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xd8]
je 0x100300a5
inc eax
jmp 0x1003006d
mov edi, dword [ebp - 0x104]
lea ecx, [eax + 1]
mov dword [ebp - 0xec], ecx
test ecx, ecx
jle 0x10030106
mov edx, 8
mov eax, ecx
cmp ecx, edx
cmovl eax, edx
mov dword [ebp - 0x10c], eax
test eax, eax
jle 0x10030106
mov ecx, dword [0x100d3d18]
test ecx, ecx
je 0x100300de
inc dword [ecx + 0x370]
add eax, eax
push eax
call dword [ebp - 0x130]
mov ecx, dword [ebp - 0x10c]
mov edx, eax
mov dword [ebp - 0x124], ecx
add esp, 4
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x120], edx
jmp 0x10030108
xor edx, edx
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x10c], eax
mov eax, edx
lea edx, [ecx - 1]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0xd8], eax
lea edx, [eax + edx*2]
mov dword [ebp - 0x13c], edx
cmp eax, edx
jae 0x10030188
mov edi, dword [ebp - 0x10c]
test esi, esi
je 0x10030140
cmp edi, esi
jae 0x1003017c
cmp byte [edi], 0
je 0x1003017c
push esi
mov edx, edi
lea ecx, [ebp - 0x10c]
call fcn.10003520
mov ecx, dword [ebp - 0x10c]
add edi, eax
mov eax, dword [ebp - 0xd8]
add esp, 4
test ecx, ecx
je 0x1003017c
mov word [eax], cx
add eax, 2
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0x13c]
jb 0x10030138
mov edi, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xec]
xor edx, edx
mov word [eax], dx
mov esi, dword [edi + 4]
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0xe8]
xor edx, edx
test ecx, ecx
lea ecx, [edi + 0x5c]
cmovle eax, edx
push eax
push esi
mov dword [ebp - 0x10c], eax
call fcn.1002da00
mov edx, eax
add esp, 8
test edx, edx
je 0x100301d0
xor ecx, ecx
test esi, esi
jle 0x100301d0
nop
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jl 0x100301c0
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 4]
mov dword [ebp - 0xd8], ecx
mov byte [edi + 0xe6e], 1
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.10003750
sub dword [edi + 8], eax
mov dword [edi + 4], 0
movzx eax, word [esi]
add esi, 2
test ax, ax
je 0x1003022e
mov edi, dword [ebp - 0xd8]
nop dword [eax + eax]
mov word [edi], ax
lea esi, [esi + 2]
movzx eax, word [esi - 2]
add edi, 2
test ax, ax
jne 0x10030210
mov dword [ebp - 0xd8], edi
mov edi, dword [ebp - 0x104]
mov eax, dword [ebp - 0xd8]
xor ecx, ecx
mov esi, dword [ebp - 0x10c]
mov word [eax], cx
test esi, esi
jle 0x10030261
push esi
push dword [ebp - 0x120]
xor edx, edx
mov ecx, edi
call fcn.1002c6c0
add esp, 8
test al, al
je 0x10030261
mov dword [edi + 0x3c], esi
mov byte [edi + 0x52], 0
mov ecx, dword [ebp - 0x120]
test ecx, ecx
je 0x10030284
mov eax, dword [0x100d3d18]
test eax, eax
je 0x1003027a
dec dword [eax + 0x370]
push ecx
call dword [ebp - 0x12c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xed], 0
mov eax, dword [ebp - 0xe4]
je 0x100306f0
test al, 0x20
je 0x100306f0
cmp byte [ebp - 0x100], 0
jne 0x10030308
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 0x100302f4
test eax, eax
je 0x100302da
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100302e2
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10015080
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.10003680
add esp, 8
mov edx, dword [ebp - 0xe4]
test edx, 0x801c0
je 0x10030699
xor esi, esi
test dl, 0x40
je 0x10030348
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x10030348
call fcn.10008eb0
mov edx, dword [ebp - 0xe4]
test al, al
je 0x10030348
mov esi, 0x40
xor eax, eax
jmp 0x100303c1
test dl, dl
jns 0x10030396
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x10030371
call fcn.10008eb0
mov edx, dword [ebp - 0xe4]
test al, al
je 0x10030371
mov esi, 0x80
lea eax, [esi - 0x7d]
jmp 0x100303c1
mov eax, dword [0x100d3d18]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x10030396
call fcn.10008eb0
mov edx, dword [ebp - 0xe4]
test al, al
je 0x10030396
mov esi, 0x80
lea eax, [esi - 0x7c]
jmp 0x100303c1
test edx, 0x80000
je 0x100303ae
cmp byte [edi + 0xe6e], 0
je 0x100303ae
mov esi, 0x80000
jmp 0x100303bc
test edx, 0x100
mov eax, 0x100
cmovne esi, eax
mov eax, 0x16
test esi, esi
je 0x10030699
mov dword [ebp - 0x88], eax
xor ecx, ecx
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x84], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x98], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 0x3c]
mov word [ebp - 0x77], cx
mov byte [ebp - 0x75], cl
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], ecx
lea edx, [esi + eax*2]
mov byte [ebp - 0x78], cl
mov ecx, esi
mov dword [ebp - 0x8c], 0
call fcn.10003750
mov ecx, dword [ebp - 0x104]
mov edi, eax
mov dword [ebp - 0x74], edi
mov ecx, dword [ecx + 0x40]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10003750
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x44]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10003750
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x98]
push eax
xor eax, eax
call eax
mov al, byte [ebp - 0x78]
add esp, 4
mov edx, dword [ebp - 0x74]
mov byte [ebp - 0xd9], al
cmp edx, edi
jne 0x1003047b
test al, al
je 0x100304d9
mov esi, dword [ebp - 0x84]
xor eax, eax
lea edi, [edx + esi]
mov dword [ebp - 0xd8], eax
test edi, edi
je 0x10030494
cmp esi, edi
jae 0x100304be
cmp byte [esi], 0
je 0x100304be
push edi
mov edx, esi
lea ecx, [ebp - 0x10c]
call fcn.10003520
add esi, eax
add esp, 4
cmp dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xd8]
je 0x100304be
inc eax
jmp 0x10030486
mov edi, dword [ebp - 0x104]
mov edx, dword [ebp - 0x74]
mov dword [edi + 0x3c], eax
mov al, byte [ebp - 0xd9]
mov byte [edi + 0xe6c], 1
jmp 0x100304df
mov edi, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x13c]
jne 0x100304ee
test al, al
je 0x10030546
cmp ecx, edx
jne 0x100304f7
mov eax, dword [edi + 0x3c]
jmp 0x10030543
mov esi, dword [ebp - 0x84]
xor eax, eax
lea edi, [ecx + esi]
mov dword [ebp - 0xd8], eax
test edi, edi
je 0x10030510
cmp esi, edi
jae 0x1003053a
cmp byte [esi], 0
je 0x1003053a
push edi
mov edx, esi
lea ecx, [ebp - 0x10c]
call fcn.10003520
add esi, eax
add esp, 4
cmp dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xd8]
je 0x1003053a
inc eax
jmp 0x10030502
mov ecx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x104]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0xec]
jne 0x1003055e
cmp byte [ebp - 0xd9], 0
je 0x10030699
cmp eax, ecx
jne 0x10030567
mov eax, dword [edi + 0x40]
jmp 0x100305b0
mov esi, dword [ebp - 0x84]
lea edi, [eax + esi]
xor eax, eax
mov dword [ebp - 0xd8], eax
test edi, edi
je 0x10030580
cmp esi, edi
jae 0x100305aa
cmp byte [esi], 0
je 0x100305aa
push edi
mov edx, esi
lea ecx, [ebp - 0x10c]
call fcn.10003520
add esi, eax
add esp, 4
cmp dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xd8]
je 0x100305aa
inc eax
jmp 0x10030572
mov edi, dword [ebp - 0x104]
cmp byte [ebp - 0xd9], 0
mov dword [edi + 0x44], eax
je 0x10030699
mov esi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x134]
cmp esi, ecx
jle 0x1003060f
cmp byte [ebp - 0x148], 0
je 0x1003060f
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x1003060c
test eax, eax
je 0x100305f5
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100305fd
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100150f0
mov dword [edi + 0xc], esi
mov eax, dword [ebp - 0x84]
mov ecx, dword [edi + 0x14]
mov esi, ecx
mov dword [ebp - 0x10c], eax
mov eax, dword [edi + 0xc]
dec eax
mov dword [ebp - 0xec], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x13c], eax
cmp ecx, eax
jae 0x1003067d
mov edi, dword [ebp - 0x10c]
nop dword [eax]
cmp byte [edi], 0
je 0x10030671
push 0
mov edx, edi
lea ecx, [ebp - 0x10c]
call fcn.10003520
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x10030671
mov word [esi], ax
add esi, 2
cmp esi, dword [ebp - 0x13c]
jb 0x10030640
mov edi, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xec]
xor eax, eax
mov word [esi], ax
sub esi, ecx
mov eax, dword [ebp - 0x80]
sar esi, 1
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xe68], 0xbe99999a
cmp byte [ebp - 0x100], 0
jne 0x100306ea
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp - 0xfc]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100306d0
test dl, dl
je 0x100306cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100306d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100306b0
xor eax, eax
jmp 0x100306d5
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp - 0xe4]
je 0x100306f0
mov ecx, dword [edi + 8]
mov dword [ebp - 0xf4], esi
jmp 0x100306f6
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xf4]
test edx, edx
je 0x100307d8
cmp byte [ebp - 0x148], 0
je 0x100307a0
mov dword [ebp - 0xc4], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xb4], eax
lea eax, [ecx + 1]
cmp dword [ebx + 0xc], eax
movlpd qword [ebp - 0xbc], xmm0
cmovge eax, dword [ebx + 0xc]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xc8]
push eax
xor eax, eax
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0xc8], 0x40000
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xc0], 0
call eax
mov esi, dword [ebp - 0xac]
add esp, 4
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], eax
lea ecx, [esi - 1]
cmp dword [ebp - 0xb0], ecx
cmovl ecx, dword [ebp - 0xb0]
jmp 0x100307a3
mov esi, dword [ebx + 0xc]
lea eax, [ecx + 1]
cmp eax, esi
cmovl esi, eax
cmp esi, 1
jb 0x100307d1
jbe 0x100307c6
lea eax, [esi - 1]
push eax
push edx
push dword [ebp - 0xfc]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp - 0xfc]
mov byte [esi + eax - 1], 0
mov byte [ebp - 0x113], 1
mov esi, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xe0]
mov dword [edi + 0xe70], 0
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
cmp byte [ebp - 0x105], 0
je 0x10030818
cmp dword [esi + 0x1bd4], eax
jne 0x10030818
call fcn.10005ac0
mov edx, dword [ebp - 0xf8]
movss xmm3, dword [0x10043f90]
test dl, dl
jne 0x100309ac
mov edx, dword [ebp - 0xe0]
lea ecx, [ebp - 0x68]
push 1
call fcn.10004cd0
mov eax, dword [0x100d3d18]
xorps xmm3, xmm3
movss xmm6, dword [0x10043ed4]
add esp, 4
movups xmm2, xmmword [eax + 0x164c]
comiss xmm3, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1518]
movups xmmword [ebp - 0x38], xmm2
jbe 0x10030875
xorps xmm0, xmm0
jmp 0x1003087c
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm4, dword [0x10043f90]
movss xmm5, dword [0x10043e9c]
movss xmm2, dword [ebp - 0x34]
comiss xmm3, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x100308a7
xorps xmm0, xmm0
jmp 0x100308ae
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x30]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm3, xmm2
jbe 0x100308ce
xorps xmm0, xmm0
jmp 0x100308d5
movaps xmm0, xmm6
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm3, xmm1
jbe 0x100308f0
xorps xmm0, xmm0
jmp 0x100308f7
movaps xmm0, xmm6
minss xmm0, xmm1
push dword [ebp - 0x5c]
movss xmm2, dword [esi + 0x1558]
push dword [ebp - 0x60]
mulss xmm0, xmm4
push dword [ebp - 0x64]
push dword [ebp - 0x68]
addss xmm0, xmm5
cvttss2si ecx, xmm0
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.100045e0
movss xmm0, dword [ebp - 0x154]
add esp, 0x10
movss xmm6, dword [ebp - 0x64]
movaps xmm4, xmm0
movss xmm7, dword [ebp - 0x170]
movaps xmm1, xmm6
addss xmm1, dword [ebp - 0x168]
movss xmm3, dword [0x10043f90]
addss xmm4, xmm7
mov edx, dword [ebp - 0xf8]
movss dword [ebp - 0x58], xmm0
addss xmm0, dword [esi + 0x1550]
movss dword [ebp - 0x10c], xmm6
movss dword [ebp - 0x54], xmm6
movss dword [ebp - 0x13c], xmm4
movss dword [ebp - 0x50], xmm4
movss dword [ebp - 0x124], xmm0
movaps xmm0, xmm6
addss xmm0, dword [esi + 0x1554]
movss dword [ebp - 0xf4], xmm1
movss dword [ebp - 0x4c], xmm1
movss dword [ebp - 0x120], xmm0
jmp 0x10030a20
movss xmm0, dword [ebp - 0x154]
movss xmm1, dword [ebp - 0x64]
movaps xmm4, xmm0
movss xmm7, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x140]
addss xmm4, xmm7
movss dword [ebp - 0x10c], xmm1
movss dword [ebp - 0x54], xmm1
addss xmm1, dword [ebp - 0x168]
mov eax, dword [ecx + 0xd0]
mov ecx, dword [ecx + 0xd4]
movss dword [ebp - 0x58], xmm0
movaps xmm0, xmm4
movss dword [ebp - 0x13c], xmm0
movss dword [ebp - 0x50], xmm0
movaps xmm0, xmm1
movss dword [ebp - 0xf4], xmm0
movss dword [ebp - 0x4c], xmm0
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], ecx
cmp byte [ebp - 0x112], 0
lea eax, [ebp - 0x124]
movss xmm2, dword [eax]
xorps xmm5, xmm5
movss xmm0, dword [eax + 4]
mov dword [ebp - 0x148], eax
movss dword [ebp - 0x12c], xmm1
movss dword [ebp - 0x130], xmm4
movss dword [ebp - 0x15c], xmm2
movss dword [ebp - 0x48], xmm2
movss dword [ebp - 0x44], xmm0
movss dword [ebp - 0xec], xmm5
movss dword [ebp - 0xd8], xmm5
je 0x10030a7e
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0xfc], ecx
jmp 0x10030a84
mov ecx, dword [ebp - 0xfc]
cmp byte [ebp - 0xda], 0
jne 0x10030d49
cmp byte [ebp - 0x16c], 0
jne 0x10030d49
test dl, dl
je 0x10030afc
mov eax, dword [ebp - 0xfc]
xor ecx, ecx
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
je 0x10030ac5
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x10030ab3
mov al, byte [edi - 1]
dec edi
mov dword [ebp - 0xe0], edi
cmp al, 0xa
je 0x10030ad8
cmp al, 0xd
je 0x10030ad8
inc ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x1930]
movss dword [ebp - 0xd8], xmm0
movaps xmm0, xmm7
movss dword [ebp - 0xec], xmm0
jmp 0x10030b40
mov eax, dword [ebp - 0xe0]
cmp dword [esi + 0x1bd4], eax
jne 0x10030b11
mov edi, dword [edi + 8]
add edi, ecx
jmp 0x10030b2b
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030b14
mov edi, dword [ebp - 0xfc]
sub ecx, edx
add edi, ecx
mov ecx, dword [ebp - 0xfc]
mov eax, edi
mov dword [ebp - 0xe0], edi
sub eax, ecx
cmp eax, 0x200000
jge 0x10031a1a
mov eax, dword [0x100d3d18]
movss xmm6, dword [0x10043ed4]
movups xmm2, xmmword [eax + 0x15dc]
comiss xmm5, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1518]
movups xmmword [ebp - 0x38], xmm2
jbe 0x10030b71
movaps xmm0, xmm5
jmp 0x10030b78
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm4, dword [0x10043e9c]
movss xmm2, dword [ebp - 0x34]
comiss xmm5, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x10030b9b
movaps xmm0, xmm5
jmp 0x10030ba2
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x30]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm2
jbe 0x10030bc2
movaps xmm0, xmm5
jmp 0x10030bc9
movaps xmm0, xmm6
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm1
jbe 0x10030be4
movaps xmm6, xmm5
jmp 0x10030be8
minss xmm6, xmm1
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x58]
movss xmm2, dword [esi + 0x1930]
mulss xmm6, xmm3
mov dword [ebp - 0x10c], 0
addss xmm6, xmm4
cvttss2si edi, xmm6
shl edi, 0x18
or edi, ecx
mov ecx, dword [eax + 0x284]
cmp byte [ebp - 0xf8], 0
mov eax, dword [esi + 0x192c]
cmovne edx, dword [ebp - 0x10c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x130], eax
test edi, 0xff000000
je 0x10031a14
test eax, eax
jne 0x10030c86
mov ecx, dword [ebp - 0xfc]
lea eax, [ecx + 1]
mov dword [ebp - 0x10c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030c65
sub ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xfc]
add eax, ecx
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0xfc], eax
je 0x10031a14
cmp dword [esi + 0x192c], 0
jne 0x10030ca7
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x12c], eax
ucomiss xmm2, xmm5
lahf
test ah, 0x44
jp 0x10030cb8
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [ebp - 0x28], xmm0
test edx, edx
je 0x10030d0b
movss xmm1, dword [edx]
movss xmm0, dword [ebp - 0x28]
comiss xmm0, xmm1
jae 0x10030cd7
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [ebp - 0x24]
comiss xmm0, xmm1
jae 0x10030ceb
movss dword [ebp - 0x24], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [ebp - 0x20]
ja 0x10030cfb
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [ebp - 0x1c]
ja 0x10030d0b
movss dword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x148]
test edx, edx
push dword [eax + 4]
push dword [eax]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x28]
push dword [ebp - 0x130]
push dword [ebp - 0xfc]
push eax
push edi
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.10023670
jmp 0x10031a14
mov eax, dword [edi + 8]
xor edx, edx
mov dword [ebp - 0x1c], eax
xorps xmm6, xmm6
add eax, ecx
mov dword [ebp - 0x134], 0
xorps xmm3, xmm3
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x144], 0xfffffc18
mov dword [ebp - 0xe8], 0xfffffc18
cmp byte [ebp - 0xda], dl
je 0x10030db0
mov eax, dword [edi + 0x3c]
or esi, 0xffffffff
mov dword [ebp - 0x144], esi
lea eax, [ecx + eax*2]
mov dword [ebp - 0x134], eax
lea edx, [esi + 2]
cmp byte [ebp - 0x16c], 0
je 0x10030de3
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [ebp - 0x138]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [ebp - 0xe8], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x118], eax
mov esi, dword [ebp - 0x138]
mov eax, dword [ebp - 0xf8]
movzx eax, al
add edx, eax
xor eax, eax
movzx esi, word [esi]
test si, si
mov dword [ebp - 0x14c], eax
mov esi, dword [ebp - 0x144]
je 0x10030e83
mov edi, dword [ebp - 0x138]
movzx esi, word [edi]
mov edi, dword [ebp - 0x144]
nop dword [eax]
cmp si, 0xa
jne 0x10030e5d
inc eax
mov dword [ebp - 0x14c], eax
cmp edi, 0xffffffff
jne 0x10030e41
cmp ecx, dword [ebp - 0x134]
jb 0x10030e41
dec edx
mov edi, eax
test edx, edx
jle 0x10030e71
cmp dword [ebp - 0xe8], 0xffffffff
jne 0x10030e5d
cmp ecx, dword [ebp - 0x118]
jb 0x10030e5d
dec edx
mov dword [ebp - 0xe8], eax
test edx, edx
jle 0x10030e71
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
mov eax, dword [ebp - 0x14c]
jne 0x10030e20
mov dword [ebp - 0x144], edi
mov edi, dword [ebp - 0x104]
mov esi, dword [ebp - 0x144]
mov edx, dword [ebp - 0x138]
inc eax
cmp esi, 0xffffffff
mov dword [ebp - 0x14c], eax
mov ecx, eax
cmovne ecx, esi
mov esi, dword [ebp - 0x134]
mov dword [ebp - 0x148], ecx
mov ecx, dword [ebp - 0xe8]
cmp ecx, 0xffffffff
cmove ecx, eax
mov dword [ebp - 0xe8], ecx
mov ecx, esi
cmp esi, edx
jbe 0x10030ece
nop dword [eax]
cmp word [ecx - 2], 0xa
je 0x10030ece
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10030ec0
mov eax, dword [0x100d3d18]
movaps xmm1, xmm5
movaps xmm7, xmm5
mov edx, dword [eax + 0x192c]
movss xmm4, dword [eax + 0x1930]
divss xmm4, dword [edx + 0x10]
cmp ecx, esi
jae 0x10030f38
mov edi, dword [ebp - 0x134]
movzx eax, word [ecx]
add ecx, 2
mov esi, eax
cmp eax, 0xa
jne 0x10030f0c
maxss xmm1, xmm7
movaps xmm7, xmm5
jmp 0x10030f2e
cmp esi, 0xd
je 0x10030f2e
mov esi, eax
cmp esi, dword [edx]
jge 0x10030f21
mov eax, dword [edx + 8]
movss xmm0, dword [eax + esi*4]
jmp 0x10030f26
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm4
addss xmm7, xmm0
cmp ecx, edi
jb 0x10030ef6
mov edi, dword [ebp - 0x104]
cmp dword [ebp - 0xe8], 0
maxss xmm7, xmm1
movd xmm0, dword [ebp - 0x148]
mov ecx, dword [ebp - 0xd0]
cvtdq2ps xmm0, xmm0
movss xmm5, dword [ecx + 0x1930]
mulss xmm0, xmm5
movss dword [ebp - 0x120], xmm7
movss dword [ebp - 0x144], xmm0
jl 0x1003100f
mov eax, dword [ebp - 0x118]
mov ecx, eax
mov esi, dword [ebp - 0x138]
cmp eax, esi
jbe 0x10030f9c
cmp word [ecx - 2], 0xa
je 0x10030f96
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x10030f88
mov eax, dword [ebp - 0x118]
xorps xmm0, xmm0
xorps xmm1, xmm1
xorps xmm3, xmm3
cmp ecx, eax
jae 0x10030ff6
mov edi, dword [ebp - 0x118]
nop
movzx eax, word [ecx]
add ecx, 2
cmp eax, 0xa
jne 0x10030fc4
maxss xmm1, xmm3
movaps xmm3, xmm0
jmp 0x10030fec
cmp eax, 0xd
je 0x10030fec
mov esi, eax
cmp esi, dword [edx]
jge 0x10030fd9
mov eax, dword [edx + 8]
movss xmm2, dword [eax + esi*4]
jmp 0x10030fde
movss xmm2, dword [edx + 0xc]
movaps xmm0, xmm4
mulss xmm0, xmm2
addss xmm3, xmm0
xorps xmm0, xmm0
cmp ecx, edi
jb 0x10030fb0
mov edi, dword [ebp - 0x104]
movd xmm6, dword [ebp - 0xe8]
maxss xmm3, xmm1
mov ecx, dword [ebp - 0xd0]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm5
mov edx, dword [ebp - 0xf8]
movss xmm4, dword [ebp - 0x170]
test dl, dl
je 0x10031043
movd xmm2, dword [ebp - 0x14c]
movaps xmm0, xmm4
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0xec], xmm0
mulss xmm2, xmm5
movss dword [ebp - 0xd8], xmm2
cmp byte [ebp - 0xda], 0
je 0x10031170
cmp byte [edi + 0xe6c], 0
je 0x10031170
test dword [ebp - 0xe4], 0x1000
jne 0x100310b5
movss xmm2, dword [edi + 0x38]
movaps xmm0, xmm4
comiss xmm2, xmm7
mulss xmm0, dword [0x10043e88]
movaps xmm1, xmm7
subss xmm4, dword [ecx + 0x1550]
jbe 0x100310a6
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x100310bc
subss xmm1, xmm4
comiss xmm1, xmm2
jb 0x100310bc
addss xmm0, xmm1
jmp 0x10031094
mov dword [edi + 0x38], 0
xorps xmm2, xmm2
test dl, dl
je 0x1003115c
movss xmm1, dword [ebp - 0x144]
movss xmm4, dword [ebp - 0x164]
movaps xmm0, xmm1
subss xmm0, dword [ecx + 0x1930]
movss xmm5, dword [ebp - 0x168]
comiss xmm4, xmm0
jbe 0x100310f8
xorps xmm4, xmm4
maxss xmm4, xmm0
jmp 0x10031114
movaps xmm0, xmm1
subss xmm0, xmm5
comiss xmm0, xmm4
jb 0x10031114
movss xmm4, dword [ecx + 0x1554]
addss xmm4, xmm4
addss xmm4, xmm0
comiss xmm2, xmm4
movss xmm1, dword [ecx + 0x1554]
jbe 0x10031126
xorps xmm1, xmm1
jmp 0x1003113e
addss xmm1, xmm1
addss xmm1, dword [ebp - 0xd8]
subss xmm1, xmm5
maxss xmm1, xmm2
minss xmm1, xmm4
mov eax, dword [ebp - 0x140]
movss xmm0, dword [eax + 0x5c]
subss xmm0, xmm1
addss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x44], xmm0
movss dword [eax + 0x5c], xmm1
mov byte [edi + 0xe6c], 0
movss xmm0, dword [ebp - 0x48]
movss dword [ebp - 0x15c], xmm0
cmp byte [ebp - 0x16c], 0
movss xmm4, dword [edi + 0x38]
movss dword [ebp - 0x14c], xmm4
je 0x10031538
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
mov eax, edx
mov esi, dword [ebp - 0x138]
cmp ecx, edx
movss xmm7, dword [0x10043ed4]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xda], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x138]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x134], ecx
je 0x100311c8
movaps xmm1, xmm7
jmp 0x100311d0
movss xmm1, dword [0x10043ea0]
mov eax, dword [0x100d3d18]
xorps xmm5, xmm5
movups xmm2, xmmword [eax + 0x18cc]
mulss xmm1, dword [eax + 0x1518]
comiss xmm5, xmm2
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xff
movups xmmword [ebp - 0x38], xmm2
mulss xmm1, xmm0
jbe 0x10031200
xorps xmm0, xmm0
jmp 0x10031207
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm7, dword [0x10043f90]
movss xmm2, dword [ebp - 0x34]
comiss xmm5, xmm2
mulss xmm0, xmm7
addss xmm0, dword [0x10043e9c]
cvttss2si edx, xmm0
jbe 0x1003122e
xorps xmm0, xmm0
jmp 0x1003123a
movss xmm0, dword [0x10043ed4]
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x30]
mulss xmm0, xmm7
addss xmm0, dword [0x10043e9c]
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm5, xmm2
jbe 0x1003125e
xorps xmm0, xmm0
jmp 0x1003126a
movss xmm0, dword [0x10043ed4]
minss xmm0, xmm2
movss xmm2, dword [0x10043e9c]
mulss xmm0, xmm7
addss xmm0, xmm2
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm5, xmm1
jbe 0x1003128d
xorps xmm0, xmm0
jmp 0x10031299
movss xmm0, dword [0x10043ed4]
minss xmm0, xmm1
mulss xmm0, xmm7
addss xmm0, xmm2
cvttss2si eax, xmm0
shl eax, 0x18
or eax, edx
cmp byte [ebp - 0xf8], 0
mov dword [ebp - 0x164], eax
je 0x100312c6
xorps xmm7, xmm7
movss dword [ebp - 0x148], xmm5
jmp 0x100312de
movss xmm0, dword [0x10043f30]
movss xmm7, dword [0x10043fc4]
movss dword [ebp - 0x148], xmm0
movss dword [ebp - 0x118], xmm7
addss xmm3, dword [ebp - 0x15c]
subss xmm3, xmm4
movss xmm4, dword [ebp - 0x44]
addss xmm4, xmm6
subss xmm4, xmm5
movss dword [ebp - 0x168], xmm4
cmp esi, ecx
jae 0x10031530
movss xmm1, dword [ebp - 0xf4]
mov edi, dword [ebp - 0xd0]
nop dword [eax]
movss xmm6, dword [edi + 0x1930]
movaps xmm0, xmm1
addss xmm0, xmm6
comiss xmm4, xmm0
ja 0x1003152a
movss xmm0, dword [ebp - 0x64]
comiss xmm0, xmm4
jbe 0x10031369
cmp esi, ecx
jae 0x100314fa
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x100314fa
cmp esi, ecx
jb 0x10031350
jmp 0x100314fa
mov eax, dword [0x100d3d18]
xorps xmm1, xmm1
mov edx, dword [eax + 0x192c]
movss xmm2, dword [eax + 0x1930]
divss xmm2, dword [edx + 0x10]
cmp esi, ecx
jae 0x100313d3
nop dword [eax + eax]
movzx eax, word [esi]
add esi, 2
cmp eax, 0xa
je 0x100313c9
cmp eax, 0xd
je 0x100313c3
mov ecx, eax
cmp ecx, dword [edx]
jge 0x100313b0
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x100313b5
movss xmm0, dword [edx + 0xc]
mov ecx, dword [ebp - 0x134]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, ecx
jb 0x10031390
jmp 0x100313d3
xorps xmm5, xmm5
maxss xmm5, xmm1
xorps xmm1, xmm1
maxss xmm1, xmm5
xorps xmm5, xmm5
comiss xmm5, xmm1
jb 0x1003140f
mov eax, dword [edi + 0x192c]
cmp dword [eax], 0x20
jle 0x100313f7
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x100313fc
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x10043e9c]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [ebp - 0x148]
addss xmm1, xmm3
movaps xmm2, xmm7
addss xmm0, xmm4
movss xmm7, dword [ebp - 0x13c]
subss xmm2, xmm6
movss xmm6, dword [ebp - 0xf4]
addss xmm3, xmm5
minss xmm1, xmm7
minss xmm0, xmm6
addss xmm2, xmm4
maxss xmm3, dword [ebp - 0x154]
movss dword [ebp - 0x30], xmm1
comiss xmm0, dword [ebp - 0x10c]
maxss xmm2, dword [ebp - 0x64]
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x34], xmm2
jbe 0x100314f2
comiss xmm6, xmm2
jbe 0x100314f2
comiss xmm1, dword [ebp - 0x154]
jbe 0x100314f2
comiss xmm7, xmm3
jbe 0x100314f2
push 0
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x30]
push dword [ebp - 0x164]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x284]
call fcn.1001fa90
movss xmm0, dword [ebp - 0x130]
xorps xmm5, xmm5
movss xmm1, dword [ebp - 0x48]
movss xmm4, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x134]
movss dword [ebp - 0x130], xmm0
movss xmm0, dword [ebp - 0x12c]
movss dword [ebp - 0x12c], xmm0
movss dword [ebp - 0x15c], xmm1
movss xmm1, dword [ebp - 0xf4]
movss xmm3, dword [ebp - 0x15c]
movss xmm7, dword [ebp - 0x118]
addss xmm4, dword [edi + 0x1930]
subss xmm3, dword [ebp - 0x14c]
movss dword [ebp - 0x168], xmm4
cmp esi, ecx
jb 0x10031320
mov edi, dword [ebp - 0x104]
movss xmm4, dword [ebp - 0x14c]
cmp byte [ebp - 0xf8], 0
jne 0x1003154e
cmp dword [ebp - 0x1c], 0x200000
jge 0x1003179d
mov eax, dword [0x100d3d18]
xorps xmm5, xmm5
movss xmm7, dword [0x10043ed4]
movups xmm2, xmmword [eax + 0x15dc]
comiss xmm5, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1518]
movups xmmword [ebp - 0x38], xmm2
jbe 0x10031582
xorps xmm0, xmm0
jmp 0x10031589
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm3, dword [0x10043f90]
movss xmm6, dword [0x10043e9c]
movss xmm2, dword [ebp - 0x34]
comiss xmm5, xmm2
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x100315b4
xorps xmm0, xmm0
jmp 0x100315bb
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm2, dword [ebp - 0x30]
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm2
jbe 0x100315db
xorps xmm0, xmm0
jmp 0x100315e2
movaps xmm0, xmm7
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm1
jbe 0x100315fd
xorps xmm0, xmm0
jmp 0x10031604
movaps xmm0, xmm7
minss xmm0, xmm1
mov esi, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xe0]
mulss xmm0, xmm3
mov dword [ebp - 0x134], edx
mov edx, dword [esi + 0x192c]
movss xmm2, dword [esi + 0x1930]
addss xmm0, xmm6
mov dword [ebp - 0x10c], edx
lea edx, [ebp - 0x58]
mov dword [ebp - 0x1c], 0
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x15c]
subss xmm0, xmm4
shl eax, 0x18
or eax, ecx
mov ecx, dword [ebp - 0x140]
cmp byte [ebp - 0xf8], 0
mov dword [ebp - 0x148], eax
cmovne edx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x284]
movss dword [ebp - 0x160], xmm0
movss xmm0, dword [ebp - 0x44]
mov dword [ebp - 0x13c], ecx
subss xmm0, xmm5
movss dword [ebp - 0x15c], xmm0
test eax, 0xff000000
je 0x100317a6
cmp dword [ebp - 0xe0], 0
jne 0x100316d0
mov ecx, dword [ebp - 0xfc]
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100316b0
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xfc]
add eax, ecx
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x134], eax
jmp 0x100316d6
mov eax, dword [ebp - 0x134]
cmp dword [ebp - 0xfc], eax
je 0x100317a6
cmp dword [esi + 0x192c], 0
jne 0x100316f7
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10c], eax
ucomiss xmm2, xmm5
lahf
test ah, 0x44
jp 0x10031708
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [ebp - 0x28], xmm0
test edx, edx
je 0x1003175b
movss xmm1, dword [edx]
movss xmm0, dword [ebp - 0x28]
comiss xmm0, xmm1
jae 0x10031727
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [ebp - 0x24]
comiss xmm0, xmm1
jae 0x1003173b
movss dword [ebp - 0x24], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [ebp - 0x20]
ja 0x1003174b
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [ebp - 0x1c]
ja 0x1003175b
movss dword [ebp - 0x1c], xmm0
push dword [ebp - 0x15c]
test edx, edx
mov edx, dword [ebp - 0x134]
push dword [ebp - 0x160]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x28]
push edx
push dword [ebp - 0xfc]
push eax
push dword [ebp - 0x148]
push ecx
mov ecx, dword [ebp - 0x10c]
call fcn.10023670
jmp 0x100317a3
mov esi, dword [ebp - 0xd0]
xorps xmm5, xmm5
cmp byte [ebp - 0xda], 0
je 0x10031a14
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xb2], 0
je 0x10031809
comiss xmm5, xmm0
jae 0x10031809
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fld qword [0x10043f28]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x10043ec0]
fstp qword [ebp - 0x20]
movsd xmm1, qword [ebp - 0x20]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x10031809
xor cl, cl
jmp 0x1003180b
mov cl, 1
movss xmm0, dword [ebp - 0x120]
xorps xmm5, xmm5
movss xmm7, dword [0x10043e9c]
movss xmm6, dword [0x10043ed4]
addss xmm0, dword [ebp - 0x48]
subss xmm0, dword [ebp - 0x14c]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x44]
addss xmm0, dword [ebp - 0x144]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm0, xmm5
movss dword [ebp - 0x120], xmm1
movaps xmm3, xmm1
movss dword [ebp - 0x38], xmm1
addss xmm3, xmm6
cvttss2si eax, xmm0
movss dword [ebp - 0x30], xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0x1c], xmm2
movaps xmm0, xmm2
movaps xmm4, xmm2
subss xmm0, dword [esi + 0x1930]
subss xmm4, dword [0x10043ef0]
addss xmm0, xmm7
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x34], xmm0
test cl, cl
je 0x100319ef
comiss xmm4, dword [ebp - 0x64]
jbe 0x100319ef
movss xmm6, dword [ebp - 0x12c]
comiss xmm6, xmm0
jbe 0x100319e7
comiss xmm3, dword [ebp - 0x154]
jbe 0x100319e7
movss xmm0, dword [ebp - 0x130]
comiss xmm0, xmm1
jbe 0x100319e7
mov eax, dword [0x100d3d18]
movups xmm3, xmmword [eax + 0x15dc]
comiss xmm5, xmm3
movaps xmm2, xmm3
shufps xmm2, xmm3, 0xff
mulss xmm2, dword [eax + 0x1518]
movups xmmword [ebp - 0x58], xmm3
jbe 0x10031906
xorps xmm0, xmm0
jmp 0x10031912
movss xmm0, dword [0x10043ed4]
minss xmm0, xmm3
movss xmm6, dword [0x10043f90]
movss xmm3, dword [ebp - 0x54]
comiss xmm5, xmm3
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x10031935
xorps xmm0, xmm0
jmp 0x10031941
movss xmm0, dword [0x10043ed4]
minss xmm0, xmm3
movss xmm3, dword [ebp - 0x50]
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x10031961
xorps xmm0, xmm0
jmp 0x1003196d
movss xmm0, dword [0x10043ed4]
minss xmm0, xmm3
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm5, xmm2
jbe 0x10031988
xorps xmm0, xmm0
jmp 0x10031994
movss xmm0, dword [0x10043ed4]
minss xmm0, xmm2
mulss xmm0, xmm6
push ecx
mov dword [esp], 0x3f800000
movss dword [ebp - 0x110], xmm1
addss xmm0, xmm7
movss dword [ebp - 0x10c], xmm4
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x284]
call fcn.1001f970
movss xmm1, dword [ebp - 0x120]
movss xmm2, dword [ebp - 0x1c]
movss xmm6, dword [0x10043ed4]
cmp byte [ebp - 0x100], 0
jne 0x10031a14
subss xmm2, dword [esi + 0x1930]
subss xmm1, xmm6
movss dword [esi + 0x2e90], xmm2
movss dword [esi + 0x2e8c], xmm1
mov edi, dword [ebp - 0xe0]
cmp byte [ebp - 0x158], 0
je 0x10031a28
call fcn.1000ec30
cmp byte [ebp - 0xf8], 0
je 0x10031adc
mov ecx, dword [0x100d3d18]
movss xmm1, dword [ebp - 0xd8]
addss xmm1, dword [esi + 0x1554]
movss xmm0, dword [ebp - 0xec]
mov eax, dword [ecx + 0x1b9c]
movss dword [ebp - 0x124], xmm0
movss dword [ebp - 0x120], xmm1
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b9c]
cmp byte [eax + 0x8f], 0
jne 0x10031ad2
movss xmm2, dword [eax + 0xd0]
lea ecx, [ebp - 0x124]
movaps xmm3, xmm2
movss dword [ebp - 0x38], xmm2
addss xmm3, xmm0
movss xmm0, dword [eax + 0xd4]
addss xmm1, xmm0
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x2c], xmm1
movss xmm1, dword [0x10043fc4]
call fcn.1000ef00
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x38]
call fcn.1000f080
add esp, 8
call fcn.10009140
call fcn.1000f530
cmp byte [esi + 0x2ee4], 0
je 0x10031b19
cmp byte [ebp - 0x158], 0
jne 0x10031b19
mov eax, dword [0x100d3d18]
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0xfc]
push edi
mov dword [eax + 0x2efc], 0x10043820
mov dword [eax + 0x2f00], 0x1004381c
call fcn.100137a0
add esp, 4
movss xmm0, dword [ebp - 0x178]
comiss xmm0, dword [0x10043e58]
jbe 0x10031b72
movss xmm0, dword [ebp - 0x60]
xor edx, edx
addss xmm0, dword [esi + 0x1568]
mov ecx, dword [ebp - 0x174]
movss dword [ebp - 0x124], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, dword [esi + 0x1554]
movss dword [ebp - 0x120], xmm0
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push 1
call fcn.10003a60
add esp, 0xc
mov dl, byte [ebp - 0x113]
mov ecx, dword [ebp - 0xe4]
test dl, dl
je 0x10031ba5
test ecx, 0x8000000
jne 0x10031ba5
mov eax, dword [0x100d3d18]
mov word [eax + 0x1be4], 0x101
mov eax, dword [eax + 0x1b9c]
or dword [eax + 0x120], 4
test cl, 0x20
movzx eax, dl
movzx ecx, byte [ebp - 0xed]
cmovne eax, ecx
jmp 0x1002e42b