Function at 0x405c10
Capabilities:
Reference 114dns dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436900
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x45906c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x449384]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x449388]
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x44938c]
mov dword [ebp - 0x18], edx
mov ax, word [0x449390]
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x5c]
call fcn.004032e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004032e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004032e0
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x70]
call fcn.00405e60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
push ecx
push 0x3e8
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
push ecx
push str.114.114.114.114
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
lea ecx, [ebp - 0x70]
call fcn.00405ee0
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x20]
push edx
push str.DNSLookup_result___s_:_n
call fcn.00401450
add esp, 8
cmp dword [ebp - 0x34], 0
jne 0x405d28
push str.timeout__n
call fcn.00401450
add esp, 4
mov dword [ebp - 0x38], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00405ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00406ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00406ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004071b0
mov eax, dword [ebp - 0x38]
jmp 0x405e42
mov dword [ebp - 0x24], 0
jmp 0x405d3a
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x5c]
call fcn.00406f30
cmp dword [ebp - 0x24], eax
je 0x405d6c
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00406f10
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x24]
add eax, 1
push eax
push str.IP_d_ULONG____u_n
call fcn.00401450
add esp, 0xc
jmp 0x405d31
mov dword [ebp - 0x28], 0
jmp 0x405d7e
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x50]
call fcn.00406d00
cmp dword [ebp - 0x28], eax
je 0x405db5
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x50]
call fcn.00406ce0
mov ecx, eax
call fcn.00403470
push eax
mov eax, dword [ebp - 0x28]
add eax, 1
push eax
push str.IP_d_string____s_n
call fcn.00401450
add esp, 0xc
jmp 0x405d75
mov dword [ebp - 0x2c], 0
jmp 0x405dc7
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x44]
call fcn.00406d00
cmp dword [ebp - 0x2c], eax
je 0x405dfe
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x44]
call fcn.00406ce0
mov ecx, eax
call fcn.00403470
push eax
mov eax, dword [ebp - 0x2c]
add eax, 1
push eax
push str.CName_d___s_n
call fcn.00401450
add esp, 0xc
jmp 0x405dbe
mov ecx, dword [ebp - 0x30]
push ecx
push str.time_spent___ums_n
call fcn.00401450
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00405ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00406ed0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00406ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004071b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004151bc
mov esp, ebp
pop ebp
ret