Function at 0x10169cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x103219a1
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1060b5e0]
cmp dword [eax + 0xaa8], 0
je case.default.0x1016a8e8
cmp byte [0x1060f8b8], 0
je case.default.0x1016a8e8
cmp byte [0x1060f8b9], 0
jne 0x10169d44
cmp byte [0x1060f8ba], 0
jne 0x10169d44
cmp byte [0x1060f8bb], 0
jne 0x10169d44
cmp byte [0x1060f8bc], 0
je case.default.0x1016a8e8
mov ecx, dword [0x1060b288]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je case.default.0x1016a8e8
mov ecx, dword [0x1060b288]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je case.default.0x1016a8e8
mov ecx, dword [0x1060b5e0]
mov eax, dword [ecx + 0xaa8]
test eax, eax
je case.default.0x1016a8e8
cmp byte [eax + 0x25f], 0
jne case.default.0x1016a8e8
mov edx, dword [eax + 0x25c]
cmp edx, 8
je 0x1016b183
cmp edx, 0xa
je 0x1016b183
cmp edx, 9
je 0x1016b183
test byte [ecx + 0x7ef4], 1
jne 0x1016b183
movss xmm0, dword [eax + 0x114]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [eax + 0x118]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [eax + 0x11c]
mov eax, dword [eax + 0x104]
and al, 1
movss dword [ebp - 0x18], xmm0
mov byte [ebp - 0x14], al
je 0x10169dfb
mov dword [ecx + 0x7eac], 0
mov eax, dword [0x1060c130]
mov esi, dword [0x1060c128]
inc eax
cmp esi, eax
ja 0x10169e17
push ecx
call fcn.101717f0
mov esi, dword [0x1060c128]
lea edi, [esi - 1]
mov eax, edi
and eax, dword [0x1060c12c]
mov dword [0x1060c12c], eax
cmovne esi, eax
mov eax, dword [0x1060c124]
dec esi
and edi, esi
cmp dword [eax + edi*4], 0
jne 0x10169e50
push 0x10
call fcn.102bb92a
mov ecx, dword [0x1060c124]
add esp, 4
mov dword [ecx + edi*4], eax
mov eax, dword [0x1060c124]
mov eax, dword [eax + edi*4]
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax], xmm0
mov ecx, dword [0x1060c130]
mov dword [0x1060c12c], esi
lea eax, [ecx + 1]
mov dword [0x1060c130], eax
cmp eax, 2
jbe 0x10169e83
mov dword [0x1060c130], ecx
test ecx, ecx
jne 0x10169e83
mov dword [0x1060c12c], ecx
mov eax, dword [0x1060b320]
test eax, eax
je 0x10169e97
dec eax
mov dword [0x1060b320], eax
jmp case.default.0x1016a8e8
mov eax, dword fs:[0x2c]
mov ecx, dword [0x104c14e0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x106122a8]
cmp eax, dword [ecx + 4]
jg 0x1016b1b9
mov ecx, dword [0x106122ac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x90], eax
call dword [ebp - 0x90]
cmp dword [0x1060c130], 2
mov eax, dword [0x1060b290]
fstp dword [ebp - 0x90]
movss xmm0, dword [ebp - 0x90]
mulss xmm0, dword [eax + 0x20]
mulss xmm0, dword [0x1041f188]
movss dword [ebp - 0xa4], xmm0
jne case.default.0x1016a8e8
mulss xmm0, dword [0x1041efec]
push ecx
movss dword [ebp - 0x90], xmm0
fld dword [ebp - 0x90]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
add esp, 4
fstp dword [ebp - 0x98]
push 0
call fcn.10171230
push ecx
movss xmm0, dword [eax + 8]
mulss xmm0, dword [0x1041efec]
movss dword [ebp - 0x90], xmm0
fld dword [ebp - 0x90]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm0, dword [ebp - 0x98]
add esp, 4
fstp dword [ebp - 0x90]
ucomiss xmm0, dword [ebp - 0x90]
lahf
test ah, 0x44
jp 0x10169fa3
push 1
call fcn.10171230
movss xmm0, dword [ebp - 0xa4]
comiss xmm0, dword [eax + 8]
jbe 0x10169fa3
push 1
call fcn.10171230
cmp byte [eax + 0xc], 0
jne 0x10169fa3
push 0
call fcn.10171230
cmp byte [eax + 0xc], 0
je 0x10169fbc
mov eax, dword [0x1060b5e0]
mov ecx, dword [eax + 0x7fb0]
mov eax, dword [0x1060b290]
cmp ecx, dword [eax + 0x1c]
jne case.default.0x1016a8e8
mov ecx, dword [0x1060b5e0]
mov dword [0x1060b320], 2
inc dword [ecx + 0x7ea8]
inc dword [ecx + 0x7eac]
mov eax, dword [0x1060b290]
mov eax, dword [eax]
mov dword [ecx + 0x7eb0], eax
cmp byte [0x1060f8ba], 0
je 0x1016a892
cmp byte [0x104b1930], 0
mov eax, dword [0x1060b254]
mov dword [ebp - 0x90], eax
jne 0x1016a31d
mov edi, dword [0x104b1944]
mov edx, edi
mov eax, dword [0x104b1940]
xor edx, 0xd28f2c5
xor eax, 0x1de26cd5
mov byte [0x104b1930], 1
mov dword [ebp - 0x8c], eax
mov ecx, edx
shld ecx, eax, 0xd
mov esi, dword [ebp - 0x8c]
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0x8c], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104b1931]
xor al, cl
mov ecx, edx
mov byte [0x104b1931], al
mov eax, dword [0x104b1940]
xor eax, 0x1de26cd4
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x8c]
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0x8c], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104b1932]
xor al, cl
mov ecx, edx
mov byte [0x104b1932], al
mov eax, dword [0x104b1940]
xor eax, 0x1de26cd7
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x8c]
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0x8c], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor al, byte [0x104b1933]
xor al, cl
mov byte [0x104b1933], al
mov eax, dword [0x104b1940]
xor eax, 0x1de26cd6
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x8c]
xor edx, 0xd28f2c5
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0x8c], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104b1934]
xor al, cl
mov ecx, edx
mov byte [0x104b1934], al
mov eax, dword [0x104b1940]
xor eax, 0x1de26cd1
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x8c]
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0x8c], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104b1935]
xor al, cl
mov ecx, edx
mov byte [0x104b1935], al
mov eax, dword [0x104b1940]
xor eax, 0x1de26cd0
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x8c]
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0x8c], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104b1936]
xor al, cl
mov ecx, edx
mov byte [0x104b1936], al
mov eax, dword [0x104b1940]
xor eax, 0x1de26cd3
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x8c]
shld ecx, eax, 0xd
shl eax, 0xd
xor esi, eax
xor edx, ecx
mov eax, esi
mov ecx, edx
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0x8c], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
xor edi, 0xd28f2c5
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104b1937]
xor al, cl
mov ecx, edx
mov byte [0x104b1937], al
mov eax, dword [0x104b1940]
xor eax, 0x1de26cd2
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x8c]
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0x8c], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, dword [0x104b1940]
shl eax, 0x11
xor edx, 0x1de26cdd
xor al, byte [0x104b1938]
xor al, cl
mov ecx, edi
mov byte [0x104b1938], al
mov eax, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edi, ecx
xor edx, eax
mov ecx, edi
mov eax, edx
shrd eax, ecx, 7
xor edx, eax
shr ecx, 7
xor edi, ecx
mov eax, edx
shld edi, eax, 0x11
shl eax, 0x11
xor al, byte [0x104b1939]
xor al, dl
mov byte [0x104b1939], al
push ecx
push 0x104b1939
push 0x104b1931
lea ecx, [ebp - 0x70]
call fcn.1001a620
mov dword [ebp - 4], 2
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
mov ecx, dword [0x1060b258]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [ebp - 0x90]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x94], esi
call fcn.10019dd0
test esi, esi
je 0x1016a892
mov ecx, dword [0x1060b5e0]
mov eax, dword [ecx + 0x7eac]
mov dword [ebp - 0x90], eax
dec eax
cmp eax, 4
ja case.default.0x1016a38a
jmp dword [eax*4 + 0x1016b2bc]
cmp byte [0x104b1610], 0
mov eax, dword [ecx + 0x7ea8]
mov dword [ebp - 0x90], eax
jne 0x1016a424
mov byte [0x104b1610], 1
xor edi, edi
nop
xor edx, edx
mov eax, edi
xor eax, dword [0x104b1638]
xor edx, dword [0x104b163c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x8c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x8c], eax
mov ecx, edx
mov eax, dword [ebp - 0x8c]
shrd eax, ecx, 7
xor dword [ebp - 0x8c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x8c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x8c]
xor cl, byte [edi + 0x104b1611]
mov byte [edi + 0x104b1611], cl
inc edi
cmp edi, 0x22
jb 0x1016a3b0
mov esi, dword [ebp - 0x94]
push ecx
push 0x104b1632
push 0x104b1611
lea ecx, [ebp - 0x40]
call fcn.1001a620
push dword [ebp - 0x90]
mov dword [ebp - 4], 3
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push 0
push 0
push esi
call fcn.100333f0
add esp, 0x14
jmp 0x1016a883
cmp byte [0x104b17b0], 0
mov eax, dword [ecx + 0x7ea8]
mov dword [ebp - 0x90], eax
jne 0x1016a4f4
mov byte [0x104b17b0], 1
xor edi, edi
xor edx, edx
mov eax, edi
xor eax, dword [0x104b17e0]
xor edx, dword [0x104b17e4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x8c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x8c], eax
mov ecx, edx
mov eax, dword [ebp - 0x8c]
shrd eax, ecx, 7
xor dword [ebp - 0x8c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x8c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x8c]
xor cl, byte [edi + 0x104b17b1]
mov byte [edi + 0x104b17b1], cl
inc edi
cmp edi, 0x2e
jb 0x1016a480
mov esi, dword [ebp - 0x94]
push ecx
push 0x104b17de
push 0x104b17b1
lea ecx, [ebp - 0x40]
call fcn.1001a620
push dword [ebp - 0x90]
mov dword [ebp - 4], 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push 0
push 0
push esi
call fcn.100333f0
add esp, 0x14
jmp 0x1016a883
cmp byte [0x104b16a0], 0
mov eax, dword [ecx + 0x7ea8]
mov dword [ebp - 0x90], eax
jne 0x1016a5c4
mov byte [0x104b16a0], 1
xor edi, edi
xor edx, edx
mov eax, edi
xor eax, dword [0x104b16d0]
xor edx, dword [0x104b16d4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x8c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x8c], eax
mov ecx, edx
mov eax, dword [ebp - 0x8c]
shrd eax, ecx, 7
xor dword [ebp - 0x8c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x8c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x8c]
xor cl, byte [edi + 0x104b16a1]
mov byte [edi + 0x104b16a1], cl
inc edi
cmp edi, 0x2e
jb 0x1016a550
mov esi, dword [ebp - 0x94]
push ecx
push 0x104b16ce
push 0x104b16a1
lea ecx, [ebp - 0x40]
call fcn.1001a620
push dword [ebp - 0x90]
mov dword [ebp - 4], 5
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push 0
push 0
push esi
call fcn.100333f0
add esp, 0x14
jmp 0x1016a883
cmp byte [0x104b1800], 0
mov eax, dword [ecx + 0x7ea8]
mov dword [ebp - 0x90], eax
jne 0x1016a698
mov byte [0x104b1800], 1
xor edi, edi
xor edx, edx
mov eax, edi
xor eax, dword [0x104b1830]
xor edx, dword [0x104b1834]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x8c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x8c], eax
mov ecx, edx
mov eax, dword [ebp - 0x8c]
shrd eax, ecx, 7
xor dword [ebp - 0x8c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x8c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x8c]
xor cl, byte [edi + 0x104b1801]
mov byte [edi + 0x104b1801], cl
inc edi
cmp edi, 0x2e
jb 0x1016a624
mov esi, dword [ebp - 0x94]
push ecx
push 0x104b182e
push 0x104b1801
lea ecx, [ebp - 0x40]
call fcn.1001a620
push dword [ebp - 0x90]
mov dword [ebp - 4], 6
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push 0
push 0
push esi
call fcn.100333f0
add esp, 0x14
jmp 0x1016a883
cmp byte [0x104b1640], 0
mov eax, dword [ecx + 0x7ea8]
mov dword [ebp - 0x90], eax
jne 0x1016a774
mov byte [0x104b1640], 1
xor edi, edi
nop dword [eax + eax]
xor edx, edx
mov eax, edi
xor eax, dword [0x104b1670]
xor edx, dword [0x104b1674]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x8c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x8c], eax
mov ecx, edx
mov eax, dword [ebp - 0x8c]
shrd eax, ecx, 7
xor dword [ebp - 0x8c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x8c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x8c]
xor cl, byte [edi + 0x104b1641]
mov byte [edi + 0x104b1641], cl
inc edi
cmp edi, 0x2e
jb 0x1016a700
mov esi, dword [ebp - 0x94]
push ecx
push 0x104b166e
push 0x104b1641
lea ecx, [ebp - 0x40]
call fcn.1001a620
push dword [ebp - 0x90]
mov dword [ebp - 4], 7
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push 0
push 0
push esi
call fcn.100333f0
add esp, 0x14
jmp 0x1016a883
cmp byte [0x104b1440], 0
mov eax, dword [ecx + 0x7ea8]
mov dword [ebp - 0x98], eax
jne 0x1016a844
mov byte [0x104b1440], 1
xor edi, edi
xor edx, edx
mov eax, edi
xor eax, dword [0x104b1470]
xor edx, dword [0x104b1474]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x8c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x8c], eax
mov ecx, edx
mov eax, dword [ebp - 0x8c]
shrd eax, ecx, 7
xor dword [ebp - 0x8c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x8c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x8c]
xor cl, byte [edi + 0x104b1441]
mov byte [edi + 0x104b1441], cl
inc edi
cmp edi, 0x2f
jb 0x1016a7d0
mov esi, dword [ebp - 0x94]
push ecx
push 0x104b146f
push 0x104b1441
lea ecx, [ebp - 0x40]
call fcn.1001a620
push dword [ebp - 0x90]
mov dword [ebp - 4], 8
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
push dword [ebp - 0x98]
cmovae eax, dword [ebp - 0x40]
push eax
push 0
push 0
push esi
call fcn.100333f0
add esp, 0x18
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10019dd0
cmp byte [0x1060f8b9], 0
je 0x1016a8d2
mov eax, dword [0x1060b290]
mov ecx, dword [0x1060b5e0]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x1041edc4]
mov ecx, dword [ecx + 0xaa8]
movss dword [ebp - 0x90], xmm0
call fcn.100c0d70
movss xmm0, dword [ebp - 0x90]
movss dword [eax], xmm0
mov eax, dword [0x1060f8bc]
test al, al
je case.default.0x1016a8e8
cmp eax, 5
ja case.default.0x1016a8e8
jmp dword [eax*4 + 0x1016b2d0]
cmp byte [0x104b1530], 0
mov eax, dword [0x1060b288]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c8]
mov dword [ebp - 0x90], eax
jne 0x1016a982
mov byte [0x104b1530], 1
xor edi, edi
xor edx, edx
mov eax, edi
xor eax, dword [0x104b1558]
xor edx, dword [0x104b155c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x8c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x8c], eax
mov ecx, edx
mov eax, dword [ebp - 0x8c]
shrd eax, ecx, 7
xor dword [ebp - 0x8c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x8c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x8c]
xor cl, byte [edi + 0x104b1531]
mov byte [edi + 0x104b1531], cl
inc edi
cmp edi, 0x27
jb 0x1016a914
push ecx
push 0x104b1557
push 0x104b1531
lea ecx, [ebp - 0x40]
call fcn.1001a620
mov dword [ebp - 4], 9
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov ecx, dword [0x1060b288]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call dword [ebp - 0x90]
lea ecx, [ebp - 0x40]
call fcn.10019dd0
jmp case.default.0x1016a8e8
cmp byte [0x104b1590], 0
mov eax, dword [0x1060b288]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c8]
mov dword [ebp - 0x90], eax
jne 0x1016aa5e
mov byte [0x104b1590], 1
xor edi, edi
nop dword [eax + eax]
xor edx, edx
mov eax, edi
xor eax, dword [0x104b15b0]
xor edx, dword [0x104b15b4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x8c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x8c], eax
mov ecx, edx
mov eax, dword [ebp - 0x8c]
shrd eax, ecx, 7
xor dword [ebp - 0x8c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x8c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x8c]
xor cl, byte [edi + 0x104b1591]
mov byte [edi + 0x104b1591], cl
inc edi
cmp edi, 0x1a
jb 0x1016a9f0
push ecx
push 0x104b15aa
push 0x104b1591
lea ecx, [ebp - 0x40]
call fcn.1001a620
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov ecx, dword [0x1060b288]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call dword [ebp - 0x90]
lea ecx, [ebp - 0x40]
call fcn.10019dd0
jmp case.default.0x1016a8e8
push 5
push 0
push str.RIFFJ
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp case.default.0x1016a8e8
push 5
push 0
push str.RIFF
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp case.default.0x1016a8e8
push 5
push 0
push 0x103f7f70
call dword [sym.imp.WINMM.dll_PlaySoundA]
jmp case.default.0x1016a8e8
mov ecx, 0x1060f8c0
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016aaf8
sub ecx, edx
push ecx
push 0x1060f8c0
lea ecx, [ebp - 0x58]
call fcn.1001a920
mov dword [ebp - 4], 0xc
xor eax, eax
mov edx, dword [ebp - 0x58]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov esi, 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x48]
xor edi, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x14], esi
test eax, eax
je 0x1016b0a3
or ecx, 0xffffffff
nop dword [eax + eax]
mov esi, edi
inc ecx
inc edi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], ecx
cmp eax, esi
jbe 0x1016b2b7
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, edx
setae byte [ebp - 0x99]
mov al, byte [eax + esi]
mov esi, dword [ebp - 0x94]
mov byte [ebp - 0xa5], al
movzx eax, al
shr eax, 4
cmp eax, 0xe
ja case.0x1016ab9e.8
movzx eax, byte [eax + 0x1016b2f8]
jmp dword [eax*4 + 0x1016b2e8]
cmp dword [ebp - 0x48], ecx
jbe 0x1016b2b7
cmp byte [ebp - 0x99], 0
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x58]
cmovne eax, edx
movsx ax, byte [eax + ecx]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xa0], ecx
movzx eax, ax
mov dword [ebp - 0x98], eax
cmp ecx, esi
jae 0x1016abff
lea eax, [ecx + 1]
cmp esi, 8
mov esi, dword [ebp - 0x98]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + ecx*2], si
xor esi, esi
mov word [eax + ecx*2 + 2], si
jmp 0x1016b089
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x1016b2b2
lea eax, [ecx + 1]
mov ecx, eax
mov dword [ebp - 0x90], eax
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x1016ac2c
mov ecx, 0x7ffffffe
jmp 0x1016ac4a
mov edx, esi
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x1016ac42
mov ecx, 0x7ffffffe
jmp 0x1016ac4a
lea eax, [edx + esi]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x94], ecx
push eax
call fcn.1002ce60
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
lea edx, [ecx + ecx]
mov dword [ebp - 0x90], edx
push edx
cmp esi, 8
jb 0x1016acf6
mov ecx, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x94], ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xa4]
lea esi, [esi*2 + 2]
mov ecx, dword [ebp - 0x90]
add esp, 0xc
mov edx, dword [ebp - 0x98]
mov word [eax + ecx], dx
xor edx, edx
mov word [eax + ecx + 2], dx
mov eax, dword [ebp - 0x94]
cmp esi, 0x1000
jb 0x1016ace1
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016b17d
mov eax, ecx
push esi
push eax
call fcn.102bb95a
mov eax, dword [ebp - 0xa4]
add esp, 8
jmp 0x1016b083
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x98]
jmp 0x1016b06f
mov eax, edi
inc ecx
inc edi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x48], eax
jbe 0x1016b2b7
cmp byte [ebp - 0x99], 0
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xa0]
cmovne eax, edx
mov al, byte [eax + ecx]
mov ah, byte [ebp - 0xa5]
and al, 0x3f
and ah, 0x1f
movzx ecx, ah
shl cx, 6
movzx eax, al
or cx, ax
movzx eax, cx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
cmp ecx, esi
jae 0x1016ad97
lea eax, [ecx + 1]
cmp esi, 8
mov esi, dword [ebp - 0x94]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + ecx*2], si
xor esi, esi
mov word [eax + ecx*2 + 2], si
jmp 0x1016b089
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x1016b2b2
lea eax, [ecx + 1]
mov ecx, eax
mov dword [ebp - 0xa0], eax
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x1016adc4
mov ecx, 0x7ffffffe
jmp 0x1016ade2
mov edx, esi
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x1016adda
mov ecx, 0x7ffffffe
jmp 0x1016ade2
lea eax, [edx + esi]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x98], ecx
push eax
call fcn.1002ce60
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0xa4], eax
lea edx, [ecx + ecx]
mov dword [ebp - 0x98], edx
push edx
cmp esi, 8
jb 0x1016ae8e
mov ecx, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x90], ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xa4]
lea esi, [esi*2 + 2]
mov ecx, dword [ebp - 0x98]
add esp, 0xc
mov edx, dword [ebp - 0x94]
mov word [eax + ecx], dx
xor edx, edx
mov word [eax + ecx + 2], dx
mov eax, dword [ebp - 0x90]
cmp esi, 0x1000
jb 0x1016ae79
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016b17d
mov eax, ecx
push esi
push eax
call fcn.102bb95a
mov eax, dword [ebp - 0xa4]
add esp, 8
jmp 0x1016b083
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x98]
jmp 0x1016b069
mov edx, dword [ebp - 0x48]
mov eax, edi
mov dword [ebp - 0xa0], eax
cmp edx, eax
jbe 0x1016b2b7
cmp byte [ebp - 0x99], 0
lea eax, [ebp - 0x58]
mov esi, edi
cmovne eax, dword [ebp - 0x58]
add ecx, 2
mov dword [ebp - 0x8c], ecx
mov al, byte [eax + esi]
mov esi, dword [ebp - 0x94]
mov byte [ebp - 0xa6], al
lea eax, [edi + 1]
add edi, 2
mov dword [ebp - 0xa0], eax
cmp edx, eax
jbe 0x1016b2b7
cmp byte [ebp - 0x99], 0
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0xa0]
cmovne eax, dword [ebp - 0x58]
mov dl, byte [eax + edx]
mov al, byte [ebp - 0xa6]
and dl, 0x3f
and al, 0x3f
movzx ecx, al
movzx eax, byte [ebp - 0xa5]
shl ax, 6
or cx, ax
movzx eax, dl
shl cx, 6
or cx, ax
movzx edx, cx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], ecx
cmp ecx, esi
jae 0x1016af65
lea eax, [ecx + 1]
cmp esi, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x1016b086
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x1016b2b2
lea eax, [ecx + 1]
mov ecx, eax
mov dword [ebp - 0xa0], eax
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x1016af92
mov ecx, 0x7ffffffe
jmp 0x1016afb0
mov edx, esi
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x1016afa8
mov ecx, 0x7ffffffe
jmp 0x1016afb0
lea eax, [esi + edx]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x98], ecx
push eax
call fcn.1002ce60
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0xa4], eax
lea edx, [ecx + ecx]
mov dword [ebp - 0x98], edx
push edx
cmp esi, 8
jb 0x1016b059
mov ecx, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x90], ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xa4]
lea esi, [esi*2 + 2]
mov ecx, dword [ebp - 0x98]
add esp, 0xc
mov edx, dword [ebp - 0x94]
mov word [eax + ecx], dx
xor edx, edx
mov word [eax + ecx + 2], dx
mov eax, dword [ebp - 0x90]
cmp esi, 0x1000
jb 0x1016b047
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016b17d
mov eax, ecx
push esi
push eax
call fcn.102bb95a
mov eax, dword [ebp - 0xa4]
add esp, 8
jmp 0x1016b083
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xa4]
add esp, 0xc
mov word [eax + ecx], dx
xor edx, edx
mov word [eax + ecx + 2], dx
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x94], esi
mov eax, dword [ebp - 0x48]
cmp edi, eax
jb 0x1016ab50
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
mov edx, dword [0x1060b5e0]
lea ecx, [ebp - 0x88]
push eax
lea edx, [edx + 0x7edc]
call fcn.1002c7d0
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 8
jb 0x1016b0ff
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1016b0f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016b17d
push ecx
push edx
call fcn.102bb95a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], 7
cmp eax, 0x10
jb 0x1016b151
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x58]
mov edx, eax
cmp ecx, 0x1000
jb 0x1016b147
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0xa0], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1016b17d
mov eax, dword [ebp - 0xa0]
push ecx
push eax
call fcn.102bb95a
add esp, 8
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push 0x20001
cmovae eax, dword [ebp - 0x88]
push 0
push eax
call dword [sym.imp.WINMM.dll_PlaySoundW]
lea ecx, [ebp - 0x88]
call fcn.1002c340
jmp case.default.0x1016a8e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, 0x1060c120
call fcn.1006c2f0
mov eax, dword [0x1060b5e0]
mov dword [eax + 0x7eac], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102bb91c
mov esp, ebp
pop ebp
ret 4
push 0x106122a8
call fcn.102bba07
add esp, 4
cmp dword [0x106122a8], 0xffffffff
jne 0x10169eb7
mov dword [ebp - 4], 0
cmp byte [0x104b16e0], 0
jne 0x1016b25c
mov byte [0x104b16e0], 1
xor edi, edi
jmp 0x1016b1f0
xor edx, edx
mov eax, edi
xor eax, dword [0x104b16f0]
xor edx, dword [0x104b16f4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x8c]
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
shr ecx, 7
xor esi, eax
xor edx, ecx
mov dword [ebp - 0x8c], esi
mov ecx, esi
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [edi + 0x104b16e1]
xor cl, byte [ebp - 0x8c]
mov byte [edi + 0x104b16e1], cl
inc edi
cmp edi, 0xb
jb 0x1016b1f0
jmp 0x1016b25c
push ecx
push 0x104b16eb
push 0x104b16e1
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
mov ecx, dword [0x1060b27c]
cmp dword [ebp - 0x14], 0x10
cmovae edx, dword [ebp - 0x28]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x40]
call eax
lea ecx, [ebp - 0x28]
mov dword [0x106122ac], eax
call fcn.10019dd0
push 0x106122a8
mov dword [ebp - 4], 0xffffffff
call fcn.102bb9b6
add esp, 4
jmp 0x10169eb7
call fcn.10014bf0
call fcn.1002c680
xchg ecx, eax
mov dword [-1537077226], eax
push ss
adc byte [edx], dh
movsd dword es:[edi], dword [esi]
push ss
adc byte [edx], al
cmpsb byte [esi], byte es:[edi]
push ss
adc dh, dl
cmpsb byte [esi], byte es:[edi]
push ss
adc bh, ch
test al, 0x16
adc bl, al
test eax, 0xaa9f1016
push ss
adc byte [ebx - 0x38efe956], dh
stosb byte es:[edi], al
push ss
adc bl, bl
stosb byte es:[edi], al
push ss
adc byte [ebp + 0x111016ab], ah
lodsd eax, dword [esi]
push ss
adc byte [ebx - 0x67efe952], ah
mov al, 0x16
adc byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ecx]
add dword [edx], eax
int3