Function at 0x441a80
Capabilities:
Resolve dns

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x5c]
mov dword [eax], 0
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
sub esp, 0x10
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x441c08
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x441c99
mov dword [esp + 0x18], 0
xor edi, edi
nop
lea esi, [esi]
mov eax, dword [esi + 4]
cmp eax, 2
je 0x441c10
cmp eax, 0x17
jne 0x441bdf
mov edx, 0x1c
mov ebx, 0x1c
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], edx
test eax, eax
je 0x441bdf
mov eax, dword [esi + 0x10]
cmp eax, ebx
jb 0x441bdf
test eax, eax
je 0x441bdf
mov dword [esp], 0x20
call dword [0x536390]
test eax, eax
mov ebp, eax
je 0x441c46
mov eax, dword [esi]
mov edx, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0xc], eax
mov dword [esp], ebx
call dword [0x536390]
test eax, eax
mov dword [ebp + 0x18], eax
je 0x441c3d
mov edx, dword [esi + 0x18]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + ebx - 4]
mov dword [eax + ebx - 4], ecx
lea ecx, [eax + 4]
mov dword [esp + 0x14], esi
and ecx, 0xfffffffc
sub eax, ecx
add ebx, eax
sub edx, eax
xor eax, eax
and ebx, 0xfffffffc
mov esi, dword [edx + eax]
mov dword [ecx + eax], esi
add eax, 4
cmp eax, ebx
jb 0x441ba3
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x441bcb
mov dword [esp], eax
call dword [0x536384]
test eax, eax
mov dword [ebp + 0x14], eax
je 0x441c31
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebp
test eax, eax
je 0x441c20
mov dword [eax + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x441ae0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x441cb8
test edi, edi
je 0x441c99
mov eax, dword [esp + 0x5c]
mov dword [eax], edi
mov eax, dword [esp + 0x1c]
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 0x10
mov ebx, 0x10
jmp 0x441aff
mov esi, dword [esi + 0x1c]
mov dword [esp + 0x18], ebp
test esi, esi
jne 0x441ae0
jmp 0x441bea
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call dword [0x53638c]
mov dword [esp], ebp
call dword [0x53638c]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x441c86
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
sub esp, 4
jmp 0x441c86
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [edi + 0x14]
mov dword [esp], eax
call dword [0x53638c]
mov ebx, dword [edi + 0x1c]
mov dword [esp], edi
call dword [0x53638c]
mov edi, ebx
test edi, edi
jne 0x441c60
mov dword [esp + 0x1c], 8
xor edi, edi
jmp 0x441bfe
mov dword [esp], 0x2af9
xor edi, edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
sub esp, 4
mov dword [esp + 0x1c], 0x2af9
jmp 0x441bfe
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
sub esp, 4
jmp 0x441bf6