Function at 0x10039ab0
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 0x100d11e0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x10105018]
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 - 0x14c], ecx
mov esi, dword [0x10107a10]
mov ecx, esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xac], ecx
mov eax, dword [ecx + 0x1b9c]
mov byte [eax + 0x8c], 1
mov edi, dword [ecx + 0x1b9c]
mov dword [ebp - 0x108], edi
cmp byte [edi + 0x8f], 0
jne 0x10039e45
mov ecx, dword [ebx + 0x14]
mov eax, ecx
shr eax, 0xe
mov edx, ecx
and eax, 0xffffff01
shr edx, 0x1a
mov dword [ebp - 0xdc], eax
and edx, 0xffffff01
mov eax, ecx
mov dword [ebp - 0xcc], edx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0x148], eax
mov eax, ecx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0xf8], eax
mov eax, ecx
shr eax, 0x12
and eax, 0xffffff01
mov dword [ebp - 0x104], eax
test dl, dl
je 0x10039b99
call fcn.10023bb0
mov esi, dword [0x10107a10]
mov ecx, dword [edi + 0xc4]
xor edx, edx
mov eax, dword [edi + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x14c]
call fcn.100178f0
add esp, 4
mov dword [ebp - 0xc0], eax
cmp dword [esi + 0x1bd4], eax
jne 0x10039bcd
mov dword [esi + 0x1bd8], eax
cmp dword [esi + 0x1c0c], eax
jne 0x10039bdc
mov byte [esi + 0x1c10], 1
mov eax, dword [ebp - 0x14c]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10039c06
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x10039c06
cmp dl, 0x23
jne 0x10039c00
cmp byte [ecx + 1], dl
je 0x10039c06
inc ecx
cmp ecx, 0xffffffff
jb 0x10039bf0
movss xmm1, dword [0x100fcc98]
movss xmm0, dword [esi + 0x1930]
movss dword [ebp - 0x140], xmm1
cmp eax, ecx
jne 0x10039c2f
xorps xmm3, xmm3
movss dword [ebp - 0x158], xmm3
jmp 0x10039c80
push ecx
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x192c]
lea eax, [ebp - 0xf0]
mov dword [esp], 0xbf800000
movaps xmm3, xmm1
push eax
movaps xmm2, xmm0
call fcn.1002fd00
movss xmm0, dword [ebp - 0xf0]
xorps xmm3, xmm3
addss xmm0, dword [0x100fcbac]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x158], xmm0
movss xmm0, dword [ebp - 0xec]
cmp byte [ebp - 0xcc], 0
mov eax, dword [ebp - 0xac]
je 0x10039c9f
movss xmm0, dword [eax + 0x1930]
mulss xmm0, dword [0x100fcc1c]
test byte [esi + 0x1c80], 1
movss xmm1, dword [eax + 0x1554]
mov eax, dword [esi + 0x1b9c]
movaps xmm2, xmm1
addss xmm2, xmm1
addss xmm2, xmm0
je 0x10039ccb
movss xmm0, dword [esi + 0x1c84]
jmp 0x10039cd3
movss xmm0, dword [eax + 0x1b0]
comiss xmm3, xmm0
jbe 0x10039d12
cmp dword [eax + 0x198], 0
movss xmm1, dword [eax + 0x248]
jne 0x10039cf2
cmp dword [esi + 0x1ed4], 0
je 0x10039cfa
movss xmm1, dword [eax + 0x218]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x100fcbb4]
maxss xmm0, xmm1
cvttss2si eax, xmm0
lea ecx, [ebp - 0xf0]
movd xmm1, eax
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm1, xmm1
push dword [eax + 4]
push dword [eax]
call fcn.10023ad0
movss xmm1, dword [ebp - 0x158]
xorps xmm0, xmm0
mov esi, dword [ebp - 0xac]
add esp, 8
comiss xmm1, xmm0
jbe 0x10039d53
addss xmm1, dword [esi + 0x1568]
jmp 0x10039d56
xorps xmm1, xmm1
cmp byte [ebp - 0xcc], 0
movss xmm4, dword [edi + 0xd4]
movss xmm2, dword [ebp - 0xf0]
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0xec]
movss xmm5, dword [edi + 0xd0]
addss xmm1, xmm2
movaps xmm6, xmm5
movss dword [ebp - 0x130], xmm5
addss xmm6, xmm2
movss dword [ebp - 0x134], xmm2
movss dword [ebp - 0x12c], xmm4
movss dword [ebp - 0x30], xmm0
movaps xmm0, xmm4
addss xmm0, dword [ebp - 0xec]
addss xmm1, xmm5
movss dword [ebp - 0x3c], xmm5
movss dword [ebp - 0x150], xmm6
movss dword [ebp - 0x38], xmm4
movss dword [ebp - 0x34], xmm6
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
mov dword [ebp - 0x100], edi
je 0x1003a042
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0x3c]
push 1
push eax
lea ecx, [ebp - 0x24]
call fcn.100236d0
add esp, 8
test al, al
jne 0x10039e65
movss xmm0, dword [ebp - 0x1c]
lea ecx, [ebp - 0xf0]
subss xmm0, dword [ebp - 0x24]
movss xmm1, dword [esi + 0x1554]
movss dword [ebp - 0xf0], xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0xec], xmm0
call fcn.100235a0
call fcn.10023ce0
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.100a8abc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [0x10107a10]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 3
movups xmm0, xmmword [esi + 0x160c]
lea ecx, [esi + 0x1c94]
movups xmmword [ebp - 0x24], xmm0
call fcn.10029660
mov edi, dword [ebp - 0xac]
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 6
movups xmm0, xmmword [edi + 0x164c]
movups xmmword [esi + 0x160c], xmm0
mov esi, dword [0x10107a10]
movss xmm0, dword [edi + 0x1558]
movss dword [ebp - 0xb4], xmm0
movss xmm0, dword [esi + 0x1540]
lea ecx, [esi + 0x1ca0]
movss dword [ebp - 0x11c], xmm0
call fcn.100295a0
movss xmm0, dword [ebp - 0xb4]
lea eax, [ebp - 0x120]
movss dword [esi + 0x1540], xmm0
mov esi, dword [0x10107a10]
movss xmm0, dword [edi + 0x155c]
movss dword [ebp - 0xb4], xmm0
push eax
movss xmm0, dword [esi + 0x1544]
lea ecx, [esi + 0x1ca0]
mov dword [ebp - 0x120], 7
movss dword [ebp - 0x11c], xmm0
call fcn.100295a0
movss xmm0, dword [ebp - 0xb4]
lea eax, [ebp - 0x11c]
movss xmm1, dword [ebp - 0x34]
sub esp, 8
movss xmm2, dword [ebp - 0x38]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x14c]
movss dword [esi + 0x1544], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x150], xmm1
subss xmm1, xmm0
movss dword [ebp - 0x130], xmm0
movss xmm0, dword [ebp - 0x30]
subss xmm0, xmm2
movss dword [ebp - 0x12c], xmm2
push eax
movss dword [ebp - 0x11c], xmm1
movss dword [ebp - 0x118], xmm0
call fcn.1001ddd0
add esp, 0xc
mov byte [ebp - 0xe4], al
mov ecx, 2
call fcn.10018980
mov ecx, 1
call fcn.100188b0
cmp byte [ebp - 0xe4], 0
jne 0x10039fd3
call fcn.1001dfa0
jmp 0x10039e40
mov esi, edi
mov edi, dword [esi + 0x1b9c]
mov dword [ebp - 0x100], 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 - 0xf0]
subss xmm0, dword [edi + 0x80]
movss dword [ebp - 0x134], xmm0
jmp 0x1003a0bc
subss xmm1, xmm5
subss xmm0, xmm4
lea ecx, [ebp - 0x11c]
movss dword [ebp - 0x11c], xmm1
movss xmm1, dword [esi + 0x1554]
movss dword [ebp - 0x118], xmm0
call fcn.100235a0
test dword [ebx + 0x14], 0x10000000
jne 0x1003a0bc
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0x3c]
push 1
push eax
lea ecx, [ebp - 0x24]
call fcn.100236d0
add esp, 8
test al, al
je 0x10039e45
movss xmm0, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0x34]
movss dword [ebp - 0x12c], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x150], xmm1
movss dword [ebp - 0x130], xmm0
mov edx, dword [ebp - 0xc0]
lea ecx, [ebp - 0x3c]
call fcn.10019eb0
mov dl, al
mov byte [ebp - 0xe2], dl
test dl, dl
je 0x1003a0e0
mov dword [esi + 0x1e40], 1
mov edi, dword [0x10107a10]
xor ecx, ecx
mov eax, dword [ebp - 0xc0]
add edi, 0x1f64
cmp dword [edi], eax
mov eax, dword [ebp - 0x108]
cmovne edi, ecx
mov dword [ebp - 0xe0], edi
mov eax, dword [eax + 0x120]
mov ecx, eax
shr ecx, 8
shr eax, 9
and ecx, 0xffffff01
and eax, 0xffffff01
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x114], eax
test dl, dl
je 0x1003a13e
cmp byte [esi + 0x3d8], 0
mov byte [ebp - 0xae], 1
jne 0x1003a145
mov byte [ebp - 0xae], 0
mov esi, dword [esi + 0x1bd4]
mov ecx, dword [ebp - 0xc0]
cmp esi, ecx
je 0x1003a17d
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x1d18], ecx
je 0x1003a174
cmp dword [eax + 0x1d0c], ecx
jne 0x1003a17d
cmp dword [eax + 0x1d30], 2
jne 0x1003a17d
mov byte [ebp - 0xaf], 1
jmp 0x1003a184
mov byte [ebp - 0xaf], 0
mov eax, dword [ebp - 0xcc]
test al, al
je 0x1003a1d8
test edi, edi
je 0x1003a1d8
test esi, esi
jne 0x1003a1d8
mov eax, dword [ebp - 0x100]
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.100178f0
mov ecx, dword [ebp - 0xac]
add esp, 4
cmp dword [ecx + 0x1c0c], eax
jne 0x1003a1d2
mov byte [ebp - 0xad], 1
jmp 0x1003a1ee
mov eax, dword [ebp - 0xcc]
mov byte [ebp - 0xad], 0
test al, al
je 0x1003a21b
mov byte [ebp - 0xad], 0
test edi, edi
je 0x1003a21b
mov eax, dword [ebp - 0x100]
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.100178f0
add esp, 4
cmp esi, eax
jne 0x1003a21b
mov cl, 1
jmp 0x1003a21d
xor cl, cl
mov dl, byte [ebp - 0xaf]
mov byte [ebp - 0xb6], cl
mov byte [ebp - 0xd5], 0
cmp esi, dword [ebp - 0xc0]
je 0x1003a255
test byte [ebx + 0x14], 0x10
jne 0x1003a242
test dl, dl
je 0x1003a255
mov eax, dword [ebp - 0xcc]
test al, al
jne 0x1003a25b
mov byte [ebp - 0xc8], 1
jmp 0x1003a27f
mov eax, dword [ebp - 0xcc]
mov byte [ebp - 0xc8], 0
test al, al
je 0x1003a27f
mov edi, dword [ebp - 0x100]
movss xmm0, dword [edi + 0x5c]
mov edi, dword [ebp - 0xe0]
movss dword [ebp - 0x140], xmm0
test edi, edi
je 0x1003a28e
xor al, 1
cmp byte [edi + 0x53], al
je 0x1003a28e
mov al, 1
jmp 0x1003a290
xor al, al
cmp byte [ebp - 0xae], 0
mov byte [ebp - 0xcd], al
jne 0x1003a2ce
cmp byte [ebp - 0xad], 0
jne 0x1003a2ce
test dl, dl
jne 0x1003a2ce
cmp byte [ebp - 0x128], dl
jne 0x1003a2ce
cmp byte [ebp - 0x114], dl
jne 0x1003a2ce
mov byte [ebp - 0xad], dl
test cl, cl
jne 0x1003a2d5
mov byte [ebp - 0xb0], cl
jmp 0x1003a2e4
mov byte [ebp - 0xad], 1
mov byte [ebp - 0xb0], 1
cmp esi, dword [ebp - 0xc0]
jne 0x1003a2ec
test al, al
je 0x1003a539
mov edi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xd4]
add edi, 0x1f64
mov dword [ebp - 0xe0], edi
mov dword [edi + 0xe68], 0xbe99999a
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a311
mov eax, dword [edi + 0x28]
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1003a34e
test eax, eax
je 0x1003a337
cdq
sub eax, edx
lea edx, [edi + 0x24]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1003a33f
mov ecx, 8
lea edx, [edi + 0x24]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10029a20
push esi
push dword [ebp - 0xd4]
mov dword [edi + 0x24], esi
push dword [edi + 0x2c]
call fcn.100aa9f0
mov edx, dword [ebx + 0xc]
lea eax, [edi + 0xc]
mov esi, dword [eax + 4]
inc edx
add esp, 0xc
mov dword [ebp - 0xc4], edx
cmp edx, esi
jle 0x1003a3ac
test esi, esi
je 0x1003a38e
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 0xc4]
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1003a393
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.10029a90
mov edx, dword [ebp - 0xc4]
lea eax, [edi + 0xc]
mov dword [eax], edx
mov ecx, dword [edi + 0x1c]
test ecx, ecx
jns 0x1003a3ce
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.10029a20
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0xd4]
dec ecx
mov dword [edi + 0x18], 0
mov edx, dword [edi + 0x14]
mov esi, edx
mov byte [edi + 0x30], 0
mov dword [ebp - 0xc4], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x1003a443
mov edi, eax
cmp byte [edi], 0
je 0x1003a431
push 0
mov edx, edi
lea ecx, [ebp - 0xb4]
call fcn.10017b90
mov edx, dword [ebp - 0xc4]
add edi, eax
mov eax, dword [ebp - 0xb4]
add esp, 4
test eax, eax
je 0x1003a431
mov word [esi], ax
add esi, 2
mov eax, dword [ebx + 0xc]
dec eax
lea eax, [edx + eax*2]
cmp esi, eax
jb 0x1003a3f7
mov dword [ebp - 0xbc], edi
mov edi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0xd4]
xor ecx, ecx
mov word [esi], cx
sub esi, edx
sar esi, 1
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xc0]
mov dword [edi + 4], esi
cmp dword [edi], eax
jne 0x1003a494
cmp byte [ebp - 0xcd], cl
jne 0x1003a494
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 ecx, dword [ebp - 0xcc]
mov dword [edi + 0x44], esi
jmp 0x1003a501
mov dword [edi], eax
mov dword [edi + 0x38], ecx
mov dword [edi + 0xe60], ecx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x58], ecx
mov byte [edi + 0x50], cl
mov ecx, dword [ebp - 0xcc]
mov al, cl
xor al, 1
mov dword [edi + 0xe5a], 0x630000
mov dword [edi + 0xe64], 0x3e7
mov word [edi + 0x51], 1
mov byte [edi + 0x53], al
mov byte [edi + 0x48], 0
mov dword [edi + 0x4c], 0
test cl, cl
jne 0x1003a501
mov edx, dword [ebp - 0xc8]
mov eax, 1
cmp byte [ebp - 0x128], cl
movzx edx, dl
cmovne edx, eax
mov dword [ebp - 0xc8], edx
mov edx, dword [ebx + 0x14]
test edx, 0x2000
je 0x1003a510
mov byte [edi + 0x48], 1
test cl, cl
jne 0x1003a539
cmp byte [ebp - 0x114], cl
jne 0x1003a532
cmp byte [ebp - 0xae], cl
je 0x1003a539
mov eax, dword [ebp - 0xac]
cmp byte [eax + 0xfc], cl
je 0x1003a539
mov byte [ebp - 0xc8], 1
mov esi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc0]
cmp dword [esi + 0x1bd4], ecx
je 0x1003a5fe
cmp byte [ebp - 0xad], 0
je 0x1003a5f6
mov edx, dword [ebp - 0x108]
call fcn.10019c60
call fcn.10024f70
mov ecx, edx
call fcn.10022eb0
mov eax, dword [esi + 0x1be8]
mov edx, dword [ebx + 0x14]
or eax, 3
cmp byte [ebp - 0xcc], 0
mov dword [esi + 0x1be8], eax
jne 0x1003a594
test dl, dl
jns 0x1003a59d
or eax, 0xc
mov dword [esi + 0x1be8], eax
mov eax, dword [esi + 0x1bf0]
or dword [esi + 0x1bec], 2
or eax, 0x180
cmp byte [ebp - 0xcc], 0
mov ecx, dword [esi + 0x1bf4]
mov dword [esi + 0x1bf0], eax
mov dword [esi + 0x1bf4], ecx
je 0x1003a5d9
or eax, 0x60
mov dword [esi + 0x1bf4], ecx
mov dword [esi + 0x1bf0], eax
test edx, 0x440
je 0x1003a5f0
or eax, 1
mov dword [esi + 0x1bf4], ecx
mov dword [esi + 0x1bf0], eax
mov ecx, dword [ebp - 0xc0]
cmp dword [esi + 0x1bd4], ecx
jne 0x1003a63b
test edi, edi
jne 0x1003a60d
call fcn.10019d30
mov ecx, dword [ebp - 0xc0]
cmp dword [esi + 0x1bd4], ecx
jne 0x1003a63b
cmp byte [esi + 0x3d8], 0
je 0x1003a648
cmp byte [ebp - 0xb0], 0
jne 0x1003a648
cmp byte [ebp - 0xad], 0
jne 0x1003a648
mov byte [ebp - 0xd5], 1
mov dl, 1
jmp 0x1003a64e
test edi, edi
je 0x1003a64c
cmp byte [ebp - 0xb6], 0
je 0x1003a64c
mov dl, 1
jmp 0x1003a64e
xor dl, dl
mov byte [ebp - 0xb5], dl
test edi, edi
je 0x1003a66b
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1003a66b
test dl, dl
je 0x1003a66b
mov edx, 1
jmp 0x1003a66d
xor dl, dl
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 0xe3], dl
mov byte [ebp - 0xe4], 0
mov byte [ebp - 0xcd], 0
test al, al
je 0x1003a7ad
test edi, edi
je 0x1003a7ad
cmp byte [ebp - 0xb5], 0
jne 0x1003a6ae
test dl, dl
je 0x1003a7ba
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + 0x10]
lea esi, [ecx + 1]
cmp esi, eax
jle 0x1003a6e8
test eax, eax
je 0x1003a6ce
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1003a6d6
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10029a90
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0xc], esi
mov edx, dword [edi + 0x14]
mov esi, edx
mov dword [ebp - 0xc4], edx
lea ecx, [edx + ecx*2]
cmp edx, ecx
jae 0x1003a750
mov edi, eax
cmp byte [edi], 0
je 0x1003a73e
push 0
mov edx, edi
lea ecx, [ebp - 0xb4]
call fcn.10017b90
mov edx, dword [ebp - 0xc4]
add edi, eax
mov eax, dword [ebp - 0xb4]
add esp, 4
test eax, eax
je 0x1003a73e
mov ecx, dword [ebx + 0xc]
mov word [esi], ax
add esi, 2
lea eax, [edx + ecx*2]
cmp esi, eax
jb 0x1003a705
mov dword [ebp - 0xbc], edi
mov edi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0xd4]
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 - 0xe3]
cmp ecx, esi
mov dword [edi + 0x40], ecx
mov ecx, dword [ebp - 0xc0]
cmovne edx, eax
mov eax, dword [ebp - 0xdc]
mov dword [edi + 0x44], esi
mov esi, dword [ebp - 0xac]
mov dword [ebp - 0x13c], edx
cmp byte [ebp - 0xb5], 0
jne 0x1003a7c2
test dl, dl
jne 0x1003a7c2
cmp dword [esi + 0x1bd4], ecx
jne 0x1003a7d6
test al, al
jne 0x1003a7d6
test edi, edi
je 0x1003a7d6
mov byte [ebp - 0xe3], 1
cmp byte [edi + 0x30], al
jne 0x1003a7dd
mov byte [ebp - 0xe3], 0
cmp byte [ebp - 0x148], 0
je 0x1003a870
mov edx, dword [esi + 0x192c]
cmp dword [edx + 0x14], 0x2a
ja 0x1003a7fb
mov esi, dword [edx + 0x2c]
jmp 0x1003a81a
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x1003a811
mov esi, dword [edx + 0x2c]
jmp 0x1003a81a
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea esi, [eax + ecx*8]
mov eax, dword [edx + 0x10]
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xac]
add ecx, 0x2de0
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x192c]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x192c]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [edx + 0x192c]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x192c]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x2c], esi
mov eax, dword [esi + 4]
mov dword [ecx + 0xc], eax
call fcn.10023170
mov esi, dword [ebp - 0xac]
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x114], 0
cmp dword [esi + 0x1bd4], edx
jne 0x1003ac9c
mov eax, dword [edi + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x34], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0xe70], eax
mov byte [edi + 0xe6e], 0
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
mov dl, byte [esi + 0xec]
test dl, dl
mov dword [esi + 0x315c], 1
sete al
cmp byte [ebp - 0xcc], 0
mov byte [esi + 0x1be1], al
movss xmm7, dword [esi + 0xe4]
subss xmm7, dword [ebp - 0x130]
subss xmm7, dword [esi + 0x1550]
addss xmm7, dword [edi + 0x38]
je 0x1003a91e
mov eax, dword [ebp - 0x100]
movss xmm2, dword [esi + 0xe8]
subss xmm2, dword [eax + 0xd4]
jmp 0x1003a92e
movss xmm2, dword [esi + 0x1930]
mulss xmm2, dword [0x100fcb74]
cmp byte [ebp - 0xc8], 0
mov al, byte [esi + 0xb1]
mov byte [ebp - 0xe1], al
jne 0x1003aa99
mov cl, byte [ebp - 0xe2]
test cl, cl
je 0x1003a961
test al, al
jne 0x1003a9c5
cmp byte [esi + 0x3dd], al
jne 0x1003aa99
cmp byte [esi + 0x3d8], 0
mov al, byte [edi + 0xe6d]
je 0x1003aa0c
test al, al
jne 0x1003aa0c
test cl, cl
je 0x1003a9ba
cmp byte [edi + 0x53], al
je 0x1003a999
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.100380c0
movss xmm2, dword [ebp - 0x20]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10038400
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov byte [edi + 0x52], 0
mov dword [edi + 0xe68], 0xbe99999a
lea ecx, [edi + 0xe6d]
jmp 0x1003aaba
cmp byte [esi + 0x3dd], 0
je 0x1003a961
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100387e0
add esp, 4
mov byte [edi + 0xe6c], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, edi
push 0x60000d
call fcn.100387e0
add esp, 4
mov byte [edi + 0xe6c], 1
jmp 0x1003a9b0
lea ecx, [edi + 0xe6d]
test dl, dl
je 0x1003aaba
lea ecx, [edi + 0xe6d]
test al, al
jne 0x1003aaba
mov edx, esi
xorps xmm1, xmm1
movss xmm0, dword [edx + 0x374]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003aa55
movss xmm0, dword [edx + 0x378]
lea ecx, [edi + 0xe6d]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1003aab8
cmp byte [edi + 0x53], 0
je 0x1003aa6f
push 0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.100380c0
movss xmm2, dword [ebp - 0x20]
add esp, 4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1003aa7d
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.10038400
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0xe6c], 1
jmp 0x1003a9b0
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 0x1003aaba
mov esi, edx
cmp byte [ecx], 0
je 0x1003aacb
cmp byte [esi + 0xec], 0
jne 0x1003aacb
mov byte [ecx], 0
cmp byte [esi + 0xfc], 0
je 0x1003aadd
cmp byte [esi + 0xfe], 0
je 0x1003aaef
cmp byte [ebp - 0xe1], 0
je 0x1003aaf8
cmp byte [esi + 0xff], 0
je 0x1003aaf8
mov byte [ebp - 0xa5], 1
jmp 0x1003aaff
mov byte [ebp - 0xa5], 0
mov edx, dword [ebx + 0x14]
test edx, 0x400
je 0x1003ad3e
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1003ad3e
call fcn.1001dc80
mov ecx, dword [ebp - 0xdc]
test al, al
mov al, byte [ebp - 0xa5]
je 0x1003abc4
test al, al
jne 0x1003abc4
cmp byte [esi + 0xfd], al
jne 0x1003abc4
test cl, cl
jne 0x1003abc4
mov ecx, dword [esi + 0x1510]
mov eax, dword [esi + 0x1508]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x1003ab70
nop
mov ax, word [ecx]
add ecx, 2
cmp ax, 9
je 0x1003abb8
cmp ecx, edx
jb 0x1003ab60
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xc4]
push 2
sub esp, 8
mov dword [ebp - 0xc4], 9
call fcn.100398e0
add esp, 0xc
test al, al
je 0x1003abb8
push dword [ebp - 0xc4]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100387e0
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [ebp - 0xdc]
mov al, byte [ebp - 0xa5]
mov edx, dword [ebx + 0x14]
add esi, 0x1508
mov dword [ebp - 0xb4], esi
cmp dword [esi], 0
jle 0x1003ac96
test al, al
jne 0x1003ac71
test cl, cl
jne 0x1003ac71
cmp byte [ebp - 0xaf], cl
jne 0x1003ac71
mov ecx, dword [ebp - 0xac]
xor esi, esi
mov eax, dword [ecx + 0x1510]
movzx eax, word [eax + esi*2]
mov dword [ebp - 0xc4], eax
cmp eax, 9
jne 0x1003ac1e
cmp byte [ecx + 0xfd], 0
jne 0x1003ac5f
push 2
sub esp, 8
lea ecx, [ebp - 0xc4]
call fcn.100398e0
add esp, 0xc
test al, al
je 0x1003ac59
push dword [ebp - 0xc4]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100387e0
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebx + 0x14]
inc esi
cmp esi, dword [ecx + 0x1508]
jl 0x1003ac00
mov esi, dword [ebp - 0xb4]
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1003ac90
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.10029a90
mov dword [esi], 0
mov esi, dword [ebp - 0xac]
mov eax, dword [ebp - 0xc0]
xor dl, dl
mov byte [ebp - 0xa5], dl
cmp dword [esi + 0x1bd4], eax
jne 0x1003bfde
cmp byte [esi + 0x1be0], dl
jne 0x1003b83a
cmp byte [ebp - 0xd5], dl
jne 0x1003b83a
movss xmm0, dword [ebp - 0xec]
mov ecx, 1
subss xmm0, dword [esi + 0x1554]
divss xmm0, dword [esi + 0x1930]
cvttss2si eax, xmm0
cmp eax, 1
cmovge ecx, eax
mov eax, dword [ebp - 0xac]
mov dword [edi + 0x4c], ecx
xor esi, esi
mov dword [ebp - 0xc4], ecx
mov ecx, 0x400000
cmp byte [eax + 0xfd], dl
mov dl, byte [eax + 0xb1]
cmovne esi, ecx
mov byte [ebp - 0x109], dl
test dl, dl
je 0x1003ad4f
mov ecx, dword [eax + 0x37c]
mov dword [ebp - 0xc8], ecx
cmp ecx, 0xa
jne 0x1003ad4f
mov byte [ebp - 0xb6], 1
jmp 0x1003ad66
mov al, byte [ebp - 0xa5]
mov ecx, dword [ebp - 0xdc]
jmp 0x1003abc7
mov ecx, dword [eax + 0x37c]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 0xb6], 0
test dl, dl
je 0x1003adac
mov edi, dword [ebp - 0xac]
mov al, byte [eax + 0xfe]
mov byte [ebp - 0xad], al
cmp byte [edi + 0xff], 0
mov edi, dword [ebp - 0xe0]
je 0x1003adbf
mov edi, dword [ebp - 0xac]
cmp byte [edi + 0xfc], 0
mov edi, dword [ebp - 0xe0]
jne 0x1003adbf
test al, al
jne 0x1003adbf
mov byte [ebp - 0xaf], 1
cmp ecx, 8
jmp 0x1003ade5
mov al, byte [eax + 0xfc]
mov byte [ebp - 0xb6], 0
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 0xad], al
mov byte [ebp - 0xaf], 0
test dl, dl
je 0x1003add5
cmp ecx, 8
jmp 0x1003ade5
cmp ecx, 1
mov byte [ebp - 0xad], al
mov byte [ebp - 0xaf], 0
sete dl
mov byte [ebp - 0xae], dl
test dl, dl
je 0x1003ae12
mov eax, dword [0x10107a10]
mov eax, dword [eax + 0x80]
test eax, eax
js 0x1003ae12
mov ecx, eax
call fcn.1001dc80
test al, al
jne 0x1003ae2c
mov ecx, dword [ebp - 0xc8]
cmp ecx, 2
jne 0x1003ae58
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1003ae58
call fcn.1001dc80
test al, al
je 0x1003ae58
cmp byte [ebp - 0xdc], 0
jne 0x1003ae58
cmp byte [ebp - 0x148], 0
jne 0x1003ae58
cmp byte [ebp - 0xcc], 0
je 0x1003ae4f
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1003ae58
mov byte [ebp - 0xb0], 1
jmp 0x1003ae5f
mov byte [ebp - 0xb0], 0
cmp byte [ebp - 0xae], 0
je 0x1003ae7d
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x1003ae7d
call fcn.1001dc80
test al, al
jne 0x1003ae9b
cmp dword [ebp - 0xc8], 1
jne 0x1003aebe
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1003aebe
call fcn.1001dc80
test al, al
je 0x1003aebe
cmp byte [ebp - 0x148], 0
jne 0x1003aebe
cmp byte [ebp - 0xcc], 0
je 0x1003aeb5
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1003aebe
mov byte [ebp - 0xe1], 1
jmp 0x1003aec5
mov byte [ebp - 0xe1], 0
cmp byte [ebp - 0xae], 0
je 0x1003aee3
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x1003aee3
call fcn.1001dc80
test al, al
jne 0x1003af01
cmp dword [ebp - 0xc8], 2
jne 0x1003af11
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x1003af11
call fcn.1001dc80
test al, al
je 0x1003af11
cmp byte [ebp - 0xdc], 0
mov byte [ebp - 0xe2], 1
je 0x1003af18
mov byte [ebp - 0xe2], 0
mov dl, byte [ebp - 0xae]
test dl, dl
je 0x1003af5b
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1003af5b
call fcn.1001dc80
test al, al
je 0x1003af55
cmp byte [ebp - 0xdc], 0
jne 0x1003af55
cmp byte [ebp - 0xf8], 0
je 0x1003af55
mov byte [ebp - 0xf1], 1
jmp 0x1003af66
mov dl, byte [ebp - 0xae]
mov byte [ebp - 0xf1], 0
test dl, dl
je 0x1003af7e
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x1003af7e
call fcn.1001dc80
test al, al
jne 0x1003af9f
cmp byte [ebp - 0xb6], 0
je 0x1003afb8
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x1003afb8
call fcn.1001dc80
test al, al
je 0x1003afb8
cmp byte [ebp - 0xdc], 0
jne 0x1003afb8
cmp byte [ebp - 0xf8], 0
mov byte [ebp - 0xb6], 1
jne 0x1003afbf
mov byte [ebp - 0xb6], 0
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x1003b01a
call fcn.1001dc80
test al, al
je 0x1003b01a
cmp byte [ebp - 0xaf], 0
je 0x1003aff4
mov eax, 0x200004
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.100387e0
jmp 0x1003b7f7
cmp byte [ebp - 0xad], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000c
mov eax, 0x200000
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.100387e0
jmp 0x1003b7f7
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x1003b075
call fcn.1001dc80
test al, al
je 0x1003b075
cmp byte [ebp - 0xaf], 0
je 0x1003b04f
mov eax, 0x200005
lea edx, [edi + 0x3c]
or eax, esi
mov ecx, edi
push eax
call fcn.100387e0
jmp 0x1003b7f7
cmp byte [ebp - 0xad], 0
lea edx, [edi + 0x3c]
mov ecx, 0x20000d
mov eax, 0x200001
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.100387e0
jmp 0x1003b7f7
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1003b0f7
call fcn.1001dc80
test al, al
je 0x1003b0f7
cmp byte [ebp - 0xcc], 0
je 0x1003b0f7
mov eax, dword [ebp - 0xac]
cmp byte [eax + 0xfc], 0
je 0x1003b0d7
mov ecx, dword [ebp - 0x100]
mov esi, eax
movss xmm0, dword [ecx + 0x5c]
subss xmm0, dword [esi + 0x1930]
maxss xmm0, dword [0x100fcb10]
movss dword [ecx + 0x6c], xmm0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x7c], 0
jmp 0x1003b811
movzx eax, byte [ebp - 0xaf]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, esi
push eax
call fcn.100387e0
jmp 0x1003b7f7
mov ecx, dword [0x10107a10]
mov ecx, dword [ecx + 0x44]
test ecx, ecx
js 0x1003b173
call fcn.1001dc80
test al, al
je 0x1003b173
cmp byte [ebp - 0xcc], 0
je 0x1003b173
mov eax, dword [ebp - 0xac]
cmp byte [eax + 0xfc], 0
je 0x1003b153
mov ecx, dword [ebp - 0x100]
mov esi, dword [ebp - 0xac]
mov eax, dword [0x10107a10]
movss xmm0, dword [ecx + 0x5c]
addss xmm0, dword [esi + 0x1930]
mov eax, dword [eax + 0x1b9c]
minss xmm0, dword [eax + 0x64]
jmp 0x1003b0bf
movzx eax, byte [ebp - 0xaf]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, esi
push eax
call fcn.100387e0
jmp 0x1003b7f7
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x48]
test ecx, ecx
js 0x1003b1e8
call fcn.1001dc80
test al, al
je 0x1003b1e8
cmp byte [ebp - 0xcc], 0
je 0x1003b1e8
or esi, 0x20000e
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.100387e0
movd xmm0, dword [ebp - 0xc4]
add esp, 4
mov esi, dword [ebp - 0xac]
movss xmm1, dword [ebp - 0x140]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1930]
subss xmm1, xmm0
movss dword [ebp - 0x140], xmm1
jmp 0x1003b811
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
js 0x1003b259
call fcn.1001dc80
test al, al
je 0x1003b259
cmp byte [ebp - 0xcc], 0
je 0x1003b259
or esi, 0x20000f
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.100387e0
movd xmm0, dword [ebp - 0xc4]
add esp, 4
mov esi, dword [ebp - 0xac]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x1930]
addss xmm0, dword [ebp - 0x140]
movss dword [ebp - 0x140], xmm0
jmp 0x1003b811
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x1003b29b
call fcn.1001dc80
test al, al
je 0x1003b29b
mov ecx, dword [ebp - 0xac]
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.100387e0
jmp 0x1003b7f7
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x1003b2dd
call fcn.1001dc80
test al, al
je 0x1003b2dd
mov ecx, dword [ebp - 0xac]
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.100387e0
jmp 0x1003b7f7
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x1003b311
call fcn.1001dc80
test al, al
je 0x1003b311
cmp byte [ebp - 0xdc], 0
jne 0x1003b311
or esi, 0x200008
lea edx, [edi + 0x3c]
push esi
mov ecx, edi
call fcn.100387e0
jmp 0x1003b7f7
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x1003b3b6
call fcn.1001dc80
test al, al
je 0x1003b3b6
cmp byte [ebp - 0xdc], 0
jne 0x1003b3b6
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x1003b3a0
cmp byte [ebp - 0xad], 0
je 0x1003b353
push 0x60000c
jmp 0x1003b382
cmp byte [ebp - 0x109], 0
je 0x1003b3a0
mov eax, dword [ebp - 0xac]
cmp byte [eax + 0xff], 0
je 0x1003b3a0
cmp byte [eax + 0xfe], 0
jne 0x1003b3a0
cmp byte [eax + 0xfc], 0
jne 0x1003b3a0
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100387e0
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.100387e0
jmp 0x1003b7f7
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x1003b3cb
call fcn.1001dc80
test al, al
jne 0x1003b3e8
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x1003b481
call fcn.1001dc80
test al, al
je 0x1003b481
mov edx, dword [ebx + 0x14]
mov eax, edx
mov esi, dword [ebp - 0xac]
shr eax, 0xb
and al, 1
cmp byte [ebp - 0xcc], 0
je 0x1003b40f
mov cl, byte [esi + 0xfc]
test al, al
je 0x1003b422
test cl, cl
jne 0x1003b426
mov byte [ebp - 0xd5], 1
mov byte [ebp - 0xcd], 1
jmp 0x1003b811
test cl, cl
jne 0x1003b40f
cmp byte [ebp - 0xdc], 0
jne 0x1003b811
push 2
sub esp, 8
mov dword [ebp - 0xc4], 0xa
lea ecx, [ebp - 0xc4]
call fcn.100398e0
add esp, 0xc
test al, al
je 0x1003b811
push dword [ebp - 0xc4]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.100387e0
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x1003b811
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x1003b4a9
call fcn.1001dc80
test al, al
je 0x1003b4a9
mov esi, dword [ebp - 0xac]
mov dl, 1
mov byte [ebp - 0xd5], dl
jmp 0x1003b817
mov al, byte [ebp - 0xf1]
test al, al
jne 0x1003b7d8
cmp byte [ebp - 0xb6], al
jne 0x1003b7d8
cmp byte [ebp - 0xae], al
je 0x1003b4f9
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x1003b4f9
call fcn.1001dc80
test al, al
je 0x1003b4f9
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 0x1003b804
mov al, byte [ebp - 0xb0]
test al, al
jne 0x1003b6c0
cmp byte [ebp - 0xe1], al
jne 0x1003b6c0
cmp byte [ebp - 0xe2], al
je 0x1003b80b
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x1003b544
push dword [eax + 0xd8]
call ecx
mov esi, eax
add esp, 4
test esi, esi
jne 0x1003b549
jmp 0x1003b80b
mov esi, 0x100f7503
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b550
mov eax, dword [0x10107a10]
sub ecx, edx
test eax, eax
je 0x1003b568
inc dword [eax + 0x370]
lea eax, [ecx*2 + 2]
push eax
call fcn.100b79e3
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0xc8], eax
cmp byte [esi], al
je 0x1003b5f6
xor edi, edi
nop
push 0
mov edx, esi
lea ecx, [ebp - 0xbc]
call fcn.10017b90
add esp, 4
add esi, eax
cmp dword [ebp - 0xbc], 0
je 0x1003b5de
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0xbc]
push 5
sub esp, 8
call fcn.100398e0
add esp, 0xc
test al, al
je 0x1003b5d9
mov ecx, dword [ebp - 0x110]
mov ax, word [ebp - 0xbc]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x1003b590
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0xc8], edi
mov edi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xc8]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x1003b69f
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x1003b62a
cmp ecx, eax
jle 0x1003b61a
mov dword [edi + 0x40], eax
mov ecx, eax
cmp edx, eax
jle 0x1003b623
mov dword [edi + 0x44], eax
mov edx, eax
cmp ecx, edx
jne 0x1003b62a
mov dword [edi + 0x3c], ecx
cmp dword [edi + 0x3c], eax
jle 0x1003b632
mov dword [edi + 0x3c], eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.10038750
push dword [ebp - 0xc8]
mov edx, dword [edi + 0x3c]
mov ecx, edi
push dword [ebp - 0x110]
call fcn.100382c0
add esp, 8
test al, al
je 0x1003b67e
push dword [ebp - 0xc8]
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x5c]
push 0
call fcn.100395d0
mov eax, dword [ebp - 0xc8]
add esp, 8
add dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
jmp 0x1003b692
movzx eax, word [edi + 0xe5a]
test ax, ax
je 0x1003b692
dec eax
mov word [edi + 0xe5a], ax
mov ecx, dword [ebp - 0x110]
mov byte [edi + 0xe6c], 1
test ecx, ecx
je 0x1003b6b2
mov eax, dword [0x10107a10]
test eax, eax
je 0x1003b6b2
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
add esp, 4
jmp 0x1003b80b
mov esi, dword [ebp - 0xac]
cmp dword [esi + 0xd4], 0
je 0x1003b798
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x1003b6e7
mov esi, ecx
cmovge ecx, eax
cmovl esi, eax
jmp 0x1003b6ec
mov ecx, dword [edi + 4]
xor esi, esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x128], esi
lea edx, [eax + ecx*2]
lea ecx, [eax + esi*2]
call fcn.10017e20
mov ecx, dword [0x10107a10]
inc eax
mov dword [ebp - 0xb4], eax
test ecx, ecx
je 0x1003b71d
inc dword [ecx + 0x370]
push eax
call fcn.100b79e3
mov esi, dword [edi + 0x14]
add esp, 4
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xe8], eax
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [ebp - 0x128]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.10017db0
mov eax, dword [0x10107a10]
add esp, 8
mov ecx, dword [eax + 0xd4]
test ecx, ecx
je 0x1003b775
push esi
push dword [eax + 0xd8]
call ecx
mov eax, dword [0x10107a10]
add esp, 8
test esi, esi
je 0x1003b783
test eax, eax
je 0x1003b783
dec dword [eax + 0x370]
push esi
call fcn.100b1148
mov al, byte [ebp - 0xb0]
add esp, 4
mov esi, dword [ebp - 0xac]
test al, al
je 0x1003b811
mov eax, dword [edi + 0x40]
lea esi, [edi + 0x3c]
cmp eax, dword [edi + 0x44]
jne 0x1003b7ba
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 eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1003b80b
mov edx, esi
mov ecx, edi
call fcn.10038750
mov byte [esi + 0x16], 0
jmp 0x1003b80b
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.100387e0
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 - 0xac]
mov dl, byte [ebp - 0xa5]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x1003b82c
cmp byte [ebp - 0xb5], 0
je 0x1003b82c
mov al, 1
jmp 0x1003b82e
xor al, al
or byte [ebp - 0x13c], al
mov eax, dword [ebp - 0xc0]
cmp dword [esi + 0x1bd4], eax
jne 0x1003bfde
xor ecx, ecx
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xc8], ecx
test dl, dl
je 0x1003bb74
cmp byte [ebp - 0xdc], cl
jne 0x1003bab0
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0xd4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003b897
test dl, dl
je 0x1003b893
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003b897
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003b877
xor eax, eax
jmp 0x1003b89c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003bab0
mov eax, dword [edi + 0x24]
xor ecx, ecx
dec eax
mov dword [ebp - 0xfc], esi
xor edx, edx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x118], edx
mov dword [ebp - 4], edx
test eax, eax
jle 0x1003ba05
mov edi, dword [ebp - 0xfc]
add esi, eax
xor eax, eax
mov dword [ebp - 0xbc], eax
test esi, esi
je 0x1003b8f1
cmp edi, esi
jae 0x1003b91b
cmp byte [edi], 0
je 0x1003b91b
push esi
mov edx, edi
lea ecx, [ebp - 0xb4]
call fcn.10017b90
add edi, eax
add esp, 4
cmp dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xbc]
je 0x1003b91b
inc eax
jmp 0x1003b8e3
mov edi, dword [ebp - 0xe0]
lea ecx, [eax + 1]
mov dword [ebp - 0xc4], ecx
test ecx, ecx
jle 0x1003b97b
mov edx, 8
mov eax, ecx
cmp ecx, edx
cmovl eax, edx
mov dword [ebp - 0xb4], eax
test eax, eax
jle 0x1003b97b
mov ecx, dword [0x10107a10]
test ecx, ecx
je 0x1003b954
inc dword [ecx + 0x370]
add eax, eax
push eax
call fcn.100b79e3
mov ecx, dword [ebp - 0xb4]
mov edx, eax
mov dword [ebp - 0x11c], ecx
add esp, 4
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x118], edx
jmp 0x1003b97d
xor edx, edx
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xb4], eax
mov eax, edx
lea edx, [ecx - 1]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0xbc], eax
lea edx, [eax + edx*2]
mov dword [ebp - 0xe8], edx
cmp eax, edx
jae 0x1003ba00
mov edi, dword [ebp - 0xb4]
nop dword [eax]
test esi, esi
je 0x1003b9b8
cmp edi, esi
jae 0x1003b9f4
cmp byte [edi], 0
je 0x1003b9f4
push esi
mov edx, edi
lea ecx, [ebp - 0xb4]
call fcn.10017b90
mov ecx, dword [ebp - 0xb4]
add edi, eax
mov eax, dword [ebp - 0xbc]
add esp, 4
test ecx, ecx
je 0x1003b9f4
mov word [eax], cx
add eax, 2
mov dword [ebp - 0xbc], eax
cmp eax, dword [ebp - 0xe8]
jb 0x1003b9b0
mov edi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xc4]
xor edx, edx
mov word [eax], dx
mov esi, dword [edi + 4]
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0xc8]
xor edx, edx
test ecx, ecx
lea ecx, [edi + 0x5c]
cmovle eax, edx
push eax
push esi
mov dword [ebp - 0xb4], eax
call fcn.100395d0
mov edx, eax
add esp, 8
test edx, edx
je 0x1003ba50
xor ecx, ecx
test esi, esi
jle 0x1003ba50
nop word [eax + eax]
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, esi
jl 0x1003ba40
push dword [edi + 4]
xor edx, edx
mov ecx, edi
call fcn.10038260
mov esi, dword [ebp - 0xb4]
add esp, 4
test esi, esi
jle 0x1003ba87
push esi
push dword [ebp - 0x118]
xor edx, edx
mov ecx, edi
call fcn.100382c0
add esp, 8
test al, al
je 0x1003ba87
mov dword [edi + 0x3c], esi
mov byte [edi + 0x52], 0
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x1003baa9
mov eax, dword [0x10107a10]
test eax, eax
je 0x1003baa0
dec dword [eax + 0x370]
push ecx
call fcn.100b1148
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xcd], 0
mov eax, dword [ebx + 0x14]
je 0x1003bac4
test al, 0x20
jne 0x1003bb77
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xfc]
test edx, edx
je 0x1003bfba
cmp byte [ebp - 0x104], 0
je 0x1003bf83
mov dword [ebp - 0xa0], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x90], eax
lea eax, [ecx + 1]
cmp dword [ebx + 0xc], eax
movlpd qword [ebp - 0x98], xmm0
cmovge eax, dword [ebx + 0xc]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xa4]
push eax
xor eax, eax
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
mov dword [ebp - 0xa4], 0x40000
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x9c], 0
call eax
mov esi, dword [ebp - 0x88]
add esp, 4
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0xd4], eax
lea ecx, [esi - 1]
cmp dword [ebp - 0x8c], ecx
cmovl ecx, dword [ebp - 0x8c]
jmp 0x1003bf86
mov eax, dword [ebx + 0x14]
cmp byte [ebp - 0xdc], 0
jne 0x1003bbdc
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 0x1003bbc5
test eax, eax
je 0x1003bbab
cdq
sub eax, edx
lea edx, [edi + 0x18]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1003bbb3
mov ecx, 8
lea edx, [edi + 0x18]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10029a20
lea ecx, [edi + 0x18]
mov dword [ecx], esi
mov edx, esi
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.10017db0
mov eax, dword [ebx + 0x14]
add esp, 8
test eax, 0x801c0
je 0x1003bf2d
mov esi, 0x16
test al, 0x40
je 0x1003bc0f
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x1003bc0c
call fcn.1001dc80
test al, al
je 0x1003bc0c
lea eax, [esi + 0x2a]
xor esi, esi
jmp 0x1003bc7b
mov eax, dword [ebx + 0x14]
test al, al
jns 0x1003bc54
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x1003bc32
call fcn.1001dc80
test al, al
je 0x1003bc32
mov eax, 0x80
lea esi, [eax - 0x7d]
jmp 0x1003bc7b
mov eax, dword [0x10107a10]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x1003bc51
call fcn.1001dc80
test al, al
je 0x1003bc51
mov eax, 0x80
lea esi, [eax - 0x7c]
jmp 0x1003bc7b
mov eax, dword [ebx + 0x14]
test eax, 0x80000
je 0x1003bc6b
cmp byte [edi + 0xe6e], 0
je 0x1003bc6b
mov eax, 0x80000
jmp 0x1003bc7b
test eax, 0x100
je 0x1003bf2d
mov eax, pe_nt_image_headers32
mov dword [ebp - 0x74], eax
xor ecx, ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x64], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x3c]
mov word [ebp - 0x53], cx
mov byte [ebp - 0x51], cl
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 0x54], cl
lea edx, [esi + eax*2]
mov ecx, esi
mov dword [ebp - 0x68], 0
call fcn.10017e20
mov ecx, dword [ebp - 0xe0]
mov edi, eax
mov dword [ebp - 0x50], edi
mov ecx, dword [ecx + 0x40]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10017e20
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x44]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.10017e20
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x74]
push eax
xor eax, eax
call eax
mov al, byte [ebp - 0x54]
add esp, 4
mov edx, dword [ebp - 0x50]
mov byte [ebp - 0xb0], al
cmp edx, edi
jne 0x1003bd1b
test al, al
je 0x1003bd76
mov esi, dword [ebp - 0x60]
xor eax, eax
lea edi, [edx + esi]
mov dword [ebp - 0xbc], eax
test edi, edi
je 0x1003bd31
cmp esi, edi
jae 0x1003bd5b
cmp byte [esi], 0
je 0x1003bd5b
push edi
mov edx, esi
lea ecx, [ebp - 0xb4]
call fcn.10017b90
add esi, eax
add esp, 4
cmp dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xbc]
je 0x1003bd5b
inc eax
jmp 0x1003bd23
mov edi, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x50]
mov dword [edi + 0x3c], eax
mov al, byte [ebp - 0xb0]
mov byte [edi + 0xe6c], 1
jmp 0x1003bd7c
mov edi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 0xe8]
jne 0x1003bd8b
test al, al
je 0x1003bde0
cmp ecx, edx
jne 0x1003bd94
mov eax, dword [edi + 0x3c]
jmp 0x1003bddd
mov esi, dword [ebp - 0x60]
xor eax, eax
lea edi, [ecx + esi]
mov dword [ebp - 0xbc], eax
test edi, edi
je 0x1003bdaa
cmp esi, edi
jae 0x1003bdd4
cmp byte [esi], 0
je 0x1003bdd4
push edi
mov edx, esi
lea ecx, [ebp - 0xb4]
call fcn.10017b90
add esi, eax
add esp, 4
cmp dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xbc]
je 0x1003bdd4
inc eax
jmp 0x1003bd9c
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0xe0]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0xc4]
jne 0x1003bdf8
cmp byte [ebp - 0xb0], 0
je 0x1003bf2a
cmp eax, ecx
jne 0x1003be01
mov eax, dword [edi + 0x40]
jmp 0x1003be47
mov esi, dword [ebp - 0x60]
lea edi, [eax + esi]
xor eax, eax
mov dword [ebp - 0xbc], eax
test edi, edi
je 0x1003be17
cmp esi, edi
jae 0x1003be41
cmp byte [esi], 0
je 0x1003be41
push edi
mov edx, esi
lea ecx, [ebp - 0xb4]
call fcn.10017b90
add esi, eax
add esp, 4
cmp dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xbc]
je 0x1003be41
inc eax
jmp 0x1003be09
mov edi, dword [ebp - 0xe0]
cmp byte [ebp - 0xb0], 0
mov dword [edi + 0x44], eax
je 0x1003bf2a
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x114]
cmp esi, ecx
jle 0x1003bea6
cmp byte [ebp - 0x104], 0
je 0x1003bea6
mov eax, dword [edi + 0x10]
sub esi, ecx
add esi, dword [edi + 0xc]
cmp esi, eax
jle 0x1003bea3
test eax, eax
je 0x1003be8c
cdq
sub eax, edx
lea edx, [edi + 0xc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1003be94
mov ecx, 8
lea edx, [edi + 0xc]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10029a90
mov dword [edi + 0xc], esi
mov eax, dword [ebp - 0x60]
mov ecx, dword [edi + 0x14]
mov esi, ecx
mov dword [ebp - 0xb4], eax
mov eax, dword [edi + 0xc]
dec eax
mov dword [ebp - 0xc4], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0xe8], eax
cmp ecx, eax
jae 0x1003bf0e
mov edi, dword [ebp - 0xb4]
cmp byte [edi], 0
je 0x1003bf02
push 0
mov edx, edi
lea ecx, [ebp - 0xb4]
call fcn.10017b90
add edi, eax
add esp, 4
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x1003bf02
mov word [esi], ax
add esi, 2
cmp esi, dword [ebp - 0xe8]
jb 0x1003bed1
mov edi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xc4]
xor eax, eax
mov word [esi], ax
sub esi, ecx
mov eax, dword [ebp - 0x5c]
sar esi, 1
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xe68], 0xbe99999a
mov eax, dword [ebx + 0x14]
cmp byte [ebp - 0xdc], 0
jne 0x1003bac4
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp - 0xd4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003bf65
test dl, dl
je 0x1003bf61
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003bf65
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003bf45
xor eax, eax
jmp 0x1003bf6a
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebx + 0x14]
je 0x1003bac4
mov ecx, dword [edi + 8]
mov dword [ebp - 0xfc], esi
jmp 0x1003baca
mov esi, dword [ebx + 0xc]
lea eax, [ecx + 1]
cmp eax, esi
cmovl esi, eax
cmp esi, 1
jb 0x1003bfb3
jbe 0x1003bfa8
lea eax, [esi - 1]
push eax
push edx
push dword [ebp - 0xd4]
call fcn.100b7250
add esp, 0xc
mov eax, dword [ebp - 0xd4]
mov byte [esi + eax - 1], 0
mov byte [ebp - 0xe4], 1
mov esi, dword [ebp - 0xac]
mov dword [edi + 0xe70], 0
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
cmp byte [ebp - 0xd5], 0
mov edx, dword [ebp - 0xc0]
je 0x1003c000
cmp dword [esi + 0x1bd4], edx
jne 0x1003c000
call fcn.10019d30
mov edx, dword [ebp - 0xc0]
cmp byte [ebp - 0xcc], 0
jne 0x1003c0c2
push 1
lea ecx, [ebp - 0x3c]
call fcn.10018fc0
movss xmm1, dword [0x100fcbb4]
add esp, 4
mov ecx, 7
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.10018700
movss xmm2, dword [esi + 0x1558]
mov dl, 1
mov ecx, eax
call fcn.10018db0
movss xmm5, dword [ebp - 0x130]
add esp, 0x10
movss xmm4, dword [ebp - 0x12c]
movaps xmm0, xmm5
addss xmm0, dword [esi + 0x1550]
movss xmm3, dword [ebp - 0x134]
movaps xmm2, xmm5
movaps xmm1, xmm4
movss dword [ebp - 0x3c], xmm5
addss xmm1, dword [ebp - 0xec]
addss xmm2, xmm3
movss dword [ebp - 0x38], xmm4
movss dword [ebp - 0x11c], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esi + 0x1554]
movss dword [ebp - 0x108], xmm1
movss dword [ebp - 0xb4], xmm2
movss dword [ebp - 0x34], xmm2
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x118], xmm0
jmp 0x1003c131
movss xmm0, dword [ebp - 0x130]
movss xmm1, dword [ebp - 0x12c]
movaps xmm2, xmm0
movss xmm3, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x100]
addss xmm2, xmm3
movss dword [ebp - 0x38], xmm1
addss xmm1, dword [ebp - 0xec]
movss dword [ebp - 0x3c], xmm0
mov eax, dword [ecx + 0xd0]
mov ecx, dword [ecx + 0xd4]
movaps xmm0, xmm2
movss dword [ebp - 0xb4], xmm0
movss dword [ebp - 0x34], xmm0
movaps xmm0, xmm1
movss dword [ebp - 0x108], xmm0
movss dword [ebp - 0x30], xmm0
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], ecx
cmp byte [ebp - 0xe3], 0
lea eax, [ebp - 0x11c]
movss xmm6, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x110], xmm6
movss dword [ebp - 0x44], xmm6
xorps xmm6, xmm6
movss dword [ebp - 0x40], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0xf8], eax
movss dword [ebp - 0x114], xmm1
movss dword [ebp - 0xbc], xmm2
movss dword [ebp - 0x128], xmm0
movss dword [ebp - 0xc4], xmm6
je 0x1003c192
mov edx, dword [edi + 0x20]
mov dword [ebp - 0xd4], edx
jmp 0x1003c198
mov edx, dword [ebp - 0xd4]
cmp byte [ebp - 0xb5], 0
jne 0x1003c54b
cmp byte [ebp - 0x13c], 0
jne 0x1003c54b
cmp byte [ebp - 0xcc], 0
je 0x1003c219
mov edi, dword [ebp - 0xd4]
xor ecx, ecx
mov dl, byte [edx]
inc edi
test dl, dl
je 0x1003c1e2
nop word [eax + eax]
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x1003c1d0
mov al, byte [edi - 1]
dec edi
mov dword [ebp - 0xc0], edi
cmp al, 0xa
je 0x1003c1f5
cmp al, 0xd
je 0x1003c1f5
inc ecx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x1930]
movss dword [ebp - 0xc4], xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x128], xmm0
jmp 0x1003c25a
mov eax, dword [ebp - 0xc0]
cmp dword [esi + 0x1bd4], eax
jne 0x1003c22e
mov edi, dword [edi + 8]
add edi, edx
jmp 0x1003c245
mov ecx, edx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c233
sub ecx, edx
mov edx, dword [ebp - 0xd4]
lea edi, [edx + ecx]
mov eax, edi
mov dword [ebp - 0xc0], edi
sub eax, edx
cmp eax, 0x200000
jge 0x1003c3a8
movss xmm1, dword [0x100fcbb4]
xor ecx, ecx
call fcn.10018700
mov ecx, dword [ebp - 0x100]
lea edx, [ebp - 0x3c]
cmp byte [ebp - 0xcc], 0
mov dword [ebp - 0xb4], 0
cmovne edx, dword [ebp - 0xb4]
mov esi, dword [ecx + 0x284]
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xe8], eax
mov edi, dword [ecx + 0x192c]
movss xmm2, dword [ecx + 0x1930]
mov ecx, dword [ebp - 0xc0]
test eax, 0xff000000
je 0x1003c39c
test ecx, ecx
jne 0x1003c2e7
mov ecx, dword [ebp - 0xd4]
lea eax, [ecx + 1]
mov dword [ebp - 0xb4], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c2d0
sub ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xd4]
add ecx, eax
jmp 0x1003c2ed
mov eax, dword [ebp - 0xd4]
cmp eax, ecx
je 0x1003c39c
test edi, edi
jne 0x1003c2ff
mov eax, dword [esi + 0x2c]
mov edi, dword [eax + 8]
ucomiss xmm2, dword [0x100fcb10]
lahf
test ah, 0x44
jp 0x1003c314
mov eax, dword [esi + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [esi + 0x60]
movups xmmword [ebp - 0x24], xmm0
test edx, edx
je 0x1003c367
movss xmm1, dword [edx]
movss xmm0, dword [ebp - 0x24]
comiss xmm0, xmm1
jae 0x1003c333
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [ebp - 0x20]
comiss xmm0, xmm1
jae 0x1003c347
movss dword [ebp - 0x20], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [ebp - 0x1c]
ja 0x1003c357
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [ebp - 0x18]
ja 0x1003c367
movss dword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0xf8]
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 - 0x24]
push ecx
push dword [ebp - 0xd4]
mov ecx, edi
push eax
push dword [ebp - 0xe8]
push esi
call fcn.1002feb0
mov esi, dword [ebp - 0xac]
mov edi, dword [ebp - 0xc0]
cmp byte [ebp - 0x148], 0
je 0x1003c3b6
call fcn.10023230
cmp byte [ebp - 0xcc], 0
je 0x1003c46a
mov ecx, dword [0x10107a10]
movss xmm1, dword [ebp - 0xc4]
addss xmm1, dword [esi + 0x1554]
movss xmm4, dword [ebp - 0x128]
mov eax, dword [ecx + 0x1b9c]
movss dword [ebp - 0xf0], xmm4
movss dword [ebp - 0xec], xmm1
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b9c]
cmp byte [eax + 0x8f], 0
jne 0x1003c460
movss xmm0, dword [eax + 0xd4]
lea ecx, [ebp - 0xf0]
movss xmm3, dword [eax + 0xd0]
movaps xmm2, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x24], xmm3
movss xmm1, dword [0x100fccc0]
addss xmm4, xmm3
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x1c], xmm4
call fcn.100235a0
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x24]
call fcn.100236d0
add esp, 8
call fcn.1001dfa0
call fcn.10023ce0
cmp byte [esi + 0x2f1c], 0
je 0x1003c4a7
cmp byte [ebp - 0x148], 0
jne 0x1003c4a7
mov eax, dword [0x10107a10]
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0xd4]
push edi
mov dword [eax + 0x2f34], 0x100fc738
mov dword [eax + 0x2f38], 0x100fc734
call fcn.100282e0
add esp, 4
movss xmm0, dword [ebp - 0x158]
comiss xmm0, dword [0x100fcb10]
jbe 0x1003c506
movss xmm0, dword [ebp - 0x150]
xor edx, edx
addss xmm0, dword [esi + 0x1568]
mov ecx, dword [ebp - 0x14c]
movss dword [ebp - 0xf0], xmm0
movss xmm0, dword [ebp - 0x12c]
addss xmm0, dword [esi + 0x1554]
movss dword [ebp - 0xec], xmm0
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
push 1
call fcn.10018a00
add esp, 0xc
mov dl, byte [ebp - 0xe4]
mov ecx, dword [ebx + 0x14]
test dl, dl
je 0x1003c536
test ecx, 0x8000000
jne 0x1003c536
mov eax, dword [0x10107a10]
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 - 0xcd]
cmovne eax, ecx
jmp 0x10039e47
mov eax, dword [edi + 8]
mov esi, 0xfffffc18
mov ecx, dword [edi + 0x14]
xorps xmm7, xmm7
mov dword [ebp - 0x144], eax
add eax, edx
xor edx, edx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xfc], ecx
movss dword [ebp - 0xe8], xmm0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x124], esi
mov dword [ebp - 0xc8], esi
cmp byte [ebp - 0xb5], dl
je 0x1003c5b7
mov eax, dword [edi + 0x3c]
or esi, 0xffffffff
mov dword [ebp - 0x124], esi
lea eax, [ecx + eax*2]
mov dword [ebp - 0x104], eax
lea edx, [esi + 2]
cmp byte [ebp - 0x13c], 0
je 0x1003c5ea
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [ebp - 0xfc]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [ebp - 0xc8], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xcc]
movzx eax, al
add edx, eax
xor eax, eax
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0xfc]
movzx eax, word [eax]
test ax, ax
je 0x1003c676
mov edi, dword [ebp - 0x124]
mov esi, eax
cmp si, 0xa
jne 0x1003c656
mov eax, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x138], eax
cmp edi, 0xffffffff
jne 0x1003c63a
cmp ecx, dword [ebp - 0x104]
jb 0x1003c63a
dec edx
mov edi, eax
test edx, edx
jle 0x1003c664
cmp dword [ebp - 0xc8], 0xffffffff
jne 0x1003c656
cmp ecx, dword [ebp - 0xf8]
jb 0x1003c656
dec edx
mov dword [ebp - 0xc8], eax
test edx, edx
jle 0x1003c664
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x1003c613
mov dword [ebp - 0x124], edi
mov edi, dword [ebp - 0xe0]
mov esi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x104]
inc eax
cmp esi, 0xffffffff
mov dword [ebp - 0x138], eax
mov ecx, eax
cmovne ecx, esi
mov esi, dword [ebp - 0xfc]
mov dword [ebp - 0x124], ecx
mov ecx, dword [ebp - 0xc8]
cmp ecx, 0xffffffff
cmove ecx, eax
mov dword [ebp - 0xc8], ecx
mov ecx, edx
cmp edx, esi
jbe 0x1003c6c3
cmp word [ecx - 2], 0xa
je 0x1003c6c3
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x1003c6b5
mov eax, dword [0x10107a10]
movaps xmm1, xmm0
movaps xmm4, xmm0
mov esi, dword [eax + 0x192c]
movss xmm3, dword [eax + 0x1930]
divss xmm3, dword [esi + 0x10]
cmp ecx, edx
jae 0x1003c735
mov edi, dword [ebp - 0x104]
nop dword [eax + eax]
movzx eax, word [ecx]
add ecx, 2
mov edx, eax
cmp eax, 0xa
jne 0x1003c706
maxss xmm1, xmm4
movaps xmm4, xmm0
jmp 0x1003c72b
cmp edx, 0xd
je 0x1003c72b
mov edx, eax
cmp edx, dword [esi]
jge 0x1003c71b
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x1003c720
movss xmm0, dword [esi + 0xc]
mulss xmm0, xmm3
addss xmm4, xmm0
xorps xmm0, xmm0
cmp ecx, edi
jb 0x1003c6f0
mov edi, dword [ebp - 0xe0]
cmp dword [ebp - 0xc8], 0
maxss xmm4, xmm1
movd xmm5, dword [ebp - 0x124]
mov ecx, dword [ebp - 0xac]
cvtdq2ps xmm5, xmm5
movss xmm2, dword [ecx + 0x1930]
mulss xmm5, xmm2
movss dword [ebp - 0x154], xmm4
movss dword [ebp - 0x118], xmm5
jl 0x1003c814
mov edx, dword [ebp - 0xf8]
mov ecx, edx
cmp edx, dword [ebp - 0xfc]
jbe 0x1003c7a4
mov edi, dword [ebp - 0xfc]
nop dword [eax]
cmp word [ecx - 2], 0xa
je 0x1003c79e
add ecx, 0xfffffffe
cmp ecx, edi
ja 0x1003c790
mov edi, dword [ebp - 0xe0]
movaps xmm1, xmm0
movaps xmm7, xmm0
cmp ecx, edx
jae 0x1003c7f3
nop
movzx eax, word [ecx]
add ecx, 2
cmp eax, 0xa
jne 0x1003c7c4
maxss xmm1, xmm7
movaps xmm7, xmm0
jmp 0x1003c7ef
cmp eax, 0xd
je 0x1003c7ef
mov edx, eax
cmp edx, dword [esi]
jge 0x1003c7d9
mov eax, dword [esi + 8]
movss xmm0, dword [eax + edx*4]
jmp 0x1003c7de
movss xmm0, dword [esi + 0xc]
mov edx, dword [ebp - 0xf8]
mulss xmm0, xmm3
addss xmm7, xmm0
xorps xmm0, xmm0
cmp ecx, edx
jb 0x1003c7b0
movd xmm0, dword [ebp - 0xc8]
maxss xmm7, xmm1
mov ecx, dword [ebp - 0xac]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0xe8], xmm0
mov edx, dword [ebp - 0xcc]
movss xmm3, dword [ebp - 0x134]
test dl, dl
je 0x1003c848
movd xmm6, dword [ebp - 0x138]
movaps xmm0, xmm3
cvtdq2ps xmm6, xmm6
movss dword [ebp - 0x128], xmm0
mulss xmm6, xmm2
movss dword [ebp - 0xc4], xmm6
cmp byte [ebp - 0xb5], 0
je 0x1003c966
cmp byte [edi + 0xe6c], 0
je 0x1003c966
test dword [ebx + 0x14], 0x1000
jne 0x1003c8b7
movss xmm2, dword [edi + 0x38]
movaps xmm0, xmm3
comiss xmm2, xmm4
mulss xmm0, dword [0x100fcb60]
movaps xmm1, xmm4
subss xmm3, dword [ecx + 0x1550]
jbe 0x1003c8a8
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x1003c8be
subss xmm1, xmm3
comiss xmm1, xmm2
jb 0x1003c8be
addss xmm0, xmm1
jmp 0x1003c896
mov dword [edi + 0x38], 0
xorps xmm3, xmm3
test dl, dl
je 0x1003c952
movss xmm2, dword [ebp - 0x140]
movaps xmm0, xmm5
subss xmm0, dword [ecx + 0x1930]
movss xmm4, dword [ebp - 0xec]
comiss xmm2, xmm0
jbe 0x1003c8f2
xorps xmm2, xmm2
maxss xmm2, xmm0
jmp 0x1003c90e
movaps xmm0, xmm5
subss xmm0, xmm4
comiss xmm0, xmm2
jb 0x1003c90e
movss xmm2, dword [ecx + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
comiss xmm3, xmm2
movss xmm1, dword [ecx + 0x1554]
jbe 0x1003c920
xorps xmm1, xmm1
jmp 0x1003c934
addss xmm1, xmm1
addss xmm1, xmm6
subss xmm1, xmm4
maxss xmm1, xmm3
minss xmm1, xmm2
mov eax, dword [ebp - 0x100]
movss xmm0, dword [eax + 0x5c]
subss xmm0, xmm1
addss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x40], xmm0
movss dword [eax + 0x5c], xmm1
mov byte [edi + 0xe6c], 0
movss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x110], xmm0
cmp byte [ebp - 0x13c], 0
movss xmm5, dword [edi + 0x38]
movss dword [ebp - 0xf8], xmm5
je 0x1003cc7a
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [ebp - 0xfc]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0xb5], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0xfc]
lea eax, [eax + edx*2]
mov dword [ebp - 0x104], eax
je 0x1003c9bb
movss xmm1, dword [0x100fcbb4]
jmp 0x1003c9c3
movss xmm1, dword [0x100fcb7c]
mov ecx, 0x2f
call fcn.10018700
cmp byte [ebp - 0xcc], 0
xorps xmm4, xmm4
mov dword [ebp - 0x138], eax
je 0x1003c9ec
xorps xmm6, xmm6
movss dword [ebp - 0x124], xmm4
jmp 0x1003ca04
movss xmm0, dword [0x100fcbe8]
movss xmm6, dword [0x100fccc0]
movss dword [ebp - 0x124], xmm0
movss xmm3, dword [ebp - 0x40]
addss xmm3, dword [ebp - 0xe8]
addss xmm7, dword [ebp - 0x110]
movss xmm5, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x104]
movss dword [ebp - 0x134], xmm6
subss xmm3, xmm4
subss xmm7, xmm5
movss dword [ebp - 0xe8], xmm3
cmp esi, ecx
jae 0x1003cc7d
movss xmm4, dword [ebp - 0x108]
mov edi, dword [ebp - 0xac]
nop word [eax + eax]
movss xmm5, dword [edi + 0x1930]
movaps xmm0, xmm5
addss xmm0, xmm4
comiss xmm3, xmm0
ja 0x1003cc6c
movss xmm0, dword [ebp - 0x12c]
comiss xmm0, xmm3
jbe 0x1003caa9
cmp esi, ecx
jae 0x1003cc36
nop dword [eax]
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x1003cc36
cmp esi, ecx
jb 0x1003ca90
jmp 0x1003cc36
mov eax, dword [0x10107a10]
xorps xmm0, xmm0
xorps xmm4, xmm4
xorps xmm1, xmm1
mov edx, dword [eax + 0x192c]
movss xmm2, dword [eax + 0x1930]
divss xmm2, dword [edx + 0x10]
cmp esi, ecx
jae 0x1003cb16
nop
movzx eax, word [esi]
add esi, 2
cmp eax, 0xa
je 0x1003cb09
cmp eax, 0xd
je 0x1003cb03
mov ecx, eax
cmp ecx, dword [edx]
jge 0x1003caf0
mov eax, dword [edx + 8]
movss xmm0, dword [eax + ecx*4]
jmp 0x1003caf5
movss xmm0, dword [edx + 0xc]
mov ecx, dword [ebp - 0x104]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, ecx
jb 0x1003cad0
jmp 0x1003cb13
xorps xmm4, xmm4
maxss xmm4, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
maxss xmm1, xmm4
comiss xmm0, xmm1
jb 0x1003cb4f
mov eax, dword [edi + 0x192c]
cmp dword [eax], 0x20
jle 0x1003cb37
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1003cb3c
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x100fcb74]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [ebp - 0x124]
addss xmm1, xmm7
addss xmm7, dword [0x100fcb10]
movss xmm4, dword [ebp - 0x108]
addss xmm0, xmm3
movaps xmm2, xmm6
subss xmm2, xmm5
movss xmm5, dword [ebp - 0xb4]
minss xmm1, xmm5
maxss xmm7, dword [ebp - 0x130]
minss xmm0, xmm4
addss xmm2, xmm3
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x24], xmm7
comiss xmm0, dword [ebp - 0x12c]
maxss xmm2, dword [ebp - 0x12c]
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x20], xmm2
jbe 0x1003cc36
comiss xmm4, xmm2
jbe 0x1003cc36
comiss xmm1, dword [ebp - 0x130]
jbe 0x1003cc36
comiss xmm5, xmm7
jbe 0x1003cc36
push 0
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x1c]
push dword [ebp - 0x138]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 0x284]
call fcn.1002d3e0
movss xmm0, dword [ebp - 0xbc]
movss xmm3, dword [ebp - 0x44]
movss xmm4, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x104]
movss dword [ebp - 0xbc], xmm0
movss xmm0, dword [ebp - 0x114]
movss dword [ebp - 0x110], xmm3
movss xmm3, dword [ebp - 0xe8]
movss dword [ebp - 0x114], xmm0
movss xmm7, dword [ebp - 0x110]
movss xmm5, dword [ebp - 0xf8]
movss xmm6, dword [ebp - 0x134]
subss xmm7, xmm5
addss xmm3, dword [edi + 0x1930]
movss dword [ebp - 0xe8], xmm3
cmp esi, ecx
jb 0x1003ca60
jmp 0x1003cc74
movss xmm5, dword [ebp - 0xf8]
mov edi, dword [ebp - 0xe0]
xorps xmm4, xmm4
cmp byte [ebp - 0xcc], 0
jne 0x1003cc96
cmp dword [ebp - 0x144], 0x200000
jge 0x1003ced1
mov eax, dword [0x10107a10]
movss xmm7, dword [0x100fcbb4]
movups xmm2, xmmword [eax + 0x15dc]
comiss xmm4, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1518]
movups xmmword [ebp - 0x24], xmm2
jbe 0x1003ccc7
xorps xmm0, xmm0
jmp 0x1003ccce
movaps xmm0, xmm7
minss xmm0, xmm2
movss xmm2, dword [0x100fcc5c]
movss xmm6, dword [0x100fcb74]
movss xmm3, dword [ebp - 0x20]
comiss xmm4, xmm3
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1003ccf9
xorps xmm0, xmm0
jmp 0x1003cd00
movaps xmm0, xmm7
minss xmm0, xmm3
movss xmm3, dword [ebp - 0x1c]
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
jbe 0x1003cd20
xorps xmm0, xmm0
jmp 0x1003cd27
movaps xmm0, xmm7
minss xmm0, xmm3
mulss xmm0, xmm2
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm4, xmm1
jbe 0x1003cd42
xorps xmm0, xmm0
jmp 0x1003cd49
movaps xmm0, xmm7
minss xmm0, xmm1
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x100]
mulss xmm0, xmm2
mov dword [ebp - 0x144], 0
movss xmm2, dword [edx + 0x1930]
mov edx, dword [edx + 0x192c]
addss xmm0, xmm6
mov dword [ebp - 0x108], edx
lea edx, [ebp - 0x3c]
cvttss2si esi, xmm0
movss xmm0, dword [ebp - 0x110]
subss xmm0, xmm5
shl esi, 0x18
or esi, ecx
mov ecx, dword [eax + 0x284]
cmp byte [ebp - 0xcc], 0
mov eax, dword [ebp - 0xc0]
cmovne edx, dword [ebp - 0x144]
movss dword [ebp - 0xf0], xmm0
movss xmm0, dword [ebp - 0x40]
mov dword [ebp - 0xe8], ecx
subss xmm0, xmm4
mov dword [ebp - 0xb4], eax
movss dword [ebp - 0xec], xmm0
test esi, 0xff000000
je 0x1003ced1
test eax, eax
jne 0x1003ce12
mov ecx, dword [ebp - 0xd4]
lea eax, [ecx + 1]
mov dword [ebp - 0x144], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003cdf1
sub ecx, dword [ebp - 0x144]
mov eax, dword [ebp - 0xd4]
add eax, ecx
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xd4], eax
je 0x1003ced1
cmp dword [ebp - 0x108], 0
jne 0x1003ce33
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x108], eax
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1003ce44
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [ebp - 0x24], xmm0
test edx, edx
je 0x1003ce97
movss xmm1, dword [edx]
movss xmm0, dword [ebp - 0x24]
comiss xmm0, xmm1
jae 0x1003ce63
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [ebp - 0x20]
comiss xmm0, xmm1
jae 0x1003ce77
movss dword [ebp - 0x20], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [ebp - 0x1c]
ja 0x1003ce87
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [ebp - 0x18]
ja 0x1003ce97
movss dword [ebp - 0x18], xmm0
push dword [ebp - 0xec]
test edx, edx
push dword [ebp - 0xf0]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x24]
push dword [ebp - 0xb4]
push dword [ebp - 0xd4]
push eax
push esi
push ecx
mov ecx, dword [ebp - 0x108]
call fcn.1002feb0
cmp byte [ebp - 0xb5], 0
mov esi, dword [ebp - 0xac]
je 0x1003c3a2
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xb2], 0
je 0x1003cf49
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x1003cf49
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0xf0], xmm0
fld qword [ebp - 0xf0]
fld qword [0x100fcbe0]
call fcn.100cd270
movss xmm0, dword [0x100fcb9c]
fstp qword [ebp - 0xf0]
movsd xmm1, qword [ebp - 0xf0]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1003cf49
xor cl, cl
jmp 0x1003cf4b
mov cl, 1
movss xmm0, dword [ebp - 0x154]
movss xmm6, dword [0x100fcbb4]
addss xmm0, dword [ebp - 0x44]
subss xmm0, dword [ebp - 0xf8]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x40]
addss xmm0, dword [ebp - 0x118]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x100fcb10]
movss dword [ebp - 0x154], xmm1
movaps xmm4, xmm1
movss dword [ebp - 0x24], xmm1
addss xmm4, xmm6
cvttss2si eax, xmm0
movss dword [ebp - 0x1c], xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x118], xmm0
movaps xmm2, xmm0
movaps xmm3, xmm0
subss xmm2, dword [esi + 0x1930]
subss xmm3, dword [0x100fcbd4]
addss xmm2, dword [0x100fcb74]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x20], xmm2
test cl, cl
je 0x1003d071
comiss xmm3, dword [ebp - 0x12c]
jbe 0x1003d071
movss xmm5, dword [ebp - 0x114]
comiss xmm5, xmm2
jbe 0x1003d071
comiss xmm4, dword [ebp - 0x130]
jbe 0x1003d071
movss xmm2, dword [ebp - 0xbc]
comiss xmm2, xmm1
jbe 0x1003d071
sub esp, 8
movss dword [ebp - 0xf0], xmm1
movaps xmm1, xmm6
movss dword [ebp - 0xec], xmm3
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.10018700
add esp, 4
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 0x284]
call fcn.1002d1d0
movss xmm1, dword [ebp - 0x154]
movss xmm0, dword [ebp - 0x118]
movss xmm6, dword [0x100fcbb4]
cmp byte [ebp - 0xdc], 0
jne 0x1003c3a2
subss xmm0, dword [esi + 0x1930]
subss xmm1, xmm6
movss dword [esi + 0x2ec8], xmm0
movss dword [esi + 0x2ec4], xmm1
jmp 0x1003c3a2