Function at 0x4454b0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x44551e
mov eax, dword [ebp - 0x24]
jmp 0x44574d
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
jmp 0x44552f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x4456ee
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 2
jne 0x44554b
mov dword [ebp - 0x20], 0x10
jmp 0x44555f
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0x17
jne 0x44555d
mov dword [ebp - 0x20], 0x1c
jmp 0x44555f
jmp 0x445526
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0
je 0x445571
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
ja 0x445573
jmp 0x445526
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 0x20]
jae 0x445580
jmp 0x445526
mov esi, esp
push 0x20
call dword [section..data]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4455a9
mov dword [ebp - 0x24], 8
jmp 0x4456ee
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1c], 0
mov esi, esp
mov ecx, dword [ebp - 0x20]
push ecx
call dword [section..data]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
jne 0x445645
mov dword [ebp - 0x24], 8
mov esi, esp
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
jmp 0x4456ee
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x18]
push eax
call fcn.004876b0
add esp, 0xc
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x14], 0
je 0x4456c8
mov esi, esp
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
call dword [0x4bc00c]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 0
jne 0x4456c8
mov dword [ebp - 0x24], 8
mov esi, esp
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
push ecx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov esi, esp
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
jmp 0x4456ee
cmp dword [ebp - 0x14], 0
jne 0x4456d4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0
je 0x4456e3
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x445526
cmp dword [ebp - 0xc], 0
je 0x445707
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp esi, esp
call fcn.00485c0f
cmp dword [ebp - 0x24], 0
je 0x445722
mov edx, dword [ebp - 0x14]
push edx
call fcn.00445420
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x445742
cmp dword [ebp - 0x14], 0
jne 0x445742
mov dword [ebp - 0x24], 0x2af9
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp esi, esp
call fcn.00485c0f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
push edx
mov ecx, ebp
push eax
lea edx, [0x445770]
call fcn.00485bbb
pop eax
pop edx
pop esi
add esp, 0x24
cmp ebp, esp
call fcn.00485c0f
mov esp, ebp
pop ebp
ret