Function at 0x100370f0
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 0x1004b440
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x1005600c]
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 - 0x1a0], ecx
mov edi, dword [0x100b2c60]
mov esi, edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x13c], esi
mov eax, dword [esi + 0x3e48]
mov byte [eax + 0xa8], 1
mov eax, dword [esi + 0x3e48]
mov dword [ebp - 0x114], eax
cmp byte [eax + 0xab], 0
jne 0x10037715
mov edx, dword [ebx + 0x14]
mov ecx, edx
shr ecx, 0x1a
and ecx, 0xffffff01
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x124], ecx
mov ecx, edx
shr ecx, 0xe
and ecx, 0xffffff01
mov dword [ebp - 0x15c], ecx
mov ecx, edx
shr ecx, 0xf
and ecx, 0xffffff01
mov dword [ebp - 0x19c], ecx
mov ecx, edx
shr ecx, 0x10
not cl
and ecx, 0xffffff01
mov dword [ebp - 0x184], ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0xffffff01
cmp byte [ebp - 0x124], 0
mov dword [ebp - 0x178], ecx
je 0x100371ee
call fcn.10013c30
mov edi, dword [0x100b2c60]
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0xe0]
xor edx, edx
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x1a0]
call fcn.10005eb0
add esp, 4
mov dword [ebp - 0x120], eax
cmp dword [edi + 0x3e7c], eax
jne 0x10037238
push ecx
push dword [ebp - 0x1a0]
mov edx, 0xb
mov ecx, eax
call fcn.1001a700
mov edi, dword [0x100b2c60]
add esp, 8
mov edx, dword [ebp - 0x1a0]
mov eax, edx
cmp edx, 0xffffffff
jae 0x1003725b
mov cl, byte [eax]
test cl, cl
je 0x1003725b
cmp cl, 0x23
jne 0x10037255
cmp byte [eax + 1], cl
je 0x1003725b
inc eax
cmp eax, 0xffffffff
jb 0x10037245
movss xmm1, dword [0x10052570]
xorps xmm3, xmm3
movss xmm0, dword [edi + 0x3bd0]
movss dword [ebp - 0x18c], xmm1
cmp edx, eax
jne 0x10037284
movss dword [ebp - 0x1a4], xmm3
jmp 0x100372d5
push ecx
push eax
push edx
push ecx
mov ecx, dword [edi + 0x3bcc]
lea eax, [ebp - 0x154]
mov dword [esp], 0xbf800000
movaps xmm3, xmm1
push eax
movaps xmm2, xmm0
call fcn.1002bc50
movss xmm0, dword [ebp - 0x154]
xorps xmm3, xmm3
addss xmm0, dword [0x100523b0]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1a4], xmm0
movss xmm0, dword [ebp - 0x150]
cmp byte [ebp - 0x124], 0
je 0x100372ee
movss xmm0, dword [esi + 0x3bd0]
mulss xmm0, dword [0x10052478]
test byte [edi + 0x46a8], 1
movss xmm1, dword [esi + 0x37d8]
mov eax, dword [edi + 0x3e48]
movaps xmm2, xmm1
addss xmm2, xmm1
addss xmm2, xmm0
je 0x1003731a
movss xmm0, dword [edi + 0x46ac]
jmp 0x10037322
movss xmm0, dword [eax + 0x19c]
comiss xmm3, xmm0
movss xmm3, dword [0x100523b8]
jbe 0x10037364
cmp dword [eax + 0x18c], 0
movss xmm1, dword [eax + 0x224]
jne 0x10037349
cmp dword [edi + 0x49f0], 0
je 0x10037351
movss xmm1, dword [eax + 0x1f4]
subss xmm1, dword [eax + 0xec]
addss xmm1, xmm0
movaps xmm0, xmm3
maxss xmm0, xmm1
cvttss2si eax, xmm0
lea ecx, [ebp - 0x154]
movd xmm1, eax
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm1, xmm1
push dword [eax + 4]
push dword [eax]
call fcn.10013b50
movss xmm1, dword [ebp - 0x1a4]
xorps xmm0, xmm0
add esp, 8
comiss xmm1, xmm0
jbe 0x100373a2
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x37ec]
jmp 0x100373a5
xorps xmm2, xmm2
mov edi, dword [ebp - 0x114]
lea eax, [ebp - 0x90]
movss xmm6, dword [ebp - 0x150]
movss xmm5, dword [ebp - 0x154]
addss xmm2, xmm5
movss dword [ebp - 0x198], xmm5
movss xmm4, dword [edi + 0xf0]
movss xmm3, dword [edi + 0xec]
movaps xmm0, xmm4
addss xmm0, xmm6
movss dword [ebp - 0x10c], xmm3
movaps xmm1, xmm3
movss dword [ebp - 0x140], xmm4
addss xmm2, xmm3
movss dword [ebp - 0x160], xmm6
addss xmm1, xmm5
movss dword [ebp - 0xa0], xmm3
push 0x3c
movss dword [ebp - 0x94], xmm0
movaps xmm0, xmm4
addss xmm0, xmm6
movss dword [ebp - 0x9c], xmm4
push 0
push eax
movss dword [ebp - 0x98], xmm1
movss dword [ebp - 0x118], xmm2
movss dword [ebp - 0x12c], xmm0
movss dword [ebp - 0x24], xmm3
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm0
mov dword [ebp - 0x164], edi
call sub.VCRUNTIME140.dll_memset
movss xmm1, dword [ebp - 0x12c]
lea ecx, [ebp - 0x154]
subss xmm1, dword [ebp - 0x140]
movss xmm0, dword [ebp - 0x118]
add esp, 0xc
subss xmm0, dword [ebp - 0x10c]
movss dword [ebp - 0x150], xmm1
movss xmm1, dword [esi + 0x37d8]
movss dword [ebp - 0x154], xmm0
call fcn.10013680
cmp byte [ebp - 0x124], 0
je 0x100377a4
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0xa0]
push 0x400
push eax
lea ecx, [ebp - 0x24]
call fcn.100137e0
add esp, 8
test al, al
je 0x10037710
movups xmm0, xmmword [esi + 0x46bc]
mov eax, dword [esi + 0x46c4]
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x50]
movups xmmword [ebp - 0x90], xmm0
push eax
movups xmm0, xmmword [esi + 0x46cc]
mov dword [ebp - 0x50], 3
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [esi + 0x46dc]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x46ec]
mov esi, dword [0x100b2c60]
movq qword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x10c]
movss dword [edi + 0xec], xmm0
movss xmm0, dword [ebp - 0x140]
lea ecx, [esi + 0x4758]
movss dword [edi + 0xf0], xmm0
movups xmm0, xmmword [esi + 0x389c]
movups xmmword [ebp - 0x4c], xmm0
call fcn.1001af70
mov edi, dword [ebp - 0x13c]
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 0x158], 7
movups xmm0, xmmword [edi + 0x38dc]
movups xmmword [esi + 0x389c], xmm0
mov esi, dword [0x100b2c60]
movss xmm0, dword [edi + 0x37dc]
movss dword [ebp - 0x118], xmm0
movss xmm0, dword [esi + 0x37c4]
lea ecx, [esi + 0x4764]
movss dword [ebp - 0x154], xmm0
call fcn.1001aea0
movss xmm0, dword [ebp - 0x118]
lea eax, [ebp - 0x158]
movss dword [esi + 0x37c4], xmm0
mov esi, dword [0x100b2c60]
movss xmm0, dword [edi + 0x37e0]
movss dword [ebp - 0x118], xmm0
push eax
movss xmm0, dword [esi + 0x37c8]
lea ecx, [esi + 0x4764]
mov dword [ebp - 0x158], 8
movss dword [ebp - 0x154], xmm0
call fcn.1001aea0
movss xmm0, dword [ebp - 0x118]
lea eax, [ebp - 0x158]
movss dword [esi + 0x37c8], xmm0
mov esi, dword [0x100b2c60]
push eax
mov dword [ebp - 0x158], 2
movss xmm1, dword [esi + 0x37a0]
lea ecx, [esi + 0x4764]
movss xmm0, dword [esi + 0x37a4]
movss dword [ebp - 0x154], xmm1
movss dword [ebp - 0x150], xmm0
call fcn.1001aea0
movss xmm1, dword [ebp - 0x98]
lea eax, [ebp - 0x154]
movss xmm0, dword [ebp - 0x94]
sub esp, 8
subss xmm1, dword [ebp - 0xa0]
subss xmm0, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x1a0]
push eax
mov dword [esi + 0x37a0], 0
mov dword [esi + 0x37a4], 0
movss dword [ebp - 0x154], xmm1
movss dword [ebp - 0x150], xmm0
call fcn.1000b9d0
add esp, 0xc
mov byte [ebp - 0x145], al
mov ecx, 3
call fcn.100069b0
mov esi, dword [0x100b2c60]
cmp dword [esi + 0x4758], 1
jl 0x10037702
mov eax, dword [esi + 0x4758]
mov ecx, dword [esi + 0x4760]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
shl eax, 4
movups xmmword [eax + esi + 0x386c], xmm0
dec dword [esi + 0x4758]
cmp byte [ebp - 0x145], 0
jne 0x10037735
call fcn.1000bba0
call fcn.10013d60
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.10049846
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, edi
mov edx, dword [esi + 0x3e48]
mov dword [ebp - 0x164], edx
movsx ecx, word [edx + 0x14a]
mov eax, dword [edx + 0x144]
bts ecx, eax
movss xmm0, dword [edx + 0xec]
mov word [edx + 0x14a], cx
addss xmm0, dword [esi + 0x37d4]
movss dword [edx + 0xec], xmm0
movss xmm0, dword [esi + 0x37d8]
addss xmm0, dword [edx + 0xf0]
movss dword [edx + 0xf0], xmm0
movss xmm0, dword [ebp - 0x198]
subss xmm0, dword [edx + 0x9c]
movss dword [ebp - 0x198], xmm0
jmp 0x100377e1
test dword [ebp - 0x128], 0x10000000
jne 0x100377d5
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0xa0]
push 0x400
push eax
lea ecx, [ebp - 0x24]
call fcn.100137e0
add esp, 8
test al, al
je 0x10037715
mov eax, dword [esi + 0x46c4]
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0xa0]
call fcn.10008920
mov cl, al
mov byte [ebp - 0x146], cl
test cl, cl
je 0x10037808
mov dword [esi + 0x494c], 1
mov edx, dword [ebp - 0x120]
mov edi, dword [0x100b2c60]
test edx, edx
je 0x10037828
cmp dword [edi + 0x4a94], edx
jne 0x10037828
add edi, 0x4a90
jmp 0x1003782a
xor edi, edi
mov eax, dword [ebp - 0x170]
shr eax, 8
and al, 1
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x170], eax
mov eax, dword [esi + 0x3e94]
cmp eax, edx
je 0x1003786d
cmp dword [esi + 0x47e0], edx
je 0x10037864
cmp dword [esi + 0x47d4], edx
jne 0x1003786d
cmp dword [esi + 0x47fc], 2
jne 0x1003786d
mov byte [ebp - 0x119], 1
jmp 0x10037874
mov byte [ebp - 0x119], 0
test cl, cl
je 0x10037888
cmp byte [esi + 0x36f8], 0
mov byte [ebp - 0x105], 1
jne 0x1003788f
mov byte [ebp - 0x105], 0
cmp byte [ebp - 0x124], 0
je 0x10037905
test edi, edi
je 0x10037905
test eax, eax
jne 0x10037905
mov eax, dword [ebp - 0x164]
xor edx, edx
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.10005eb0
mov ecx, dword [0x100b2c60]
add esp, 4
mov dword [ebp - 0x118], eax
cmp dword [ecx + 0x3e7c], eax
jne 0x100378f4
push ecx
push str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.1001a700
mov eax, dword [ebp - 0x118]
add esp, 8
cmp dword [esi + 0x3ebc], eax
jne 0x10037905
mov byte [ebp - 0x104], 1
jmp 0x10037925
mov eax, dword [ebp - 0x124]
mov byte [ebp - 0x104], 0
test al, al
je 0x100379a4
mov byte [ebp - 0x104], 0
test edi, edi
je 0x100379a4
mov eax, dword [ebp - 0x164]
xor edx, edx
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.10005eb0
mov ecx, dword [0x100b2c60]
add esp, 4
mov dword [ebp - 0x118], eax
cmp dword [ecx + 0x3e7c], eax
jne 0x10037979
push ecx
push str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.1001a700
mov eax, dword [ebp - 0x118]
add esp, 8
cmp dword [esi + 0x3e94], eax
mov eax, dword [ebp - 0x124]
jne 0x100379a4
mov edx, dword [ebp - 0x164]
mov cl, 1
mov byte [ebp - 0x101], cl
movss xmm0, dword [edx + 0x78]
movss dword [ebp - 0x18c], xmm0
jmp 0x100379cd
xor cl, cl
mov byte [ebp - 0x101], cl
test al, al
je 0x100379c5
mov edx, dword [ebp - 0x164]
movss xmm0, dword [edx + 0x78]
movss dword [ebp - 0x18c], xmm0
jmp 0x100379cd
xor cl, cl
mov byte [ebp - 0x101], cl
test edi, edi
je 0x100379dc
xor al, 1
cmp byte [edi + 0x57], al
je 0x100379dc
mov al, 1
jmp 0x100379de
xor al, al
cmp byte [ebp - 0x105], 0
mov edx, dword [ebx + 0xc]
mov byte [ebp - 0x12d], al
mov dword [ebp - 0x144], edx
jne 0x10037a24
cmp byte [ebp - 0x104], 0
jne 0x10037a24
cmp byte [ebp - 0x119], 0
jne 0x10037a24
cmp byte [ebp - 0x170], 0
jne 0x10037a24
mov byte [ebp - 0x104], 0
test cl, cl
jne 0x10037a2b
mov byte [ebp - 0x10e], cl
jmp 0x10037a40
mov byte [ebp - 0x104], 1
mov ecx, dword [ebp - 0x120]
mov byte [ebp - 0x10e], 1
cmp dword [esi + 0x3e94], ecx
jne 0x10037a4f
mov byte [ebp - 0x138], 0
test al, al
je 0x10037d64
mov ecx, dword [ebp - 0x134]
lea edi, [esi + 0x4a90]
mov dword [ebp - 0x168], edi
mov dword [edi + 0xe6c], 0xbe99999a
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037a70
mov eax, dword [edi + 0x2c]
sub ecx, edx
mov dword [ebp - 0x118], ecx
lea edx, [ecx + 1]
mov dword [ebp - 0x10c], edx
cmp edx, eax
jle 0x10037ac0
test eax, eax
je 0x10037aa5
cdq
sub eax, edx
mov edx, dword [ebp - 0x10c]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x2c]
jmp 0x10037aaa
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x28]
push eax
call fcn.1001b3f0
mov edx, dword [ebp - 0x10c]
push edx
push dword [ebp - 0x134]
mov dword [edi + 0x28], edx
push dword [edi + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x120]
add esp, 0xc
cmp dword [edi + 4], eax
jne 0x10037b18
cmp byte [ebp - 0x12d], 0
jne 0x10037b18
mov eax, dword [ebp - 0x118]
mov byte [ebp - 0x10d], 1
cmp dword [edi + 0xc], eax
jne 0x10037b18
cmp byte [edi + 0x34], 0
je 0x10037b1f
push eax
push dword [ebp - 0x134]
push dword [edi + 0x24]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x10037b1f
mov byte [ebp - 0x10d], 0
mov edx, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x120]
inc edx
mov dword [edi + 4], ecx
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10c], edx
cmp edx, eax
jle 0x10037b6d
test eax, eax
je 0x10037b52
cdq
sub eax, edx
mov edx, dword [ebp - 0x10c]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x14]
jmp 0x10037b57
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x10]
push eax
call fcn.1001b470
mov edx, dword [ebp - 0x10c]
lea eax, [edi + 0x1c]
mov dword [edi + 0x10], edx
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10037b96
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 + 0x1c]
call fcn.1001b3f0
lea eax, [edi + 0x1c]
mov esi, dword [ebp - 0x144]
mov dword [eax], 0
mov ecx, dword [edi + 0x18]
mov edx, ecx
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x12c], ecx
lea ecx, [ecx + esi*2]
mov byte [edi + 0x34], 0
mov esi, dword [ebp - 0x13c]
add ecx, 0xfffffffe
mov dword [ebp - 0x16c], eax
cmp edx, ecx
jae 0x10037c3d
mov edi, dword [ebp - 0x144]
mov esi, eax
nop dword [eax + eax]
cmp byte [esi], 0
je 0x10037c2b
push 0
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.10006160
mov edx, dword [ebp - 0x12c]
add esi, eax
mov eax, dword [ebp - 0x118]
add esp, 4
mov dword [ebp - 0x16c], esi
test eax, eax
je 0x10037c2b
mov ecx, dword [ebp - 0x14c]
mov word [edx], ax
lea eax, [edi - 1]
add edx, 2
mov dword [ebp - 0x12c], edx
lea eax, [ecx + eax*2]
cmp edx, eax
jb 0x10037be0
mov edi, dword [ebp - 0x168]
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x16c]
sub eax, dword [ebp - 0x134]
xor ecx, ecx
mov word [edx], cx
sub edx, dword [ebp - 0x14c]
mov cl, byte [ebp - 0x10d]
sar edx, 1
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
test cl, cl
je 0x10037c8a
cmp dword [edi + 0x40], edx
mov ecx, edx
cmovl ecx, dword [edi + 0x40]
cmp dword [edi + 0x44], edx
mov dword [edi + 0x40], ecx
mov ecx, edx
cmovl ecx, dword [edi + 0x44]
cmp dword [edi + 0x48], edx
mov dword [edi + 0x44], ecx
cmovl edx, dword [edi + 0x48]
mov cl, byte [ebp - 0x10d]
mov dword [edi + 0x48], edx
jmp 0x10037ceb
mov al, byte [ebp - 0x124]
xor al, 1
mov dword [edi + 0x3c], 0
mov dword [edi + 0xe5e], 0x630000
mov dword [edi + 0xe64], 0
mov dword [edi + 0xe68], 0x3e7
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x40], 0
mov word [edi + 0x55], 1
mov dword [edi + 0x5c], 0
mov byte [edi + 0x54], 0
mov byte [edi + 0x57], al
mov byte [edi + 0x4c], 0
mov dword [edi + 0x50], 0
cmp byte [ebp - 0x124], 0
mov byte [ebp - 0x138], 0
jne 0x10037d54
mov eax, dword [ebp - 0x128]
shr eax, 4
and eax, 0xffffff01
cmp byte [ebp - 0x119], 0
mov dword [ebp - 0x138], eax
je 0x10037d32
test cl, cl
je 0x10037d2b
test byte [esi + 0x47e4], 4
mov dword [ebp - 0x138], eax
jne 0x10037d32
mov byte [ebp - 0x138], 1
cmp byte [ebp - 0x170], 0
jne 0x10037d4d
cmp byte [ebp - 0x105], 0
je 0x10037d54
cmp byte [esi + 0xdd0], 0
je 0x10037d54
mov byte [ebp - 0x138], 1
test dword [ebp - 0x128], 0x2000
je 0x10037d64
mov byte [edi + 0x4c], 1
mov eax, dword [esi + 0x3e94]
mov ecx, dword [ebp - 0x120]
cmp eax, ecx
je 0x10037dbc
cmp byte [ebp - 0x104], 0
je 0x10037e8e
mov edx, dword [ebp - 0x114]
call fcn.10008690
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x120]
call fcn.10015410
mov ecx, dword [ebp - 0x114]
call fcn.10010e00
mov eax, dword [esi + 0x3e94]
mov ecx, dword [ebp - 0x120]
cmp eax, ecx
jne 0x10037e8e
cmp byte [ebp - 0x105], 0
je 0x10037ddf
mov eax, dword [0x100b2c60]
mov dword [eax + 0x44e0], ecx
mov dword [eax + 0x44dc], ecx
mov word [eax + 0x44e4], 0
mov eax, dword [esi + 0x4690]
mov edx, dword [ebp - 0x128]
or eax, 3
cmp byte [ebp - 0x124], 0
mov dword [esi + 0x4690], eax
jne 0x10037e01
test dl, dl
jns 0x10037e0a
or eax, 0xc
mov dword [esi + 0x4690], eax
cmp byte [ebp - 0x124], 0
mov eax, dword [0x100b2c60]
mov dword [eax + 0x3f28], ecx
mov dword [eax + 0x3f24], ecx
mov word [eax + 0x3f2c], 0
mov dword [eax + 0x3f34], ecx
mov dword [eax + 0x3f30], ecx
mov word [eax + 0x3f38], 0
je 0x10037e6c
mov dword [eax + 0x3f10], ecx
mov dword [eax + 0x3f0c], ecx
mov word [eax + 0x3f14], 0
mov dword [eax + 0x3f1c], ecx
mov dword [eax + 0x3f18], ecx
mov word [eax + 0x3f20], 0
test edx, 0x440
je 0x10037e8e
mov eax, dword [0x100b2c60]
mov dword [eax + 0x3ed4], ecx
mov dword [eax + 0x3ed0], ecx
mov word [eax + 0x3ed8], 0
mov eax, dword [esi + 0x3e94]
cmp eax, ecx
jne 0x10037eec
test edi, edi
jne 0x10037eb1
call fcn.100087c0
mov eax, dword [esi + 0x3e94]
mov ecx, dword [ebp - 0x120]
cmp eax, ecx
jne 0x10037eec
cmp byte [esi + 0x36f8], 0
mov byte [ebp - 0x105], 0
je 0x10037f00
cmp byte [ebp - 0x10e], 0
mov byte [ebp - 0x105], 0
jne 0x10037f00
cmp byte [ebp - 0x104], 0
mov byte [ebp - 0x105], 0
jne 0x10037f00
mov byte [ebp - 0x105], 1
mov dl, 1
jmp 0x10037f0c
test edi, edi
je 0x10037f04
cmp byte [ebp - 0x101], 0
mov byte [ebp - 0x105], 0
je 0x10037f04
mov dl, 1
jmp 0x10037f0c
xor dl, dl
mov byte [ebp - 0x105], dl
mov byte [ebp - 0x102], dl
test edi, edi
je 0x10037f2f
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
jne 0x10037f27
cmp byte [ebp - 0x138], 0
je 0x10037f2f
test dl, dl
je 0x10037f2f
mov al, 1
jmp 0x10037f31
xor al, al
cmp byte [ebp - 0x15c], 0
mov byte [ebp - 0x103], al
mov byte [ebp - 0x145], 0
mov byte [ebp - 0x12d], 0
je 0x1003809c
test edi, edi
je 0x1003809c
test dl, dl
jne 0x10037f66
test al, al
je 0x100380a4
mov ecx, dword [ebp - 0x144]
mov eax, dword [edi + 0x14]
inc ecx
mov dword [ebp - 0x10c], ecx
cmp ecx, eax
jle 0x10037fa9
test eax, eax
je 0x10037f8a
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x14]
jmp 0x10037f8f
mov ecx, 8
mov eax, dword [ebp - 0x10c]
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0x10]
push eax
call fcn.1001b470
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x134]
mov dword [edi + 0x10], ecx
dec ecx
mov edx, dword [edi + 0x18]
mov esi, edx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x114], edx
lea ecx, [esi + ecx*2]
cmp esi, ecx
mov dword [ebp - 0x140], ecx
mov esi, dword [ebp - 0x13c]
jae 0x1003802f
mov esi, eax
nop
cmp byte [esi], 0
je 0x10038023
push 0
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.10006160
mov edx, dword [ebp - 0x114]
add esi, eax
mov eax, dword [ebp - 0x118]
add esp, 4
mov dword [ebp - 0x12c], esi
test eax, eax
je 0x10038023
mov word [edx], ax
add edx, 2
mov dword [ebp - 0x114], edx
cmp edx, dword [ebp - 0x140]
jb 0x10037fe0
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x12c]
sub eax, dword [ebp - 0x134]
xor ecx, ecx
mov word [edx], cx
sub edx, dword [ebp - 0x10c]
sar edx, 1
cmp dword [edi + 0x40], edx
mov ecx, edx
mov dword [ebp - 0x114], edx
cmovl ecx, dword [edi + 0x40]
mov dword [edi + 0x40], ecx
mov ecx, edx
cmp dword [edi + 0x44], ecx
mov dword [edi + 8], edx
cmovl edx, dword [edi + 0x44]
cmp dword [edi + 0x48], ecx
mov dword [edi + 0xc], eax
cmovl ecx, dword [edi + 0x48]
movzx eax, byte [ebp - 0x103]
mov dword [ebp - 0x114], ecx
mov dword [edi + 0x48], ecx
xor ecx, ecx
cmp edx, dword [ebp - 0x114]
mov dword [edi + 0x44], edx
mov dl, byte [ebp - 0x102]
cmovne ecx, eax
mov al, cl
mov ecx, dword [ebp - 0x120]
mov byte [ebp - 0x103], al
test dl, dl
jne 0x100380ac
test al, al
jne 0x100380ac
cmp dword [esi + 0x3e94], ecx
jne 0x100380c6
cmp byte [ebp - 0x15c], 0
jne 0x100380c6
test edi, edi
je 0x100380c6
cmp byte [edi + 0x34], 0
mov byte [ebp - 0x179], 1
jne 0x100380cd
mov byte [ebp - 0x179], 0
cmp byte [ebp - 0x19c], 0
je 0x10038160
mov edx, dword [esi + 0x3bcc]
cmp dword [edx + 0x14], 0x2a
ja 0x100380eb
mov eax, dword [edx + 0x2c]
jmp 0x1003810a
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x10038101
mov eax, dword [edx + 0x2c]
jmp 0x1003810a
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x12c], eax
lea ecx, [esi + 0x5908]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x3bcc]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x3bcc]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x3bcc]
mov eax, dword [eax + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 0x3bcc]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x12c]
mov dword [ecx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [ecx + 0xc], eax
call fcn.100110f0
mov eax, dword [ebp - 0x120]
movss xmm0, dword [ebp - 0xa0]
movss xmm1, dword [0x10052384]
mov dword [ebp - 0x16c], 0
movss dword [ebp - 0x14c], xmm0
cmp dword [esi + 0x3e94], eax
jne 0x100386dc
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x144]
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x128]
mov dword [edi + 0xe74], eax
mov byte [edi + 0xe72], 0
mov cl, byte [esi + 0xdc0]
test cl, cl
mov dword [esi + 0x5c00], 1
sete al
cmp byte [ebp - 0x124], 0
mov byte [esi + 0x3ea1], al
movss xmm7, dword [esi + 0xdb8]
subss xmm7, xmm0
subss xmm7, dword [esi + 0x37d4]
addss xmm7, dword [edi + 0x3c]
je 0x1003820e
mov eax, dword [ebp - 0x164]
movss xmm2, dword [esi + 0xdbc]
subss xmm2, dword [eax + 0xf0]
jmp 0x1003821a
movss xmm2, dword [esi + 0x3bd0]
mulss xmm2, xmm1
cmp byte [ebp - 0x138], 0
mov dl, byte [esi + 0x61]
mov byte [ebp - 0x104], dl
je 0x1003824c
mov eax, dword [edi + 8]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0x56], 0
mov byte [edi + 0xe71], 1
jmp 0x1003851c
mov ah, byte [ebp - 0x146]
test ah, ah
je 0x1003840a
cmp word [esi + 0x3702], 2
jb 0x1003840a
cmp byte [esi + 0xdd1], 0
jne 0x1003840a
cmp byte [edi + 0x57], 0
je 0x1003828f
push 0
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.100353b0
movss xmm2, dword [ebp - 0x48]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10035800
lea edx, [edi + 0x40]
mov dword [ebp - 0x118], eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov byte [edx + 0x16], 0
movzx ecx, word [esi + 0x3702]
sub ecx, 2
test cl, 1
jne 0x10038379
test eax, eax
je 0x100382d6
mov ecx, eax
mov eax, dword [edi + 0x18]
cmp word [eax + ecx*2 - 2], 0xa
je 0x100382d6
xor cl, cl
jmp 0x100382d8
mov cl, 1
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
jne 0x100382e4
test cl, cl
jne 0x1003830f
push 0x20000c
mov ecx, edi
call fcn.10035bd0
mov eax, dword [edi + 0x44]
lea edx, [edi + 0x40]
add esp, 4
mov byte [edi + 0xe70], 1
mov dword [edi + 0xe6c], 0xbe99999a
cmp eax, dword [edi + 0x48]
jne 0x10038323
mov eax, dword [edx + 8]
cmp dword [edx + 4], eax
jne 0x10038321
mov eax, dword [edx]
mov dword [edx + 8], eax
mov dword [edx + 4], eax
jmp 0x10038323
mov dword [edx], eax
mov edx, dword [edx]
mov ecx, edi
call fcn.10035570
mov dword [edi + 0x40], eax
mov dword [edi + 0x48], eax
mov edx, dword [edi + 0x48]
mov eax, dword [edi + 8]
mov dword [ebp - 0x10c], edx
mov edx, dword [edi + 0x44]
cmp edx, dword [edi + 0x48]
je 0x10038368
cmp edx, eax
jle 0x1003834f
mov dword [edi + 0x44], eax
mov edx, eax
cmp dword [edi + 0x48], eax
jle 0x1003835d
mov dword [edi + 0x48], eax
mov dword [ebp - 0x10c], eax
cmp edx, dword [ebp - 0x10c]
jne 0x10038368
mov dword [edi + 0x40], edx
cmp dword [edi + 0x40], eax
jle 0x1003850c
mov dword [edi + 0x40], eax
jmp 0x1003850c
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x118]
push 0x200004
movzx esi, word [eax + ecx*2]
mov ecx, edi
call fcn.10035bd0
add esp, 4
mov byte [edi + 0xe70], 1
lea edx, [edi + 0x40]
mov dword [edi + 0xe6c], 0xbe99999a
mov ecx, edi
push 0x600005
call fcn.10035bd0
add esp, 4
mov byte [edi + 0xe70], 1
lea edx, [edi + 0x40]
mov dword [edi + 0xe6c], 0xbe99999a
mov ecx, edi
push 0x600001
call fcn.10035bd0
add esp, 4
cmp esi, 0xa
je 0x100383f8
cmp byte [ebp - 0x124], 0
je 0x100383f8
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x48]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ecx
mov dword [edi + 0x40], ecx
mov esi, dword [ebp - 0x13c]
mov byte [edi + 0xe70], 0
jmp 0x1003850c
cmp byte [esi + 0x36f8], 0
mov al, byte [edi + 0xe71]
je 0x100384a0
test al, al
jne 0x100384a0
test ah, ah
je 0x1003851c
cmp byte [esi + 0xdd1], al
je 0x1003846d
cmp byte [edi + 0x57], al
je 0x1003844a
push 0
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.100353b0
movss xmm2, dword [ebp - 0x48]
add esp, 4
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
jne 0x10038458
mov eax, dword [edi + 0x40]
mov dword [edi + 0x44], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.10035800
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], eax
jmp 0x1003850c
cmp byte [edi + 0x57], 0
je 0x10038487
push 0
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.100353b0
movss xmm2, dword [ebp - 0x48]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.10035800
mov dword [edi + 0x44], eax
mov byte [edi + 0x56], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], eax
jmp 0x1003850c
test cl, cl
je 0x1003851c
test al, al
jne 0x1003851c
movss xmm0, dword [esi + 0xb4]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100384cd
movss xmm0, dword [esi + 0xb8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1003851c
cmp byte [edi + 0x57], 0
je 0x100384e7
push 0
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.100353b0
movss xmm2, dword [ebp - 0x48]
add esp, 4
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
jne 0x100384f5
mov eax, dword [edi + 0x40]
mov dword [edi + 0x44], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.10035800
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0xe70], 1
mov dl, byte [ebp - 0x104]
mov dword [edi + 0xe6c], 0xbe99999a
cmp byte [edi + 0xe71], 0
je 0x10038535
cmp byte [esi + 0xdc0], 0
jne 0x10038535
mov byte [edi + 0xe71], 0
cmp byte [esi + 0xdd0], 0
je 0x10038547
cmp byte [esi + 0xdd2], 0
je 0x10038554
test dl, dl
je 0x1003855d
cmp byte [esi + 0xdd3], 0
je 0x1003855d
mov byte [ebp - 0x101], 1
jmp 0x10038564
mov byte [ebp - 0x101], 0
mov edx, dword [ebp - 0x128]
test edx, 0x400
je 0x1003878b
push 1
xor edx, edx
mov ecx, 0x200
call fcn.10011a50
mov cl, byte [ebp - 0x101]
add esp, 4
test al, al
je 0x100385f6
test cl, cl
jne 0x100385f6
cmp byte [esi + 0xdd1], cl
jne 0x100385f6
mov edx, dword [ebp - 0x128]
cmp byte [ebp - 0x15c], cl
jne 0x100385fc
push 2
sub esp, 8
mov dword [ebp - 0x10c], 9
lea ecx, [ebp - 0x10c]
call fcn.10036db0
add esp, 0xc
test al, al
je 0x100385f0
push dword [ebp - 0x10c]
lea edx, [edi + 0x40]
mov ecx, edi
call fcn.10035bd0
add esp, 4
mov byte [edi + 0xe70], 1
mov dword [edi + 0xe6c], 0xbe99999a
mov cl, byte [ebp - 0x101]
mov edx, dword [ebp - 0x128]
cmp dword [esi + 0x3770], 0
lea eax, [esi + 0x3770]
jle 0x100386dc
test cl, cl
jne 0x100386ad
cmp byte [ebp - 0x15c], cl
jne 0x100386ad
cmp byte [ebp - 0x119], cl
jne 0x100386ad
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
nop word [eax + eax]
mov eax, dword [esi + 0x3778]
movzx eax, word [eax + ecx*2]
mov dword [ebp - 0x10c], eax
cmp eax, 9
je 0x10038696
push 2
sub esp, 8
lea ecx, [ebp - 0x10c]
call fcn.10036db0
add esp, 0xc
test al, al
je 0x10038690
push dword [ebp - 0x10c]
lea edx, [edi + 0x40]
mov ecx, edi
call fcn.10035bd0
add esp, 4
mov byte [edi + 0xe70], 1
mov dword [edi + 0xe6c], 0xbe99999a
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x128]
lea eax, [esi + 0x3770]
inc ecx
mov dword [ebp - 0x12c], ecx
cmp ecx, dword [eax]
jl 0x10038640
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100386d6
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, [esi + 0x3770]
call fcn.1001b470
lea eax, [esi + 0x3770]
mov dword [eax], 0
mov ecx, dword [esi + 0x3e94]
xor dl, dl
mov eax, ecx
mov byte [ebp - 0x101], dl
cmp ecx, dword [ebp - 0x120]
jne 0x1003929c
cmp byte [esi + 0x3ea0], dl
jne 0x1003929c
cmp byte [ebp - 0x105], dl
jne 0x1003929c
movss xmm0, dword [ebp - 0x160]
mov ecx, 1
subss xmm0, dword [esi + 0x37d8]
divss xmm0, dword [esi + 0x3bd0]
cvttss2si eax, xmm0
cmp eax, ecx
cmovge ecx, eax
xor eax, eax
mov dword [edi + 0x50], ecx
cmp byte [esi + 0xdd1], al
mov dword [ebp - 0x10c], ecx
mov ecx, 0x400000
cmovne eax, ecx
mov dword [ebp - 0x114], eax
mov al, byte [esi + 0x61]
mov byte [ebp - 0x171], al
test al, al
je 0x10038796
mov al, byte [esi + 0xdd2]
mov byte [ebp - 0x119], al
cmp byte [esi + 0xdd3], dl
je 0x100387a2
cmp byte [esi + 0xdd0], dl
jne 0x100387a2
test al, al
jne 0x100387a2
mov byte [ebp - 0x10d], 1
jmp 0x100387a9
mov cl, byte [ebp - 0x101]
jmp 0x100385fc
mov al, byte [esi + 0xdd0]
mov byte [ebp - 0x119], al
mov byte [ebp - 0x10d], 0
mov edx, dword [ebp - 0x120]
mov ecx, 0xa39
push 1
call fcn.100134f0
add esp, 4
test al, al
jne 0x100387db
mov edx, dword [ebp - 0x120]
mov ecx, 0x220a
push 1
call fcn.100134f0
add esp, 4
test al, al
je 0x10038807
cmp byte [ebp - 0x15c], 0
jne 0x10038807
cmp byte [ebp - 0x19c], 0
jne 0x10038807
cmp byte [ebp - 0x124], 0
je 0x100387fe
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
je 0x10038807
mov byte [ebp - 0x104], 1
jmp 0x1003880e
mov byte [ebp - 0x104], 0
mov edx, dword [ebp - 0x120]
mov ecx, 0xa24
push 0
call fcn.100134f0
add esp, 4
test al, al
jne 0x10038840
mov edx, dword [ebp - 0x120]
mov ecx, 0x1209
push 0
call fcn.100134f0
add esp, 4
test al, al
je 0x10038863
cmp byte [ebp - 0x19c], 0
jne 0x10038863
cmp byte [ebp - 0x124], 0
je 0x1003885a
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
je 0x10038863
mov byte [ebp - 0x17a], 1
jmp 0x1003886a
mov byte [ebp - 0x17a], 0
mov edx, dword [ebp - 0x120]
mov ecx, 0xa37
push 1
call fcn.100134f0
add esp, 4
test al, al
jne 0x1003889c
mov edx, dword [ebp - 0x120]
mov ecx, 0x2209
push 1
call fcn.100134f0
add esp, 4
test al, al
je 0x100388ac
cmp byte [ebp - 0x15c], 0
mov byte [ebp - 0x146], 1
je 0x100388b3
mov byte [ebp - 0x146], 0
mov edx, dword [ebp - 0x120]
mov ecx, 0xa3b
push 1
call fcn.100134f0
add esp, 4
test al, al
je 0x100388e7
cmp byte [ebp - 0x15c], 0
jne 0x100388e7
cmp byte [ebp - 0x184], 0
je 0x100388e7
mov byte [ebp - 0x173], 1
jmp 0x100388ef
xor al, al
mov byte [ebp - 0x173], al
mov edx, dword [ebp - 0x120]
mov ecx, 0xa3a
push 1
call fcn.100134f0
add esp, 4
test al, al
jne 0x10038929
cmp byte [ebp - 0x171], al
je 0x10038942
mov edx, dword [ebp - 0x120]
mov ecx, 0x2a3b
push 1
call fcn.100134f0
add esp, 4
test al, al
je 0x10038942
cmp byte [ebp - 0x15c], 0
jne 0x10038942
cmp byte [ebp - 0x184], 0
mov byte [ebp - 0x174], 1
jne 0x10038949
mov byte [ebp - 0x174], 0
mov edx, dword [ebp - 0x120]
mov ecx, 0xa22
push 0
call fcn.100134f0
add esp, 4
mov byte [ebp - 0x191], al
test byte [esi + 8], 2
je 0x10038977
test byte [esi + 0xc], 1
mov byte [ebp - 0x12e], 1
jne 0x1003897e
mov byte [ebp - 0x12e], 0
push 1
xor edx, edx
mov ecx, 0x20d
call fcn.10011a50
add esp, 4
test al, al
jne 0x100389af
push 1
xor edx, edx
mov ecx, 0x267
call fcn.10011a50
add esp, 4
mov byte [ebp - 0x172], 0
test al, al
je 0x100389b6
mov byte [ebp - 0x172], 1
cmp byte [ebp - 0x12e], 0
je 0x100389f2
push 0
xor edx, edx
mov ecx, 0x26e
call fcn.10011a50
add esp, 4
test al, al
jne 0x100389e9
push 0
xor edx, edx
mov ecx, 0x26d
call fcn.10011a50
add esp, 4
test al, al
je 0x100389f2
mov byte [ebp - 0x10e], 1
jmp 0x100389f9
mov byte [ebp - 0x10e], 0
mov edx, dword [ebp - 0x120]
mov ecx, 0x20e
push 1
call fcn.100134f0
add esp, 4
test al, al
jne 0x10038a3c
cmp byte [ebp - 0x12e], al
je 0x10038a33
mov edx, dword [ebp - 0x120]
mov ecx, 0x26c
push 1
call fcn.100134f0
add esp, 4
test al, al
jne 0x10038a3c
mov byte [ebp - 0x12e], 0
jmp 0x10038a43
mov byte [ebp - 0x12e], 1
push 1
xor edx, edx
mov ecx, 0x201
call fcn.10011a50
add esp, 4
test al, al
je 0x10038aa8
cmp byte [ebp - 0x10d], 0
je 0x10038a68
mov eax, 0x200004
jmp 0x10038a7c
mov eax, 0x200000
mov ecx, 0x20000c
cmp byte [ebp - 0x119], 0
cmovne eax, ecx
mov ecx, dword [ebp - 0x114]
or ecx, eax
push ecx
lea edx, [edi + 0x40]
mov ecx, edi
call fcn.10035bd0
add esp, 4
mov byte [edi + 0xe70], 1
mov dword [edi + 0xe6c], 0xbe99999a
jmp 0x10039264
push 1
xor edx, edx
mov ecx, 0x202
call fcn.10011a50
add esp, 4
test al, al
je 0x10038ad7
cmp byte [ebp - 0x10d], 0
je 0x10038acd
mov eax, 0x200005
jmp 0x10038a7c
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x10038a72
push 1
xor edx, edx
mov ecx, 0x203
call fcn.10011a50
add esp, 4
test al, al
je 0x10038b56
cmp byte [ebp - 0x124], 0
je 0x10038b56
cmp byte [esi + 0xdd0], 0
je 0x10038b3c
mov eax, dword [ebp - 0x164]
movss xmm0, dword [eax + 0x78]
subss xmm0, dword [esi + 0x3bd0]
mov esi, eax
maxss xmm0, dword [0x10052320]
mov dword [esi + 0x90], 0
mov dword [esi + 0x98], 0
movss dword [esi + 0x88], xmm0
jmp 0x10039264
movzx eax, byte [ebp - 0x10d]
lea eax, [eax*4 + 0x200002]
or eax, dword [ebp - 0x114]
push eax
jmp 0x10038a85
push 1
xor edx, edx
mov ecx, 0x204
call fcn.10011a50
add esp, 4
test al, al
je 0x10038bde
cmp byte [ebp - 0x124], 0
je 0x10038bde
cmp byte [esi + 0xdd0], 0
je 0x10038bc4
mov ecx, dword [ebp - 0x164]
mov eax, dword [0x100b2c60]
movss xmm0, dword [ecx + 0x78]
addss xmm0, dword [esi + 0x3bd0]
mov eax, dword [eax + 0x3e48]
minss xmm0, dword [eax + 0x80]
mov dword [ecx + 0x90], 0
mov dword [ecx + 0x98], 0
movss dword [ecx + 0x88], xmm0
jmp 0x10039264
movzx eax, byte [ebp - 0x10d]
lea eax, [eax*4 + 0x200003]
or eax, dword [ebp - 0x114]
push eax
jmp 0x10038a85
push 1
xor edx, edx
mov ecx, 0x205
call fcn.10011a50
add esp, 4
test al, al
je 0x10038c53
cmp byte [ebp - 0x124], 0
je 0x10038c53
mov ecx, dword [ebp - 0x114]
lea edx, [edi + 0x40]
or ecx, 0x20000e
push ecx
mov ecx, edi
call fcn.10035bd0
movd xmm0, dword [ebp - 0x10c]
add esp, 4
movss xmm1, dword [ebp - 0x18c]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe70], 1
mov dword [edi + 0xe6c], 0xbe99999a
mulss xmm0, dword [esi + 0x3bd0]
subss xmm1, xmm0
movss dword [ebp - 0x18c], xmm1
jmp 0x10039264
push 1
xor edx, edx
mov ecx, 0x206
call fcn.10011a50
add esp, 4
test al, al
je 0x10038cc4
cmp byte [ebp - 0x124], 0
je 0x10038cc4
mov ecx, dword [ebp - 0x114]
lea edx, [edi + 0x40]
or ecx, 0x20000f
push ecx
mov ecx, edi
call fcn.10035bd0
movd xmm0, dword [ebp - 0x10c]
add esp, 4
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe70], 1
mov dword [edi + 0xe6c], 0xbe99999a
mulss xmm0, dword [esi + 0x3bd0]
addss xmm0, dword [ebp - 0x18c]
movss dword [ebp - 0x18c], xmm0
jmp 0x10039264
push 1
xor edx, edx
mov ecx, 0x207
call fcn.10011a50
add esp, 4
test al, al
je 0x10038cfb
mov ecx, dword [ebp - 0x114]
mov eax, ecx
or eax, 0x200006
or ecx, 0x200004
cmp byte [esi + 0xdd0], 0
cmovne ecx, eax
jmp 0x10038a84
push 1
xor edx, edx
mov ecx, 0x208
call fcn.10011a50
add esp, 4
test al, al
je 0x10038d32
mov ecx, dword [ebp - 0x114]
mov eax, ecx
or eax, 0x200007
or ecx, 0x200005
cmp byte [esi + 0xdd0], 0
cmovne ecx, eax
jmp 0x10038a84
push 1
xor edx, edx
mov ecx, 0x20a
call fcn.10011a50
add esp, 4
test al, al
je 0x10038d6a
cmp byte [ebp - 0x15c], 0
jne 0x10038d6a
cmp byte [ebp - 0x104], 0
jne 0x10038d6a
mov ecx, dword [ebp - 0x114]
or ecx, 0x200008
jmp 0x10038a84
push 1
xor edx, edx
mov ecx, 0x20b
call fcn.10011a50
add esp, 4
test al, al
je 0x10038df8
cmp byte [ebp - 0x15c], 0
jne 0x10038df8
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
jne 0x10038de7
cmp byte [ebp - 0x119], 0
je 0x10038da0
push 0x60000c
jmp 0x10038dc9
cmp byte [ebp - 0x171], 0
je 0x10038de7
cmp byte [esi + 0xdd3], 0
je 0x10038de7
cmp byte [esi + 0xdd2], 0
jne 0x10038de7
cmp byte [esi + 0xdd0], 0
jne 0x10038de7
push 0x600004
lea edx, [edi + 0x40]
mov ecx, edi
call fcn.10035bd0
mov dword [edi + 0xe6c], 0xbe99999a
add esp, 4
mov byte [edi + 0xe70], 1
mov ecx, dword [ebp - 0x114]
or ecx, 0x200009
jmp 0x10038a84
cmp byte [ebp - 0x172], 0
mov cl, byte [ebp - 0x10e]
jne 0x100391d0
test cl, cl
jne 0x100391d0
cmp byte [ebp - 0x12e], cl
je 0x10038e6c
test dword [ebp - 0x128], 0x100000
je 0x10038e4f
mov eax, dword [edi + 0xc]
test eax, eax
jg 0x10038e41
mov byte [ebp - 0x103], cl
mov byte [ebp - 0x102], cl
mov byte [ebp - 0x105], 1
setg dl
mov byte [ebp - 0x101], dl
jmp 0x1003926a
mov dl, 1
xor cl, cl
xor ch, ch
mov byte [ebp - 0x101], dl
mov byte [ebp - 0x105], dl
mov byte [ebp - 0x102], ch
jmp 0x10039276
mov al, byte [ebp - 0x173]
test al, al
jne 0x10039198
cmp byte [ebp - 0x174], al
jne 0x10039198
cmp byte [ebp - 0x191], al
je 0x10038eae
mov eax, dword [edi + 8]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0x56], 0
mov byte [edi + 0xe70], 1
jmp 0x10039264
mov al, byte [ebp - 0x104]
test al, al
jne 0x10039079
cmp byte [ebp - 0x17a], al
jne 0x10039079
cmp byte [ebp - 0x146], al
je 0x10039264
mov edx, dword [0x100b2c60]
mov eax, dword [edx + 0x80]
test eax, eax
je 0x10038f01
push dword [edx + 0x88]
call eax
mov esi, eax
add esp, 4
test esi, esi
je 0x10039264
mov edx, dword [0x100b2c60]
jmp 0x10038f06
mov esi, 0x1004c4e6
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x118], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038f11
sub ecx, dword [ebp - 0x118]
test edx, edx
je 0x10038f28
inc dword [edx + 0xb0]
push dword [0x100b2c58]
lea eax, [ecx*2 + 2]
push eax
call fcn.10005400
add esp, 8
mov dword [ebp - 0x184], eax
cmp byte [esi], 0
mov dword [ebp - 0x10c], 0
je 0x10038fb8
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0x12c]
call fcn.10006160
add esp, 4
add esi, eax
cmp dword [ebp - 0x12c], 0
je 0x10038fa6
mov edx, dword [ebp - 0x128]
lea ecx, [ebp - 0x12c]
push 4
sub esp, 8
call fcn.10036db0
add esp, 0xc
test al, al
je 0x10038fa1
mov ecx, dword [ebp - 0x184]
mov ax, word [ebp - 0x12c]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x10038f55
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x10c], edi
mov edi, dword [ebp - 0x168]
mov esi, dword [ebp - 0x10c]
xor ecx, ecx
mov word [eax + esi*2], cx
test esi, esi
jle 0x10039051
mov edx, dword [edi + 0x48]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x10c], edx
mov edx, dword [edi + 0x44]
cmp edx, dword [edi + 0x48]
je 0x10039002
cmp edx, ecx
jle 0x10038fe9
mov dword [edi + 0x44], ecx
mov edx, ecx
cmp dword [edi + 0x48], ecx
jle 0x10038ff7
mov dword [edi + 0x48], ecx
mov dword [ebp - 0x10c], ecx
cmp edx, dword [ebp - 0x10c]
jne 0x10039002
mov dword [edi + 0x40], edx
cmp dword [edi + 0x40], ecx
jle 0x1003900a
mov dword [edi + 0x40], ecx
lea edx, [edi + 0x40]
mov ecx, edi
call fcn.10035b40
mov edx, dword [edi + 0x40]
mov ecx, edi
push esi
push dword [ebp - 0x184]
call fcn.100356d0
add esp, 8
test al, al
je 0x10039044
mov edx, dword [edi + 0x40]
lea ecx, [edi + 0x60]
push esi
push 0
call fcn.100369f0
add esp, 8
mov byte [edi + 0x56], 0
add dword [edi + 0x40], esi
mov eax, dword [ebp - 0x184]
mov byte [edi + 0xe70], 1
test eax, eax
je 0x10039065
mov ecx, dword [0x100b2c60]
test ecx, ecx
je 0x10039065
dec dword [ecx + 0xb0]
push dword [0x100b2c58]
push eax
call fcn.10005420
add esp, 8
jmp 0x10039264
cmp dword [esi + 0x84], 0
je 0x1003914e
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x44]
cmp eax, ecx
je 0x1003909a
mov edx, ecx
cmovl ecx, eax
cmovge edx, eax
jmp 0x1003909f
mov edx, dword [edi + 8]
xor ecx, ecx
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x10c], edx
lea edx, [eax + edx*2]
lea ecx, [eax + ecx*2]
call fcn.100064a0
mov ecx, dword [0x100b2c60]
inc eax
mov dword [ebp - 0x118], eax
test ecx, ecx
je 0x100390d0
inc dword [ecx + 0xb0]
push dword [0x100b2c58]
push eax
call fcn.10005400
mov esi, dword [edi + 0x18]
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x12c], eax
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [ebp - 0x140]
lea ecx, [esi + ecx*2]
mov esi, eax
push ecx
mov ecx, esi
call fcn.10006430
mov eax, dword [0x100b2c60]
add esp, 0x10
mov ecx, dword [eax + 0x84]
test ecx, ecx
je 0x1003912b
push esi
push dword [eax + 0x88]
call ecx
mov eax, dword [0x100b2c60]
add esp, 8
test esi, esi
je 0x10039139
test eax, eax
je 0x10039139
dec dword [eax + 0xb0]
push dword [0x100b2c58]
push esi
call fcn.10005420
mov al, byte [ebp - 0x104]
add esp, 8
test al, al
je 0x10039264
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
jne 0x10039172
mov eax, dword [edi + 8]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0x56], 0
mov byte [edi + 0xe70], 1
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
je 0x10039264
lea edx, [edi + 0x40]
mov ecx, edi
call fcn.10035b40
mov byte [edi + 0x56], 0
jmp 0x10039264
movzx eax, al
lea edx, [edi + 0x40]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.10035bd0
mov eax, dword [edi + 0x40]
add esp, 4
mov byte [edi + 0xe70], 1
mov dword [edi + 0xe6c], 0xbe99999a
mov dword [edi + 0x48], eax
mov dword [edi + 0x44], eax
jmp 0x10039264
mov edx, dword [ebp - 0x128]
mov eax, edx
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x124], 0
je 0x100391f8
test cl, cl
jne 0x100391f8
mov cl, byte [esi + 0xdd0]
test al, al
je 0x10039224
test cl, cl
jne 0x10039228
cmp byte [esi + 0x64], 0
mov byte [ebp - 0x12d], 1
je 0x1003925d
cmp byte [ebp - 0x124], 0
jne 0x1003925d
mov eax, dword [edi + 8]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0x56], 0
jmp 0x10039264
test cl, cl
jne 0x100391f8
cmp byte [ebp - 0x15c], 0
jne 0x10039264
push 2
sub esp, 8
mov dword [ebp - 0x10c], 0xa
lea ecx, [ebp - 0x10c]
call fcn.10036db0
add esp, 0xc
test al, al
je 0x10039264
push dword [ebp - 0x10c]
jmp 0x10038a85
mov byte [ebp - 0x105], 1
mov dl, byte [ebp - 0x101]
mov cl, byte [ebp - 0x103]
mov ch, byte [ebp - 0x102]
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
je 0x10039286
test ch, ch
je 0x10039286
mov al, 1
jmp 0x10039288
xor al, al
or cl, al
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 0x103], cl
mov eax, dword [eax + 0x3e94]
xor esi, esi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x138], esi
cmp eax, dword [ebp - 0x120]
jne 0x10039996
test dl, dl
je 0x10039477
cmp byte [ebp - 0x15c], 0
jne 0x10039503
test dword [ebp - 0x128], 0x100000
je 0x1003935b
mov eax, dword [edi + 8]
lea ecx, [edi + 0x60]
push esi
push eax
xor edx, edx
mov dword [ebp - 0x114], 0x1004c4e6
mov dword [ebp - 0x118], eax
call fcn.100369f0
add esp, 8
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x10039332
mov edx, dword [ebp - 0x118]
xor ecx, ecx
test edx, edx
jle 0x10039332
mov esi, eax
nop dword [eax]
mov eax, dword [edi + 0x18]
mov ax, word [eax + ecx*2]
mov word [esi + ecx*2], ax
inc ecx
cmp ecx, edx
jl 0x10039320
xor esi, esi
push dword [edi + 8]
xor edx, edx
mov ecx, edi
call fcn.10035670
add esp, 4
mov dword [edi + 0x48], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x40], 0
jmp 0x10039484
mov ecx, dword [edi + 0x30]
mov eax, dword [ebp - 0x134]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10039384
test dl, dl
je 0x10039380
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10039384
add eax, 2
add ecx, 2
test dl, dl
jne 0x10039364
xor eax, eax
jmp 0x10039389
sbb eax, eax
or eax, 1
test eax, eax
je 0x10039484
mov eax, dword [edi + 0x28]
xor ecx, ecx
mov edx, dword [edi + 0x30]
dec eax
mov dword [ebp - 0x154], esi
xor esi, esi
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x150], ecx
mov dword [ebp - 4], ecx
test eax, eax
jle 0x1003941f
mov ecx, dword [ebp - 0x114]
add eax, edx
mov edx, eax
mov dword [ebp - 0x118], eax
call fcn.10006330
lea esi, [eax + 1]
test esi, esi
jle 0x100393f5
mov ecx, 8
mov eax, esi
cmp esi, ecx
cmovl eax, ecx
lea ecx, [ebp - 0x158]
push eax
call fcn.1001b470
mov ecx, dword [ebp - 0x150]
mov edx, esi
push 0
push dword [ebp - 0x118]
mov dword [ebp - 0x158], esi
push dword [ebp - 0x114]
call fcn.100062c0
mov ecx, dword [ebp - 0x150]
add esp, 0xc
xor edx, edx
lea eax, [esi - 1]
mov esi, dword [ebp - 0x138]
test esi, esi
cmovle eax, edx
lea edx, [edi + 0x40]
push eax
push ecx
mov ecx, edi
call fcn.10036d10
add esp, 8
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x1003946e
mov ecx, dword [0x100b2c60]
test ecx, ecx
je 0x1003945f
dec dword [ecx + 0xb0]
push dword [0x100b2c58]
push eax
call fcn.10005420
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x10039484
cmp byte [ebp - 0x15c], 0
jne 0x10039520
mov eax, dword [ebp - 0x114]
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x10]
mov byte [edi + 0x34], 1
mov dword [ebp - 0x138], esi
lea edx, [eax*4 + 1]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10c], edx
cmp edx, eax
jle 0x100394e8
test eax, eax
je 0x100394ca
cdq
sub eax, edx
mov edx, dword [ebp - 0x10c]
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x20]
jmp 0x100394cf
mov ecx, 8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
lea ecx, [edi + 0x1c]
push eax
call fcn.1001b3f0
mov edx, dword [ebp - 0x10c]
lea ecx, [edi + 0x1c]
mov dword [ecx], edx
mov ecx, dword [edi + 0x24]
push 0
push dword [edi + 0x18]
call fcn.10006430
add esp, 8
cmp byte [ebp - 0x101], 0
je 0x10039520
cmp byte [ebp - 0x12d], 0
je 0x10039899
mov eax, dword [ebp - 0x128]
test al, 0x20
je 0x10039899
jmp 0x10039526
mov eax, dword [ebp - 0x128]
test eax, 0x801c0
je 0x10039852
test al, 0x40
je 0x1003955f
push 1
xor edx, edx
mov ecx, 0x200
call fcn.10011a50
add esp, 4
test al, al
je 0x10039559
mov eax, 0x40
mov ecx, 0x200
jmp 0x100395d4
mov eax, dword [ebp - 0x128]
test al, al
jns 0x100395ab
push 1
xor edx, edx
mov ecx, 0x203
call fcn.10011a50
add esp, 4
test al, al
je 0x10039584
mov eax, 0x80
mov ecx, 0x203
jmp 0x100395d4
push 1
xor edx, edx
mov ecx, 0x204
call fcn.10011a50
add esp, 4
test al, al
je 0x100395a5
mov eax, 0x80
mov ecx, 0x204
jmp 0x100395d4
mov eax, dword [ebp - 0x128]
test eax, 0x80000
je 0x100395c2
cmp byte [edi + 0xe72], 0
je 0x100395c2
mov eax, 0x80000
jmp 0x100395d2
test eax, 0x100
je 0x10039852
mov eax, 0x100
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xc4], 0
mov word [ebp - 0xaf], dx
mov byte [ebp - 0xad], dl
mov dword [ebp - 0xc8], edx
cmp byte [ebp - 0x15c], dl
jne 0x10039616
mov eax, dword [edi + 0x24]
mov esi, dword [edi + 0x18]
mov dword [ebp - 0xbc], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xb8], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0xb4], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0xc0], ecx
mov ecx, esi
mov byte [ebp - 0xb0], dl
lea edx, [esi + eax*2]
call fcn.100064a0
mov ecx, dword [ebp - 0x168]
mov edi, eax
mov dword [ebp - 0xac], edi
mov ecx, dword [ecx + 0x44]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.100064a0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x48]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.100064a0
mov esi, eax
lea eax, [ebp - 0xd0]
push eax
xor eax, eax
mov dword [ebp - 0xa4], esi
call eax
mov cl, byte [ebp - 0xb0]
add esp, 4
mov edx, dword [ebp - 0xac]
mov byte [ebp - 0x10e], cl
cmp edx, edi
jne 0x100396b4
test cl, cl
je 0x100396df
mov ecx, dword [ebp - 0xbc]
add edx, ecx
call fcn.10006330
mov edi, dword [ebp - 0x168]
mov edx, dword [ebp - 0xac]
mov cl, byte [ebp - 0x10e]
mov dword [edi + 0x40], eax
mov byte [edi + 0xe70], 1
jmp 0x100396e5
mov edi, dword [ebp - 0x168]
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x118]
jne 0x100396f7
test cl, cl
je 0x1003971f
cmp eax, edx
jne 0x10039700
mov ecx, dword [edi + 0x40]
jmp 0x10039716
mov ecx, dword [ebp - 0xbc]
lea edx, [eax + ecx]
call fcn.10006330
mov ecx, eax
mov eax, dword [ebp - 0xa8]
mov dword [edi + 0x44], ecx
mov cl, byte [ebp - 0x10e]
mov edx, dword [ebp - 0xa4]
cmp edx, esi
jne 0x10039731
test cl, cl
je 0x1003984c
cmp edx, eax
jne 0x1003973a
mov eax, dword [edi + 0x44]
jmp 0x10039747
mov ecx, dword [ebp - 0xbc]
add edx, ecx
call fcn.10006330
cmp byte [ebp - 0x10e], 0
mov dword [edi + 0x48], eax
je 0x1003984c
push dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
mov ecx, edi
call fcn.10036f90
mov esi, dword [ebp - 0xb8]
add esp, 4
mov ecx, dword [ebp - 0x16c]
cmp esi, ecx
jle 0x100397bf
cmp byte [ebp - 0x178], 0
je 0x100397bf
mov eax, dword [edi + 0x14]
sub esi, ecx
add esi, dword [edi + 0x10]
cmp esi, eax
jle 0x100397bc
test eax, eax
je 0x100397a5
cdq
sub eax, edx
lea edx, [edi + 0x10]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100397ad
mov ecx, 8
lea edx, [edi + 0x10]
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1001b470
mov dword [edi + 0x10], esi
mov eax, dword [ebp - 0xbc]
mov ecx, dword [edi + 0x18]
mov esi, ecx
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 0x10]
dec eax
mov dword [ebp - 0x140], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x10c], eax
cmp ecx, eax
jae 0x1003982d
mov edi, dword [ebp - 0x118]
nop dword [eax]
cmp byte [edi], 0
je 0x10039821
push 0
mov edx, edi
lea ecx, [ebp - 0x118]
call fcn.10006160
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x10039821
mov word [esi], ax
add esi, 2
cmp esi, dword [ebp - 0x10c]
jb 0x100397f0
mov edi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x140]
xor eax, eax
mov word [esi], ax
sub esi, ecx
mov eax, dword [ebp - 0xb8]
sar esi, 1
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
mov dword [edi + 0xe6c], 0xbe99999a
mov esi, dword [ebp - 0x138]
cmp byte [ebp - 0x15c], 0
jne 0x10039899
mov ecx, dword [ebp - 0x134]
mov eax, dword [edi + 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10039884
test dl, dl
je 0x10039880
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10039884
add eax, 2
add ecx, 2
test dl, dl
jne 0x10039864
xor eax, eax
jmp 0x10039889
sbb eax, eax
or eax, 1
test eax, eax
je 0x10039899
mov esi, dword [edi + 0x24]
mov dword [ebp - 0x114], esi
mov esi, dword [edi + 0xc]
mov ecx, dword [ebp - 0x114]
test ecx, ecx
je 0x10039996
cmp byte [ebp - 0x178], 0
je 0x1003994f
mov eax, dword [ebp - 0x128]
xorps xmm0, xmm0
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xec], eax
lea eax, [esi + 1]
cmp dword [ebp - 0x144], eax
movlpd qword [ebp - 0xf4], xmm0
cmovge eax, dword [ebp - 0x144]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x100]
push eax
xor eax, eax
movlpd qword [ebp - 0xe0], xmm0
movlpd qword [ebp - 0xd8], xmm0
mov dword [ebp - 0x100], 0x40000
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xf8], 0
call eax
mov edx, dword [ebp - 0xe4]
add esp, 4
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x134], eax
lea esi, [edx - 1]
cmp dword [ebp - 0xe8], esi
cmovl esi, dword [ebp - 0xe8]
jmp 0x10039955
mov edx, dword [ebp - 0x144]
lea eax, [esi + 1]
cmp eax, edx
cmovl edx, eax
mov dword [ebp - 0x144], edx
cmp edx, 1
jb 0x1003998f
jbe 0x10039984
lea eax, [edx - 1]
push eax
push ecx
push dword [ebp - 0x134]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov edx, dword [ebp - 0x144]
add esp, 0xc
mov eax, dword [ebp - 0x134]
mov byte [edx + eax - 1], 0
mov byte [ebp - 0x145], 1
cmp byte [ebp - 0x105], 0
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x120]
je 0x100399be
cmp dword [esi + 0x3e94], eax
jne 0x100399be
call fcn.100087c0
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x124]
test dl, dl
jne 0x10039a95
push 1
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.100072c0
movss xmm1, dword [0x100523b8]
add esp, 4
mov ecx, 7
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
call fcn.100067e0
movss xmm2, dword [esi + 0x37dc]
mov dl, 1
mov ecx, eax
call fcn.10006eb0
movss xmm3, dword [ebp - 0x9c]
add esp, 0x10
movss xmm1, dword [ebp - 0x14c]
movaps xmm0, xmm3
addss xmm0, dword [ebp - 0x160]
movss xmm4, dword [ebp - 0x198]
movaps xmm6, xmm1
mov edx, dword [ebp - 0x124]
addss xmm6, xmm4
movss dword [ebp - 0x34], xmm1
addss xmm1, dword [esi + 0x37d4]
movss dword [ebp - 0x140], xmm0
movss dword [ebp - 0x28], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esi + 0x37d8]
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x16c], xmm6
movss dword [ebp - 0x2c], xmm6
movss dword [ebp - 0x154], xmm1
movss dword [ebp - 0x150], xmm0
jmp 0x10039afe
movss xmm0, dword [ebp - 0x14c]
movss xmm4, dword [ebp - 0x198]
movss xmm1, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x164]
movss dword [ebp - 0x34], xmm0
addss xmm0, xmm4
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x16c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [ebp - 0x160]
movss dword [ebp - 0x28], xmm0
mov eax, dword [ecx + 0xec]
mov ecx, dword [ecx + 0xf0]
movss dword [ebp - 0x140], xmm0
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], ecx
cmp byte [ebp - 0x179], 0
lea eax, [ebp - 0x154]
movss xmm0, dword [eax + 4]
xorps xmm6, xmm6
movss xmm2, dword [eax]
movss dword [ebp - 0x38], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x114], xmm2
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0x10c], xmm0
movss dword [ebp - 0x12c], xmm6
je 0x10039b49
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x134], ecx
jmp 0x10039b4f
mov ecx, dword [ebp - 0x134]
cmp byte [ebp - 0x102], 0
jne 0x10039c60
cmp byte [ebp - 0x103], 0
jne 0x10039c60
test dl, dl
je 0x10039bcf
mov eax, dword [ebp - 0x134]
xor ecx, ecx
mov dl, byte [eax]
lea edi, [eax + 1]
test dl, dl
je 0x10039b92
nop
cmp dl, 0xa
lea eax, [ecx + 1]
mov dl, byte [edi]
cmovne eax, ecx
inc edi
mov ecx, eax
test dl, dl
jne 0x10039b80
mov al, byte [edi - 1]
dec edi
mov dword [ebp - 0x170], edi
cmp al, 0xa
je 0x10039ba5
cmp al, 0xd
je 0x10039ba5
inc ecx
movd xmm0, ecx
mov ecx, dword [ebp - 0x134]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi + 0x3bd0]
movss dword [ebp - 0x12c], xmm0
movaps xmm0, xmm4
movss dword [ebp - 0x10c], xmm0
jmp 0x10039c13
mov eax, dword [ebp - 0x120]
cmp dword [esi + 0x3e94], eax
jne 0x10039be4
mov edi, dword [edi + 0xc]
add edi, ecx
jmp 0x10039bfe
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039be7
mov edi, dword [ebp - 0x134]
sub ecx, edx
add edi, ecx
mov ecx, dword [ebp - 0x134]
mov eax, edi
mov dword [ebp - 0x170], edi
sub eax, ecx
cmp eax, 0x200000
jge 0x1003a807
movss xmm1, dword [0x100523b8]
lea eax, [ebp - 0x34]
xor edx, edx
cmp byte [ebp - 0x124], dl
cmovne eax, edx
push eax
push ecx
mov dword [esp], edx
push edi
push ecx
xor ecx, ecx
call fcn.100067e0
movss xmm2, dword [esi + 0x3bd0]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x164]
push dword [esi + 0x3bcc]
mov ecx, dword [eax + 0x260]
call fcn.100260b0
jmp 0x1003a807
mov eax, dword [edi + 0xc]
xor edx, edx
mov dword [ebp - 0x190], eax
xorps xmm7, xmm7
add eax, ecx
movss dword [ebp - 0x118], xmm6
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0xfffffc18
mov dword [ebp - 0x138], 0xfffffc18
cmp byte [ebp - 0x102], dl
je 0x10039cd2
mov eax, dword [edi + 0x40]
mov edx, 1
mov dword [ebp - 0x180], 0xffffffff
lea eax, [ecx + eax*2]
mov dword [ebp - 0x178], eax
cmp byte [ebp - 0x103], 0
je 0x10039d05
mov ecx, dword [edi + 0x48]
cmp dword [edi + 0x44], ecx
mov eax, dword [ebp - 0x144]
cmovl ecx, dword [edi + 0x44]
inc edx
mov dword [ebp - 0x138], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x184], eax
mov esi, dword [ebp - 0x144]
mov eax, dword [ebp - 0x124]
movzx eax, al
add edx, eax
xor eax, eax
movzx esi, word [esi]
test si, si
mov esi, dword [ebp - 0x13c]
je 0x10039dad
mov esi, dword [ebp - 0x144]
mov edi, dword [ebp - 0x180]
movzx eax, word [esi]
xor esi, esi
nop dword [eax + eax]
cmp ax, 0xa
jne 0x10039d7b
inc esi
cmp edi, 0xffffffff
jne 0x10039d5f
cmp ecx, dword [ebp - 0x178]
jb 0x10039d5f
dec edx
mov dword [ebp - 0x180], esi
test edx, edx
jle 0x10039d95
cmp dword [ebp - 0x138], 0xffffffff
jne 0x10039d7b
cmp ecx, dword [ebp - 0x184]
jb 0x10039d7b
dec edx
mov dword [ebp - 0x138], esi
test edx, edx
jle 0x10039d95
movzx eax, word [ecx + 2]
add ecx, 2
mov edi, eax
mov dword [ebp - 0x14c], edi
mov edi, dword [ebp - 0x180]
test ax, ax
jne 0x10039d40
mov edi, dword [ebp - 0x168]
mov dword [ebp - 0x14c], esi
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x138]
inc eax
cmp dword [ebp - 0x180], 0xffffffff
mov edx, eax
mov dword [ebp - 0x14c], eax
cmovne edx, dword [ebp - 0x180]
cmp ecx, 0xffffffff
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x144]
cmove ecx, eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x138], ecx
mov ecx, eax
cmp eax, edx
jbe 0x10039e04
nop dword [eax + eax]
cmp word [ecx - 2], 0xa
je 0x10039dfe
add ecx, 0xfffffffe
cmp ecx, edx
ja 0x10039df0
mov eax, dword [ebp - 0x178]
mov edx, dword [esi + 0x3bcc]
movaps xmm1, xmm6
movss xmm4, dword [esi + 0x3bd0]
movaps xmm5, xmm6
movaps xmm3, xmm4
divss xmm3, dword [edx + 0x10]
cmp ecx, eax
jae 0x10039e80
movzx eax, word [ecx]
add ecx, 2
mov dword [ebp - 0x180], eax
mov esi, eax
cmp eax, 0xa
jne 0x10039e40
maxss xmm1, xmm5
movaps xmm5, xmm6
jmp 0x10039e6c
cmp esi, 0xd
je 0x10039e6c
movzx eax, ax
cmp eax, dword [edx]
jge 0x10039e5f
mov esi, dword [ebp - 0x180]
mov eax, dword [edx + 8]
movzx edi, si
movss xmm0, dword [eax + edi*4]
jmp 0x10039e64
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm3
addss xmm5, xmm0
cmp ecx, dword [ebp - 0x178]
jb 0x10039e24
mov edi, dword [ebp - 0x168]
mov esi, dword [ebp - 0x13c]
cmp dword [ebp - 0x138], 0
maxss xmm5, xmm1
movd xmm0, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x150], xmm5
mulss xmm0, xmm4
movss dword [ebp - 0x180], xmm0
jl 0x10039f5b
mov eax, dword [ebp - 0x184]
mov ecx, eax
cmp eax, dword [ebp - 0x144]
jbe 0x10039edd
mov esi, dword [ebp - 0x144]
cmp word [ecx - 2], 0xa
je 0x10039ed1
add ecx, 0xfffffffe
cmp ecx, esi
ja 0x10039ec3
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x184]
movaps xmm1, xmm6
movaps xmm7, xmm6
cmp ecx, eax
jae 0x10039f40
movzx eax, word [ecx]
add ecx, 2
mov dword [ebp - 0x18], eax
mov esi, eax
cmp eax, 0xa
jne 0x10039f00
maxss xmm1, xmm7
movaps xmm7, xmm6
jmp 0x10039f2c
cmp esi, 0xd
je 0x10039f2c
movzx eax, ax
cmp eax, dword [edx]
jge 0x10039f1c
mov esi, dword [ebp - 0x18]
mov eax, dword [edx + 8]
movzx edi, si
movss xmm2, dword [eax + edi*4]
jmp 0x10039f21
movss xmm2, dword [edx + 0xc]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm7, xmm0
cmp ecx, dword [ebp - 0x184]
jb 0x10039ee7
mov edi, dword [ebp - 0x168]
mov esi, dword [ebp - 0x13c]
movd xmm0, dword [ebp - 0x138]
maxss xmm7, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
movss dword [ebp - 0x118], xmm0
mov ecx, dword [ebp - 0x124]
movss xmm3, dword [ebp - 0x198]
test cl, cl
je 0x10039f8f
movd xmm2, dword [ebp - 0x14c]
movaps xmm0, xmm3
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0x10c], xmm0
mulss xmm2, xmm4
movss dword [ebp - 0x12c], xmm2
cmp byte [ebp - 0x102], 0
je 0x1003a0e9
cmp byte [edi + 0xe70], 0
je 0x1003a0e9
test dword [ebp - 0x128], 0x1000
jne 0x1003a001
movss xmm2, dword [edi + 0x3c]
movaps xmm0, xmm3
comiss xmm2, xmm5
mulss xmm0, dword [0x10052370]
movaps xmm1, xmm5
subss xmm3, dword [esi + 0x37d4]
jbe 0x10039fe2
subss xmm1, xmm0
movaps xmm0, xmm6
maxss xmm0, xmm1
jmp 0x10039fef
subss xmm1, xmm3
comiss xmm1, xmm2
jb 0x1003a008
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x3c], xmm0
jmp 0x1003a008
mov dword [edi + 0x3c], 0
test cl, cl
je 0x1003a0bb
movss xmm4, dword [ebp - 0x180]
movss xmm5, dword [ebp - 0x18c]
movaps xmm0, xmm4
subss xmm0, dword [esi + 0x3bd0]
movss xmm2, dword [esi + 0x37d8]
comiss xmm5, xmm0
jbe 0x1003a051
movaps xmm5, xmm6
maxss xmm5, xmm0
movss xmm0, dword [ebp - 0x160]
comiss xmm6, xmm5
jbe 0x1003a085
movaps xmm2, xmm6
jmp 0x1003a09d
movss xmm1, dword [ebp - 0x160]
movaps xmm3, xmm2
addss xmm3, xmm2
movaps xmm0, xmm4
subss xmm1, xmm3
subss xmm0, xmm1
comiss xmm0, xmm5
jb 0x1003a03f
movss xmm0, dword [ebp - 0x160]
movaps xmm5, xmm4
subss xmm5, xmm0
addss xmm5, xmm3
jmp 0x1003a047
addss xmm2, xmm2
addss xmm2, dword [ebp - 0x12c]
subss xmm2, xmm0
maxss xmm2, xmm6
minss xmm2, xmm5
mov eax, dword [ebp - 0x164]
movss xmm0, dword [eax + 0x78]
subss xmm0, xmm2
addss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x38], xmm0
movss dword [eax + 0x78], xmm2
mov byte [edi + 0xe70], 0
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x140], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x16c], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x114], xmm0
cmp byte [ebp - 0x103], 0
movss xmm5, dword [edi + 0x3c]
movss dword [ebp - 0x14c], xmm5
je 0x1003a447
mov edx, dword [edi + 0x48]
mov eax, edx
mov ecx, dword [edi + 0x44]
cmp ecx, edx
mov esi, dword [ebp - 0x144]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0x102], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x144]
lea edx, [eax + edx*2]
mov dword [ebp - 0x160], edx
je 0x1003a13e
movss xmm1, dword [0x100523b8]
jmp 0x1003a146
movss xmm1, dword [0x10052388]
mov ecx, 0x2f
call fcn.100067e0
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x18c], eax
test cl, cl
je 0x1003a175
xorps xmm0, xmm0
movss dword [ebp - 0x178], xmm0
movss dword [ebp - 0x184], xmm0
jmp 0x1003a198
movss xmm0, dword [0x10052590]
movss dword [ebp - 0x178], xmm0
movss xmm0, dword [0x10052410]
movss dword [ebp - 0x184], xmm0
xorps xmm0, xmm0
movss xmm3, dword [ebp - 0x38]
movss xmm6, dword [ebp - 0x114]
movss xmm5, dword [ebp - 0x14c]
addss xmm7, xmm6
addss xmm3, dword [ebp - 0x118]
subss xmm7, xmm5
subss xmm3, xmm0
movss dword [ebp - 0x118], xmm3
cmp esi, edx
jae 0x1003a401
mov ecx, dword [ebp - 0x13c]
movss xmm6, dword [ebp - 0x140]
movss xmm1, dword [ebp - 0x30]
movss xmm5, dword [ecx + 0x3bd0]
movaps xmm2, xmm5
nop
movaps xmm0, xmm6
addss xmm0, xmm2
comiss xmm3, xmm0
ja 0x1003a3eb
comiss xmm1, xmm3
jbe 0x1003a228
cmp esi, edx
jae 0x1003a3bc
nop dword [eax]
movzx eax, word [esi]
add esi, 2
cmp eax, 0xa
je 0x1003a3bc
cmp esi, edx
jb 0x1003a210
jmp 0x1003a3eb
xorps xmm0, xmm0
mov edx, dword [ecx + 0x3bcc]
xorps xmm4, xmm4
xorps xmm1, xmm1
divss xmm2, dword [edx + 0x10]
cmp esi, dword [ebp - 0x160]
jae 0x1003a2bc
nop dword [eax + eax]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x140], eax
mov edi, eax
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x168]
cmp eax, 0xa
je 0x1003a2af
cmp ax, 0xd
je 0x1003a2a5
movzx eax, ax
cmp eax, dword [edx]
jge 0x1003a298
mov ecx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
movzx edi, cx
mov ecx, dword [ebp - 0x13c]
movss xmm0, dword [eax + edi*4]
mov edi, dword [ebp - 0x168]
jmp 0x1003a29d
movss xmm0, dword [edx + 0xc]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, dword [ebp - 0x160]
jb 0x1003a250
jmp 0x1003a2b9
xorps xmm4, xmm4
maxss xmm4, xmm1
xorps xmm1, xmm1
xorps xmm0, xmm0
maxss xmm1, xmm4
comiss xmm0, xmm1
jb 0x1003a2ef
cmp dword [edx], 0x20
jle 0x1003a2d7
mov eax, dword [edx + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x1003a2dc
movss xmm0, dword [edx + 0xc]
mulss xmm0, dword [0x10052384]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp - 0x178]
addss xmm1, xmm7
movss xmm0, dword [ebp - 0x184]
subss xmm2, xmm5
addss xmm7, dword [0x10052320]
movss xmm4, dword [ebp - 0x16c]
addss xmm0, xmm3
minss xmm1, xmm4
addss xmm2, xmm3
maxss xmm7, dword [ebp - 0x34]
minss xmm0, xmm6
movss dword [ebp - 0x44], xmm1
maxss xmm2, dword [ebp - 0x30]
movss dword [ebp - 0x4c], xmm7
comiss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x48], xmm2
movss dword [ebp - 0x40], xmm0
jbe 0x1003a3b1
comiss xmm6, xmm2
jbe 0x1003a3b1
comiss xmm1, dword [ebp - 0x34]
jbe 0x1003a3b1
comiss xmm4, xmm7
jbe 0x1003a3b1
push 0
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x44]
push dword [ebp - 0x18c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 0x260]
call fcn.100255f0
movss xmm0, dword [ebp - 0x2c]
movss xmm1, dword [ebp - 0x3c]
movss xmm6, dword [ebp - 0x28]
movss xmm3, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x13c]
movss dword [ebp - 0x16c], xmm0
movss dword [ebp - 0x114], xmm1
movss xmm1, dword [ebp - 0x30]
mov edx, dword [ebp - 0x160]
movss xmm5, dword [ecx + 0x3bd0]
movss xmm7, dword [ebp - 0x114]
addss xmm3, xmm5
movaps xmm2, xmm5
subss xmm7, dword [ebp - 0x14c]
movss dword [ebp - 0x118], xmm3
cmp esi, edx
jb 0x1003a1f0
movss xmm5, dword [ebp - 0x14c]
movss xmm6, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x124]
mov esi, dword [ebp - 0x13c]
test cl, cl
jne 0x1003a41b
cmp dword [ebp - 0x190], 0x200000
jge 0x1003a676
mov eax, dword [0x100b2c60]
xorps xmm4, xmm4
movups xmm2, xmmword [eax + 0x386c]
comiss xmm4, xmm2
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x3798]
movups xmmword [ebp - 0x4c], xmm2
jbe 0x1003a451
xorps xmm0, xmm0
jmp 0x1003a45d
movss xmm6, dword [ebp - 0x114]
jmp 0x1003a407
movss xmm0, dword [0x100523b8]
minss xmm0, xmm2
movss xmm2, dword [0x10052538]
movss xmm7, dword [0x10052384]
movss xmm3, dword [ebp - 0x48]
comiss xmm4, xmm3
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si ecx, xmm0
jbe 0x1003a488
xorps xmm0, xmm0
jmp 0x1003a494
movss xmm0, dword [0x100523b8]
minss xmm0, xmm3
movss xmm3, dword [ebp - 0x44]
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
jbe 0x1003a4b4
xorps xmm0, xmm0
jmp 0x1003a4c0
movss xmm0, dword [0x100523b8]
minss xmm0, xmm3
mulss xmm0, xmm2
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm4, xmm1
jbe 0x1003a4db
xorps xmm0, xmm0
jmp 0x1003a4e7
movss xmm0, dword [0x100523b8]
minss xmm0, xmm1
mov edx, dword [ebp - 0x170]
subss xmm6, xmm5
mulss xmm0, xmm2
mov dword [ebp - 0x140], edx
mov edx, dword [esi + 0x3bcc]
movss xmm2, dword [esi + 0x3bd0]
addss xmm0, xmm7
movss dword [ebp - 0x188], xmm6
xorps xmm6, xmm6
mov dword [ebp - 0x118], edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x190], 0
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x38]
shl eax, 0x18
subss xmm0, xmm6
or eax, ecx
mov ecx, dword [ebp - 0x164]
cmp byte [ebp - 0x124], 0
mov dword [ebp - 0x16c], eax
cmovne edx, dword [ebp - 0x190]
mov ecx, dword [ecx + 0x260]
mov dword [ebp - 0x18], ecx
movss dword [ebp - 0x184], xmm0
test eax, 0xff000000
je 0x1003a679
cmp dword [ebp - 0x170], 0
jne 0x1003a5b0
mov ecx, dword [ebp - 0x134]
lea eax, [ecx + 1]
mov dword [ebp - 0x190], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a590
sub ecx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x134]
add eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x140], eax
jmp 0x1003a5b6
mov eax, dword [ebp - 0x140]
cmp dword [ebp - 0x134], eax
je 0x1003a679
cmp dword [esi + 0x3bcc], 0
jne 0x1003a5d7
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x118], eax
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x1003a5e8
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [ebp - 0x24], xmm0
test edx, edx
je 0x1003a63d
movss xmm1, dword [edx]
movss xmm0, dword [ebp - 0x24]
comiss xmm0, xmm1
jae 0x1003a607
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [ebp - 0x20]
comiss xmm0, xmm1
jae 0x1003a61b
movss dword [ebp - 0x20], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [ebp - 0x1c]
ja 0x1003a62b
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [ebp - 0x18]
ja 0x1003a63b
movss dword [ebp - 0x18], xmm0
test edx, edx
mov edx, dword [ebp - 0x140]
setne al
movzx eax, al
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x24]
push edx
push dword [ebp - 0x134]
push eax
push dword [ebp - 0x16c]
lea eax, [ebp - 0x188]
push eax
push ecx
mov ecx, dword [ebp - 0x118]
call fcn.1002be00
xorps xmm6, xmm6
cmp byte [ebp - 0x102], 0
je 0x1003a807
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [edi + 0xe6c]
movss dword [edi + 0xe6c], xmm0
cmp byte [esi + 0x63], 0
je 0x1003a6c4
comiss xmm6, xmm0
jae 0x1003a6c4
movss xmm1, dword [0x100523c0]
call fcn.10003b20
movss xmm1, dword [0x100523a4]
comiss xmm1, xmm0
jae 0x1003a6c4
xor cl, cl
jmp 0x1003a6c6
mov cl, 1
movss xmm0, dword [ebp - 0x150]
movss xmm6, dword [0x100523b8]
addss xmm0, dword [ebp - 0x3c]
subss xmm0, dword [ebp - 0x14c]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [ebp - 0x180]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x10052320]
movss dword [ebp - 0x150], xmm1
movaps xmm5, xmm1
movss dword [ebp - 0x4c], xmm1
addss xmm5, xmm6
cvttss2si eax, xmm0
movss dword [ebp - 0x44], xmm5
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [ebp - 0x190], xmm3
movaps xmm2, xmm3
movaps xmm4, xmm3
subss xmm2, dword [esi + 0x3bd0]
subss xmm4, dword [0x100523e0]
addss xmm2, dword [0x10052384]
movss dword [ebp - 0x40], xmm4
movss dword [ebp - 0x48], xmm2
test cl, cl
je 0x1003a7cf
comiss xmm4, dword [ebp - 0x30]
jbe 0x1003a7cf
movss xmm0, dword [ebp - 0x28]
comiss xmm0, xmm2
jbe 0x1003a7cf
comiss xmm5, dword [ebp - 0x34]
jbe 0x1003a7cf
movss xmm0, dword [ebp - 0x2c]
comiss xmm0, xmm1
jbe 0x1003a7cf
sub esp, 8
movss dword [ebp - 0x1c], xmm1
movaps xmm1, xmm6
movss dword [ebp - 0x18], xmm4
xor ecx, ecx
mov dword [esp + 4], 0x3f800000
call fcn.100067e0
add esp, 4
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 0x260]
call fcn.100254d0
movss xmm1, dword [ebp - 0x150]
movss xmm3, dword [ebp - 0x190]
movss xmm6, dword [0x100523b8]
cmp byte [ebp - 0x15c], 0
jne 0x1003a807
movss xmm0, dword [esi + 0x3bd0]
subss xmm1, xmm6
subss xmm3, xmm0
mov byte [esi + 0x59ec], 1
movss dword [esi + 0x59f8], xmm0
movss dword [esi + 0x59f0], xmm1
movss dword [esi + 0x59f4], xmm3
cmp byte [ebp - 0x19c], 0
je 0x1003a815
call fcn.100111b0
cmp byte [ebp - 0x124], 0
je 0x1003a930
mov ecx, dword [0x100b2c60]
movss xmm1, dword [ebp - 0x12c]
addss xmm1, dword [esi + 0x37d8]
movss xmm4, dword [ebp - 0x10c]
mov eax, dword [ecx + 0x3e48]
movss dword [ebp - 0x154], xmm4
movss dword [ebp - 0x150], xmm1
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xab], 0
jne 0x1003a8bf
movss xmm0, dword [eax + 0xf0]
lea ecx, [ebp - 0x154]
movss xmm3, dword [eax + 0xec]
movaps xmm2, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x4c], xmm3
movss xmm1, dword [0x10052590]
addss xmm4, xmm3
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0x44], xmm4
call fcn.10013680
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x4c]
call fcn.100137e0
add esp, 8
mov esi, dword [esi + 0x46a0]
mov eax, esi
mov edi, dword [ebp - 0x13c]
or eax, 0x401
mov dword [edi + 0x46a0], eax
call fcn.1000bba0
mov eax, dword [edi + 0x46c4]
mov ecx, dword [ebp - 0x88]
and eax, 0x80
or ecx, eax
mov dword [edi + 0x46a0], esi
mov dword [ebp - 0x150], ecx
call fcn.10013d60
mov esi, edi
cmp dword [esi + 0x46bc], 0
jne 0x1003a930
mov eax, dword [ebp - 0x120]
mov dword [esi + 0x46bc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esi + 0x46c0], eax
mov eax, dword [ebp - 0x150]
mov dword [esi + 0x46c4], eax
cmp byte [esi + 0x5a70], 0
je 0x1003a972
cmp byte [ebp - 0x19c], 0
jne 0x1003a972
mov eax, dword [0x100b2c60]
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x170]
mov edx, dword [ebp - 0x134]
mov dword [eax + 0x5a88], 0x10051a94
mov dword [eax + 0x5a8c], 0x10051a90
call fcn.100194f0
add esp, 4
movss xmm0, dword [ebp - 0x1a4]
comiss xmm0, dword [0x10052320]
jbe 0x1003a9d1
movss xmm0, dword [ebp - 0x98]
xor edx, edx
addss xmm0, dword [esi + 0x37ec]
mov ecx, dword [ebp - 0x1a0]
movss dword [ebp - 0x154], xmm0
movss xmm0, dword [ebp - 0x9c]
addss xmm0, dword [esi + 0x37d8]
movss dword [ebp - 0x150], xmm0
push dword [ebp - 0x150]
push dword [ebp - 0x154]
push 1
call fcn.10006a40
add esp, 0xc
mov dl, byte [ebp - 0x145]
mov ecx, dword [ebp - 0x128]
test dl, dl
je 0x1003a9fe
test ecx, 0x8000000
jne 0x1003a9fe
mov eax, dword [0x100b2c60]
or dword [eax + 0x46c4], 4
mov word [eax + 0x3ea4], 0x101
test cl, 0x20
movzx eax, dl
movzx ecx, byte [ebp - 0x12d]
cmovne eax, ecx
jmp 0x10037717