Function at 0x10017480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10023c6b
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 0x1003ef70
call esi
cmp eax, 1
jne 0x100174cb
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call edi
push 1
push 0x1003ef70
call esi
cmp eax, 1
je 0x100174b9
mov eax, dword [esp + 0x180]
mov ebx, dword [esp + 0x17c]
xor edx, edx
cmp eax, edx
je 0x100174ea
shl ebx, 8
lea ebp, [ebx + 0x1003d870]
jmp 0x100174f3
shl ebx, 8
lea ebp, [ebx + 0x1003e370]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10017510
push edx
push 0x1003ef70
call esi
mov eax, ebp
jmp 0x1001777b
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.10016940
test al, al
je 0x100175df
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.10016920
mov eax, dword [esp + 0x184]
mov dword [esp + 0x174], 0
test eax, eax
jne 0x10017611
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 0x1001767b
cmp eax, 1
jne 0x10017641
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 0x1001767b
cmp eax, 2
jne 0x10017689
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.10017310
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 [0x100243e4]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x100176ad
call fcn.1001967b
test esi, esi
jbe 0x100176f3
mov ecx, dword [esp + 0x20]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x1c]
push ebp
call fcn.10016940
test al, al
je 0x100176f3
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 0x10017713
test edi, edi
jne 0x1001770b
mov edi, 0x100243e0
lea edx, [ebx + 0x1003d870]
jmp 0x10017722
test edi, edi
jne 0x1001771c
mov edi, 0x100243e0
lea edx, [ebx + 0x1003e370]
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 0x1003ef70
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 0x10017779
mov al, byte [ecx - 1]
test al, al
je 0x1001776f
dec al
mov byte [ecx - 1], al
jmp 0x10017779
dec ecx
push ecx
call fcn.10019670
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