Function at 0x444210
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
mov dword [eax], 0
mov dword [eax + 4], 0
mov word [eax + 8], 0
mov eax, 0x5dfaa0
mov dword [eax], 0
mov dword [eax + 4], 0
mov word [eax + 8], 0
lea edi, [ebp - 0x78]
xor eax, eax
mov ecx, 0x19
rep stosd dword es:[edi], eax
push 0x63
lea eax, [ebp - 0x78]
push eax
call sub.WS2_32.dll_gethostname
cmp dword [0x45e03c], 0
je 0x44427f
lea eax, [ebp - 0x78]
push eax
push str._n_rlocal_host___s_
call fcn.00452380
add esp, 8
lea eax, [ebp - 0x78]
push eax
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x444325
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [0x45e03c], 0
je 0x4442da
xor eax, eax
mov al, byte [ebp - 0xd]
push eax
xor eax, eax
mov al, byte [ebp - 0xe]
push eax
xor eax, eax
mov al, byte [ebp - 0xf]
push eax
xor eax, eax
mov al, byte [ebp - 0x10]
push eax
push str._n_rIP_ADDR___d._d._d._d_
call fcn.00452380
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov dword [0x5dfaa0], eax
xor eax, eax
mov al, byte [ebp - 0xd]
push eax
xor eax, eax
mov al, byte [ebp - 0xe]
push eax
xor eax, eax
mov al, byte [ebp - 0xf]
push eax
xor eax, eax
mov al, byte [ebp - 0x10]
push eax
push 0x47cfc8
push 0x5acc00
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
xor eax, eax
mov al, byte [ebp - 0xd]
mov ecx, 0x3c
cdq
idiv ecx
mov dword [0x462130], edx
jmp 0x444339
mov ecx, 0x3c
mov eax, dword [0x462304]
sub edx, edx
div ecx
mov dword [0x462130], edx
movsx eax, byte [0x481ca0]
test eax, eax
je 0x4445a0
lea eax, [ebp - 0x110]
mov dword [eax], 0
mov dword [eax + 4], 0
mov word [eax + 8], 0
lea eax, [ebp - 0x110]
push eax
push 0x481ca0
call fcn.0042e926
add esp, 8
movsx eax, byte [ebp - 0x110]
test eax, eax
jne 0x444398
lea eax, [ebp - 0x110]
push eax
push 0x47cfd4
call fcn.0042ecd6
add esp, 8
movsx eax, byte [ebp - 0x110]
test eax, eax
je 0x44444c
mov dword [ebp - 0x114], 0
cmp dword [0x45e03c], 0
je 0x4443d2
lea eax, [ebp - 0x110]
push eax
push str._r_nUpdate_local_host___s_
call fcn.00452380
add esp, 8
lea eax, [ebp - 0x110]
push eax
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x4443fc
mov eax, dword [ebp - 0x114]
mov dword [0x5dfaa0], eax
cmp dword [0x45e03c], 0
je 0x44441d
mov eax, dword [ebp - 0x114]
push eax
push str._r_nNew_IP_INET___X_
call fcn.00452380
add esp, 8
lea edi, [ebp - 0x110]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, 0x5acc00
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4445a0
xor eax, eax
mov al, byte [ebp - 0x10]
test eax, eax
je 0x444469
xor eax, eax
mov al, byte [ebp - 0x10]
cmp eax, 0xa9
jne 0x4445a0
cmp dword [0x45e03c], 0
je 0x444488
push 0x984f20
push str._r_nRe_scanning_for_Domain_IP_Interface___s___wsin
call fcn.00452380
add esp, 8
movsx eax, byte [0x984f20]
test eax, eax
jne 0x44449c
jmp 0x4445a0
lea eax, [ebp - 0x110]
mov dword [eax], 0
mov dword [eax + 4], 0
mov word [eax + 8], 0
lea eax, [ebp - 0x110]
push eax
push 0x984f20
call fcn.0042e926
add esp, 8
movsx eax, byte [ebp - 0x110]
test eax, eax
jne 0x4444ec
lea eax, [ebp - 0x110]
push eax
push 0x47d03c
call fcn.0042ecd6
add esp, 8
movsx eax, byte [ebp - 0x110]
test eax, eax
je 0x4445a0
mov dword [ebp - 0x118], 0
cmp dword [0x45e03c], 0
je 0x44452b
push 0x984f20
lea eax, [ebp - 0x110]
push eax
push str._r_n_2_Update_local_host___s___based_on__s_
call fcn.00452380
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x444555
mov eax, dword [ebp - 0x118]
mov dword [0x5dfaa0], eax
cmp dword [0x45e03c], 0
je 0x444576
mov eax, dword [ebp - 0x118]
push eax
push str._r_n_2_New_IP_INET___X_
call fcn.00452380
add esp, 8
lea edi, [ebp - 0x110]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, 0x5acc00
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x462130]
push eax
push str._n_rGO_TIME___d_
call fcn.00452380
add esp, 8
pop edi
pop esi
pop ebx
leave
ret