Function at 0x10017eb0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports
Set registry value

Disassembly:
sub esp, 0x590
mov eax, dword [0x100695e8]
xor eax, esp
mov dword [esp + 0x58c], eax
mov eax, dword [esp + 0x59c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5ac]
push edi
mov dword [0x1006af90], eax
mov eax, dword [esp + 0x5a8]
push 0x3ff
mov dword [0x1006af94], eax
lea eax, [esp + 0x1a1]
push 0
push eax
mov dword [0x1006af8c], esi
mov byte [esp + 0x1a8], 0
call fcn.100275b0
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
add esp, 0xc
test esi, esi
je 0x10017f3c
mov esi, dword [esi]
test esi, esi
je 0x10017f3c
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x1a0]
push eax
call ebp
mov eax, dword [0x1006af8c]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call ebx
mov ecx, 0x100576cc
lea eax, [esp + 0x19c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10017f68
test dl, dl
je 0x10017f64
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10017f68
add eax, 2
add ecx, 2
test dl, dl
jne 0x10017f48
xor eax, eax
jmp 0x10017f6d
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [0x10069550]
mov ecx, 0x10069550
sete byte [esp + 0x17]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or ecx, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
jge 0x10017fb6
push 0x400
lea ecx, [esp + 0x1c]
call fcn.1000dfc0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov edi, dword [0x1006af8c]
test edi, edi
je 0x10017fd9
mov edi, dword [edi]
test edi, edi
je 0x10017fd9
lea eax, [edi + 4]
push eax
push esi
call ebp
mov eax, dword [0x1006af8c]
mov ecx, dword [edi]
push edi
mov dword [eax], ecx
call ebx
push dword [esi - 8]
push esi
call fcn.1002569f
add esp, 8
test eax, eax
js 0x100184af
cmp eax, dword [esi - 8]
jg 0x100184af
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [0x10069550]
mov ecx, 0x10069550
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x400
or ecx, eax
mov dword [esp + 0x24], edi
jge 0x10018037
push 0x400
lea ecx, [esp + 0x28]
call fcn.1000dfc0
mov edi, dword [esp + 0x24]
mov esi, dword [0x1006af8c]
test esi, esi
je 0x1001805a
mov esi, dword [esi]
test esi, esi
je 0x1001805a
lea eax, [esi + 4]
push eax
push edi
call ebp
mov eax, dword [0x1006af8c]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call ebx
push dword [edi - 8]
push edi
call fcn.1002569f
add esp, 8
test eax, eax
js 0x100184af
cmp eax, dword [edi - 8]
jg 0x100184af
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
mov eax, dword [0x10069550]
mov ecx, 0x10069550
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov ebx, 1
mov eax, dword [esi - 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
sub eax, 0x400
or ecx, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
jge 0x100180c2
push 0x400
lea ecx, [esp + 0x14]
call fcn.1000dfc0
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [0x1006af8c]
test eax, eax
je 0x100180ed
mov ebx, dword [eax]
test ebx, ebx
je 0x100180e8
lea eax, [ebx + 4]
push eax
push esi
call ebp
mov eax, dword [0x1006af8c]
mov ecx, dword [ebx]
push ebx
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, 1
push dword [esi - 8]
push esi
call fcn.1002569f
add esp, 8
test eax, eax
js 0x100184af
cmp eax, dword [esi - 8]
jg 0x100184af
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [0x10069550]
mov ecx, 0x10069550
call dword [eax + 0xc]
sub ebx, dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [esi - 8]
sub eax, 0x400
or ebx, eax
jge 0x10018146
push 0x400
lea ecx, [esp + 0x14]
call fcn.1000dfc0
mov esi, dword [esp + 0x10]
mov ebx, dword [0x1006af8c]
test ebx, ebx
je 0x1001816d
mov ebx, dword [ebx]
test ebx, ebx
je 0x1001816d
lea eax, [ebx + 4]
push eax
push esi
call ebp
mov eax, dword [0x1006af8c]
mov ecx, dword [ebx]
push ebx
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esi - 8]
push esi
call fcn.1002569f
add esp, 8
test eax, eax
js 0x100184af
cmp eax, dword [esi - 8]
jg 0x100184af
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x7b], 0x336c656e
mov dword [esp + 0x81], 0x6c6c64
mov word [esp + 0x79], 0x7265
mov byte [esp + 0x78], 0x4b
mov word [esp + 0x7f], 0x2e32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
or ebp, 0xffffffff
test eax, eax
je 0x1001842c
lea ecx, [esp + 0x84]
push ecx
push eax
mov word [esp + 0x92], 0x6c75
mov word [esp + 0x9c], 0x4165
mov dword [esp + 0x8e], 0x646f4d74
mov dword [esp + 0x95], 0x656c6946
mov word [esp + 0x99], 0x614e
mov byte [esp + 0x94], 0x65
mov byte [esp + 0x9e], 0
mov word [esp + 0x8c], 0x6547
mov byte [esp + 0x9b], 0x6d
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x103
mov ebx, eax
lea eax, [esp + 0x9d]
push 0
push eax
mov byte [esp + 0xa4], 0
call fcn.100275b0
add esp, 0xc
lea eax, [esp + 0x98]
push 0x104
push eax
push 0
call ebx
lea eax, [esp + 0x98]
push eax
call fcn.10017750
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x10018283
test al, al
je 0x10018283
xor bl, bl
jmp 0x10018285
mov bl, 1
push dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
call fcn.10017a90
add esp, 8
test bl, bl
jne 0x100182a5
cmp dword [esp + 0x3c], 0
jne 0x1001835a
mov eax, dword [0x10069550]
mov ecx, 0x10069550
call dword [eax + 0xc]
add eax, 0x10
push 0x10
mov dword [esp + 0x14], eax
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
call fcn.100145c0
push dword [esp + 0x20]
push str.1f110ae9da204c9eb884b0e51bbb5bdc
push dword [eax]
lea eax, [esp + 0x1c]
push str._s_s_s
push eax
call fcn.1000c0d0
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
add esp, 0x14
lea eax, [edx + 0xc]
mov ecx, ebp
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10018305
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
push dword [esp + 0x28]
call fcn.1000e840
lea eax, [esp + 0x5c]
push eax
call fcn.10045c30
add esp, 0x1c
lea ecx, [esp + 0x2c]
push eax
call fcn.1001b020
cmp dword [esp + 0x58], 0x10
jb 0x1001833d
push dword [esp + 0x44]
call fcn.1002501c
add esp, 4
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, ebp
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1001835a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x3c]
cmp dword [esp + 0x44], 0x10
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
push 1
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x6c]
push eax
push 0x80000002
mov word [esp + 0x7e], 0x4f53
mov word [esp + 0x77], 0x7774
mov dword [esp + 0x79], 0x5c657261
mov byte [esp + 0x80], 0
mov word [esp + 0x74], 0x6f53
mov byte [esp + 0x7d], 0x53
mov byte [esp + 0x76], 0x66
mov dword [esp + 0x84], 0x6b636954
mov word [esp + 0x89], 0x74
mov byte [esp + 0x88], 0x65
call ebx
mov dword [esp + 0x1c], 0x646967
push dword [edi - 0xc]
lea eax, [esp + 0x20]
push edi
push 1
push eax
lea eax, [esp + 0x6c]
push eax
push 0x80000002
call ebx
mov eax, dword [esp + 0x18]
push dword [eax - 0xc]
push eax
push 1
push 0x100576d0
lea eax, [esp + 0x6c]
push eax
push 0x80000002
call ebx
push dword [esi - 0xc]
lea eax, [esp + 0x60]
push esi
push 1
push 0x100576d4
push eax
push 0x80000002
call ebx
lea ecx, [esp + 0x2c]
call fcn.1000e900
add esi, 0xfffffff0
mov ecx, ebp
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10018445
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebp
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10018462
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov ecx, ebp
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1001847b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebp
dec ebp
test ebp, ebp
jg 0x10018496
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x59c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10026aaf
add esp, 0x590
ret
push 0x80070057
call fcn.1000e050
int3