Function at 0x44fe20
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], 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.004a09b1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x44fe7e
mov eax, dword [ebp - 0x24]
jmp 0x450071
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
jmp 0x44fe8f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x450012
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14], 0
je 0x44feb9
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x44fec0
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 2
jne 0x44fed8
mov dword [ebp - 0x20], 0x10
jmp 0x44feec
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0x17
jne 0x44feea
mov dword [ebp - 0x20], 0x1c
jmp 0x44feec
jmp 0x44fe86
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 0
je 0x44fefe
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
ja 0x44ff00
jmp 0x44fe86
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp - 0x20]
jae 0x44ff10
jmp 0x44fe86
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + eax + 0x20]
mov esi, esp
push edx
call dword [section..data]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x44ff42
mov dword [ebp - 0x24], 8
jmp 0x450012
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x1c]
add edx, 0x20
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x18]
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x28], 0
je 0x44ffec
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x44fff8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x18], 0
je 0x450007
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
jmp 0x44fe86
cmp dword [ebp - 0xc], 0
je 0x45002b
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp esi, esp
call fcn.004a09b1
cmp dword [ebp - 0x24], 0
je 0x450046
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0044fdc0
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x450066
cmp dword [ebp - 0x14], 0
jne 0x450066
mov dword [ebp - 0x24], 0x2af9
mov esi, esp
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp esi, esp
call fcn.004a09b1
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
push edx
mov ecx, ebp
push eax
lea edx, [0x450094]
call fcn.004a095d
pop eax
pop edx
pop edi
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.004a09b1
mov esp, ebp
pop ebp
ret