Function at 0x1000d0f3
Capabilities:
Query or enumerate registry value
Resolve dns

Disassembly:
mov eax, 0x100127ea
call fcn.10011420
sub esp, 0x5b4
mov eax, dword [0x1001b0f8]
push ebx
push esi
push edi
push 0xf
pop esi
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
call fcn.10001653
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], esi
call fcn.10001653
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], esi
call fcn.10001653
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x4c], esi
call fcn.10001653
push str.setupapi.dll
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1000d2ad
push str.IsUserAdmin
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [ebp - 0x594]
push eax
call fcn.10002d99
lea eax, [ebp - 0x490]
mov dword [esp], str.SOFTWAREMicrosoft_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x594]
push eax
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x598]
push eax
push 0x20019
lea eax, [ebp - 0x490]
push ebx
push eax
call esi
neg eax
sbb eax, eax
neg eax
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000d2a6
mov esi, 0x104
push esi
lea eax, [ebp - 0x288]
push ebx
push eax
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x184]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x5a4]
push eax
lea eax, [ebp - 0x288]
push eax
push ebx
lea eax, [ebp - 0x38c]
push ebx
push eax
mov dword [ebp - 0x5a4], esi
mov dword [ebp - 0x5a0], esi
mov byte [ebp - 0x38c], bl
call fcn.10002ddd
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
push eax
push dword [ebp - 0x598]
call esi
lea eax, [ebp - 0x5a0]
push eax
lea eax, [ebp - 0x184]
push eax
push ebx
lea eax, [ebp - 0x38c]
push ebx
push eax
call fcn.10002e24
pop ecx
push eax
push dword [ebp - 0x598]
call esi
cmp eax, ebx
jne 0x1000d2a6
push dword [ebp - 0x5a4]
lea eax, [ebp - 0x288]
push 0x39
push eax
call fcn.10002cad
push dword [ebp - 0x5a0]
lea eax, [ebp - 0x184]
push 0x39
push eax
call fcn.10002cad
add esp, 0x18
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100019ed
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x48]
call fcn.100019ed
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x18], ebx
je 0x1000d458
cmp dword [ebp - 0x34], ebx
je 0x1000d458
push ebx
mov esi, str.http:__
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000d0d2
test eax, eax
jne 0x1000d2f0
push esi
lea ecx, [ebp - 0x80]
call fcn.100019ed
push 7
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000d0d2
push eax
lea ecx, [ebp - 0x2c]
call fcn.100016ec
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.1000d0d2
test eax, eax
jne 0x1000d31c
push esi
lea ecx, [ebp - 0x64]
call fcn.100019ed
push 7
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.1000d0d2
push eax
lea ecx, [ebp - 0x48]
call fcn.100016ec
mov esi, 0x10013364
push esi
lea ecx, [ebp - 0x80]
call fcn.1000418a
push esi
lea ecx, [ebp - 0x64]
call fcn.1000418a
push ebx
mov edi, 0x10017ac8
push edi
lea ecx, [ebp - 0x2c]
call fcn.1000d0d2
or esi, 0xffffffff
cmp eax, esi
lea ecx, [ebp - 0x2c]
push ebx
je 0x1000d350
push edi
jmp 0x1000d355
push 0x10013770
call fcn.1000d0d2
cmp eax, esi
mov dword [ebp - 0x598], eax
je 0x1000d3cd
push esi
push eax
lea eax, [ebp - 0x5c0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100041a7
push esi
push ebx
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.10003eb0
push ebx
push 1
lea ecx, [ebp - 0x5c0]
mov byte [ebp - 4], 3
call fcn.100016a3
push dword [ebp - 0x598]
lea eax, [ebp - 0x5c0]
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100041a7
push esi
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.100018ef
push ebx
push 1
lea ecx, [ebp - 0x5c0]
mov byte [ebp - 4], 3
call fcn.100016a3
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.1000d0d2
cmp eax, esi
lea ecx, [ebp - 0x48]
push ebx
je 0x1000d3e2
push edi
jmp 0x1000d3e7
push 0x10013770
call fcn.1000d0d2
mov edi, eax
cmp edi, esi
je 0x1000d48c
push esi
push edi
lea eax, [ebp - 0x5c0]
push eax
lea ecx, [ebp - 0x48]
call fcn.100041a7
push esi
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.10003eb0
push ebx
push 1
lea ecx, [ebp - 0x5c0]
mov byte [ebp - 4], 3
call fcn.100016a3
push edi
push ebx
lea eax, [ebp - 0x5c0]
push eax
lea ecx, [ebp - 0x48]
call fcn.100041a7
push esi
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.100018ef
push ebx
push 1
lea ecx, [ebp - 0x5c0]
call fcn.100016a3
jmp 0x1000d48c
push str.chroned.com
lea ecx, [ebp - 0x2c]
call fcn.100019ed
push str.85.12.43.86
lea ecx, [ebp - 0x48]
call fcn.100019ed
push 0x10017c68
lea ecx, [ebp - 0x80]
call fcn.100019ed
push str.http:___s
lea ecx, [ebp - 0x64]
call fcn.100019ed
mov eax, dword [ebp - 0x28]
push 0x10
pop esi
cmp dword [ebp - 0x14], esi
jae 0x1000d49a
lea eax, [ebp - 0x28]
push ebx
lea ecx, [ebp - 0x59c]
push ecx
push ebx
push ebx
xor edi, edi
inc edi
push edi
push eax
call sub.DNSAPI.dll_DnsQuery_A
cmp eax, ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jne 0x1000d4f0
mov eax, dword [ebp - 0x59c]
cmp dword [ebp - 0x68], esi
mov eax, dword [eax + 0x18]
mov esi, dword [ebp - 0x7c]
jae 0x1000d4cb
lea esi, [ebp - 0x7c]
push eax
call sub.WS2_32.dll_inet_ntoa
push eax
push esi
mov esi, 0x1001bd90
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
push dword [ebp - 0x59c]
call sub.DNSAPI.dll_DnsRecordListFree
jmp 0x1000d517
cmp dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x44]
jae 0x1000d4fb
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x60]
jae 0x1000d506
lea eax, [ebp - 0x60]
push ecx
push eax
mov esi, 0x1001bd90
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x64]
call fcn.100016a3
push ebx
push edi
lea ecx, [ebp - 0x80]
call fcn.100016a3
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.100016a3
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.100016a3
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.100112e6
leave
ret 4