Function at 0x42b350
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
push 0x1800
push edi
mov dword [ebp - 0x118], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x42b722
push 0
lea edi, [ebx + 0x400]
mov byte [ebx], 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
lea eax, [edi + 0x400]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x11c], eax
call fcn.0045e060
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x42b6fc
push esi
push 0x104
push ebx
push str.BizServerName
push eax
call fcn.0045e550
push dword [ebp - 0x10c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x42b6fb
cmp byte [ebx], 0
je 0x42b6fb
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [edi], 0
call fcn.0045e060
mov esi, eax
test esi, esi
je 0x42b421
push 0x104
push edi
push str.BizServerAddr
push esi
call fcn.0045e550
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [edi], 0
je 0x42b6fb
push 0x4c5118
push edi
call fcn.0048b6ff
mov esi, eax
add esp, 8
test esi, esi
je 0x42b6fb
add esi, 3
push 0x3a
push esi
call fcn.00490bba
add esp, 8
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x42b6fb
push 0xa
mov byte [eax], 0
inc eax
push 0
push eax
call fcn.0048e325
add esp, 0xc
mov byte [ebp - 0x108], 0
lea ecx, [ebp - 0x108]
mov edx, eax
push ecx
push ecx
mov ecx, ebx
call fcn.0042b0b0
add esp, 8
test eax, eax
je 0x42b6fb
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x114], eax
cmp eax, 0xffffffff
je 0x42b6fb
test eax, eax
je 0x42b6fb
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x110], eax
cmp eax, 0xffffffff
jne 0x42b4e1
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x42b4e8
cmp word [eax + 8], 2
jne 0x42b4e8
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, 1
jmp 0x42b4f0
mov eax, dword [ebp - 0x110]
xor ecx, ecx
xor edx, edx
test ecx, ecx
cmove eax, edx
je 0x42b6fb
test eax, eax
je 0x42b6fb
mov ecx, dword [ebp - 0x114]
cmp ecx, eax
je 0x42b6fb
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 0x110], eax
test eax, eax
je 0x42b6fb
cmp byte [eax], 0
je 0x42b6fb
push 4
push str.127.
push eax
call fcn.0048e970
add esp, 0xc
test eax, eax
je 0x42b6fb
push 4
push str.169.
push dword [ebp - 0x110]
call fcn.0048e970
add esp, 0xc
test eax, eax
je 0x42b6fb
mov eax, dword [ebp - 0x10c]
mov byte [esi], 0
push edi
push 0x4c2b0c
mov byte [eax], 0x3a
lea eax, [edi + 0x400]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp - 0x110]
mov esi, eax
lea eax, [edi + 0x400]
add esi, eax
push 0x4c2b0c
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp - 0x10c]
add esi, eax
push 0x4c2b0c
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e320
mov ecx, eax
mov dword [ebp - 0x114], ecx
test ecx, ecx
je 0x42b6fb
lea eax, [edi + 0x400]
push eax
push str.BizServerAddr
push ecx
call fcn.0045e7c0
push dword [ebp - 0x114]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x42b6fb
push edi
push 0
push 0
push 0
push 0
push 0
xor edx, edx
mov byte [edi], 0
xor ecx, ecx
call fcn.004385d0
add esp, 0x18
test eax, eax
je 0x42b6fb
cmp byte [edi], 0
je 0x42b6fb
push 0x3a
push edi
call fcn.00490bba
add esp, 8
mov dword [ebp - 0x114], eax
test eax, eax
je 0x42b6fb
push dword [ebp - 0x110]
lea esi, [edi + 0x400]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x4c2b0c
push esi
call edi
push dword [ebp - 0x114]
add eax, esi
push 0x4c2b0c
push eax
call edi
push 0x4000
call fcn.00460a14
add esp, 0x1c
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x42b6fb
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push str.HKLM
push str.__s_s__r_n
push eax
call edi
mov esi, eax
add esp, 0x10
add esi, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x42b6c0
push eax
push str.UpdtLocalMachineName
push str.__s___s__r_n
push esi
call edi
add esp, 0x10
add esi, eax
push str._r_n_r_n
push esi
call edi
mov edi, dword [ebp - 0x10c]
sub esi, edi
mov edx, edi
lea ecx, [esi + 1]
add ecx, eax
call fcn.004496e0
push 1
push edi
mov esi, eax
call fcn.004609d1
xor eax, eax
add esp, 0x10
test esi, esi
mov ecx, 1
cmovne eax, ecx
mov dword [ebp - 0x118], eax
pop esi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x118]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.004606ac
mov esp, ebp
pop ebp
ret