Function at 0x10017010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100237fb
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push edi
push 1
push 0x1003ef28
call esi
cmp eax, 1
jne 0x1001705b
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call edi
push 1
push 0x1003ef28
call esi
cmp eax, 1
je 0x10017049
mov eax, dword [esp + 0x180]
mov ebx, dword [esp + 0x17c]
xor edx, edx
cmp eax, edx
je 0x1001707a
shl ebx, 8
lea ebp, [ebx + 0x1003d828]
jmp 0x10017083
shl ebx, 8
lea ebp, [ebx + 0x1003e328]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x100170a0
push edx
push 0x1003ef28
call esi
mov eax, ebp
jmp 0x1001730b
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x6d]
mov byte [esp + 0x10], 0x54
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x11], 0x53
mov byte [esp + 0x12], 0x56
mov byte [esp + 0x13], 0x4e
mov byte [esp + 0x14], 0
lea ebp, [esp + 0x6c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x6c], 0x4c
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
mov byte [esp + 0x6d], 0x6f
mov byte [esp + 0x6e], 0x63
mov byte [esp + 0x6f], 0x61
mov byte [esp + 0x70], 0x6c
mov byte [esp + 0x71], 0x5c
mov byte [esp + 0x72], 0
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov al, byte [esp + 0x2b]
and ecx, 3
mov byte [esp + 0x18], al
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], edx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
call fcn.100164d0
test al, al
je 0x1001716f
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x6c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.100164b0
mov eax, dword [esp + 0x184]
mov dword [esp + 0x174], 0
test eax, eax
jne 0x100171a1
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x17c]
mov byte [esp + 0x2c], 0x25
mov byte [esp + 0x2d], 0x64
push eax
lea ecx, [esp + 0x30]
jmp 0x1001720b
cmp eax, 1
jne 0x100171d1
mov al, 0x25
mov cl, 0x64
mov byte [esp + 0x2c], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x17c]
mov byte [esp + 0x2d], cl
mov byte [esp + 0x30], cl
mov byte [esp + 0x31], 0
push eax
lea ecx, [esp + 0x30]
jmp 0x1001720b
cmp eax, 2
jne 0x10017219
mov al, 0x25
mov cl, 0x64
mov byte [esp + 0x2c], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], al
mov byte [esp + 0x31], al
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x17c]
mov byte [esp + 0x2d], cl
mov byte [esp + 0x30], cl
mov byte [esp + 0x33], cl
mov byte [esp + 0x34], 0
push eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.10016ea0
add esp, 0xc
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
mov eax, dword [0x100243dc]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x1001723d
call fcn.1001920b
test esi, esi
jbe 0x10017283
mov ecx, dword [esp + 0x20]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x1c]
push ebp
call fcn.100164d0
test al, al
je 0x10017283
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, esi
lea esi, [esp + 0x4c]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x180]
mov edi, dword [esp + 0x1c]
test eax, eax
je 0x100172a3
test edi, edi
jne 0x1001729b
mov edi, 0x100243d8
lea edx, [ebx + 0x1003d828]
jmp 0x100172b2
test edi, edi
jne 0x100172ac
mov edi, 0x100243d8
lea edx, [ebx + 0x1003e328]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x1003ef28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x174], 0xffffffff
test ecx, ecx
je 0x10017309
mov al, byte [ecx - 1]
test al, al
je 0x100172ff
dec al
mov byte [ecx - 1], al
jmp 0x10017309
dec ecx
push ecx
call fcn.10019200
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret