Function at 0x100b4030
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 0x10], 0
and dword [ebp - 0x18], 0
mov eax, dword [ebp + 0x14]
and dword [eax], 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100b4068
mov eax, dword [ebp - 0xc]
jmp 0x100b4218
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
jmp 0x100b4079
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100b41d3
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 2
jne 0x100b4095
mov dword [ebp - 0x14], 0x10
jmp 0x100b4097
jmp 0x100b4070
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x100b40a9
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
ja 0x100b40ab
jmp 0x100b4070
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp - 0x14]
jae 0x100b40b8
jmp 0x100b4070
push 0x20
call dword [0x100e8664]
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100b40d6
mov dword [ebp - 0xc], 8
jmp 0x100b41d3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 4]
and dword [eax + 0x18], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x1c], 0
push dword [ebp - 0x14]
call dword [0x100e8664]
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x100b4151
mov dword [ebp - 0xc], 8
push dword [ebp - 4]
call dword [0x100e8674]
pop ecx
jmp 0x100b41d3
push dword [ebp - 0x14]
mov eax, dword [ebp - 8]
push dword [eax + 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call fcn.1003dae0
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
je 0x100b41ad
mov eax, dword [ebp - 8]
push dword [eax + 0x14]
call dword [0x100e866c]
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x100b41ad
mov dword [ebp - 0xc], 8
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
call dword [0x100e8674]
pop ecx
push dword [ebp - 4]
call dword [0x100e8674]
pop ecx
jmp 0x100b41d3
cmp dword [ebp - 0x10], 0
jne 0x100b41b9
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 0
je 0x100b41c8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x100b4070
cmp dword [ebp - 0x1c], 0
je 0x100b41e2
push dword [ebp - 0x1c]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebp - 0xc], 0
je 0x100b41f7
push dword [ebp - 0x10]
call fcn.100b4333
pop ecx
and dword [ebp - 0x10], 0
jmp 0x100b420d
cmp dword [ebp - 0x10], 0
jne 0x100b420d
mov dword [ebp - 0xc], 0x2af9
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret