Function at 0x100a48c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x1035eca0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esi + 2], eax
mov dword [esi + 6], eax
mov dword [esi + 0xa], eax
mov dword [esi + 0xe], eax
mov dword [esi + 0x12], eax
mov dword [esi + 0x16], eax
mov word [esi + 0x1a], ax
movzx ecx, word [esi]
lea edx, [ebp - 0x84]
mov dword [ebp - 0xa8], eax
push edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xac], 0xc00
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x88], edx
cmp ebx, eax
jne 0x100a49a3
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0xac]
push edx
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edi, eax
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
cmp eax, ecx
je 0x100a4985
push eax
call fcn.101e1f24
add esp, 4
test edi, edi
je 0x100a4a03
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e425c
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
push 0x80
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x88]
push edi
push ecx
call fcn.100a4520
mov edx, dword [ebp - 0x88]
push edi
push ebx
push edi
push edx
call fcn.101e4935
add esp, 0x20
cmp eax, 0x50
ja case.0x100a49e8.133
movzx eax, byte [eax + 0x100a4aa4]
jmp dword [eax*4 + 0x100a4a94]
push 0x8007000e
call fcn.1009f220
push 0x80070057
call fcn.1009f220
mov ebx, dword [ebp - 0x8c]
xor edi, edi
mov eax, ebx
test ebx, ebx
je 0x100a4a3d
mov ecx, dword [eax + 4]
cmp ecx, 2
je 0x100a4a27
cmp ecx, 0x17
je 0x100a4a27
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x100a4a11
jmp 0x100a4a3d
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
push edx
push eax
push esi
call fcn.101e4520
add esp, 0xc
mov edi, 1
push ebx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test edi, edi
je 0x100a4a69
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 2], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e425c
mov esp, ebp
pop ebp
ret
push 0x2af9
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101e425c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1009f220
lea ecx, [ecx]
dec ebp
dec ecx
or dl, byte [eax]
out dx, eax
dec ecx
or dl, byte [eax]
stc
dec ecx
or dl, byte [eax]
xchg dword [edx + 0xa], ecx
adc byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3