Function at 0x4a0030
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x5cc180]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5d0440]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
mov eax, dword [0x5d0444]
sete byte [ebp - 0x11]
cmp eax, 0xa
setl byte [ebp - 0x12]
mov eax, 0xfc13dbe
mov edi, 0xee03cad3
mov ebx, 0x13b6b187
jmp 0x4a0090
mov eax, dword [ebp - 0x20]
mov byte [eax], 0
mov eax, dword [ebp - 0x30]
mov dword [eax], 1
mov eax, 0x4387daa0
nop word [eax + eax]
cmp eax, 0x4387da9f
jle 0x4a00e0
cmp eax, 0x6b65de10
jg 0x4a0150
cmp eax, 0x512716c9
jle 0x4a01cb
cmp eax, 0x60c0c05d
je 0x4a029b
cmp eax, 0x62b93ad9
jne 0x4a0400
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp word [eax], 0x17
mov eax, 0xd083c8ee
mov ecx, 0x9d75e1ca
cmove eax, ecx
jmp 0x4a0090
cmp eax, 0xfc13dbd
jg 0x4a01a0
cmp eax, 0xee03cad2
jg 0x4a0221
cmp eax, 0x9d75e1ca
je 0x4a02ab
cmp eax, 0xd083c8ee
jne 0x4a0090
mov edx, dword [0x5d0440]
mov ecx, dword [0x5d0444]
lea eax, [edx + 1]
imul eax, edx
not eax
or eax, 0xfffffffe
cmp eax, 0xffffffff
sete dl
cmp ecx, 0xa
setl dh
xor dh, dl
mov edx, 0x60c0c05d
mov esi, 0x4a85e6eb
cmovne edx, esi
cmp eax, 0xffffffff
mov eax, edx
cmove eax, esi
cmp ecx, 0xa
cmovge eax, edx
jmp 0x4a0090
cmp eax, 0x70ac26f6
jg 0x4a024f
cmp eax, 0x6b65de11
je 0x4a02cf
cmp eax, 0x6df6bca2
jne 0x4a0090
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
movzx eax, word [eax + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov eax, 0x6b65de11
jmp 0x4a0090
cmp eax, 0x2ded77d9
jg 0x4a026f
cmp eax, 0xfc13dbe
je 0x4a032a
cmp eax, 0x13b6b187
jne 0x4a0090
mov eax, 0x512716ca
jmp 0x4a0090
cmp eax, 0x4387daa0
je 0x4a034f
cmp eax, 0x4a85e6eb
jne 0x4a0090
mov eax, dword [ebp - 0x20]
mov byte [eax], 0
mov eax, dword [0x5d0440]
lea ecx, [eax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
mov eax, 0x60c0c05d
cmove eax, ebx
cmp dword [0x5d0444], 0xa
mov edx, 0x60c0c05d
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, ebx
jmp 0x4a0090
cmp eax, 0xee03cad3
je 0x4a035c
cmp eax, 0x7334bf2
jne 0x4a0090
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push dword [ebp - 0x1c]
call fcn.004a0430
mov eax, dword [ebp - 0x20]
mov byte [eax], 1
jmp 0x4a007c
cmp eax, 0x70ac26f7
je 0x4a0076
cmp eax, 0x743a6a6e
jne 0x4a0090
mov eax, 0xee03cad3
jmp 0x4a0090
cmp eax, 0x2ded77da
je 0x4a03f6
cmp eax, 0x378c0cd1
jne 0x4a0090
cmp byte [ebp - 0x13], 0
mov eax, 0x62b93ad9
mov ecx, 0x6df6bca2
cmovne eax, ecx
jmp 0x4a0090
mov eax, dword [ebp - 0x20]
mov byte [eax], 0
mov eax, 0x4a85e6eb
jmp 0x4a0090
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
movzx eax, word [eax + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov eax, 0x2ded77da
jmp 0x4a0090
mov eax, dword [ebp - 0x1c]
push 0x401
push 0
push dword [ebp - 0x1c]
call fcn.00599910
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
sub esp, 0x1c
vmovaps xmm0, xmmword [0x5b7030]
vmovups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
mov eax, 0x70ac26f7
mov ecx, 0x7334bf2
cmove eax, ecx
jmp 0x4a0090
movzx ecx, byte [ebp - 0x11]
movzx eax, byte [ebp - 0x12]
mov edx, ecx
xor dl, al
mov edx, 0x743a6a6e
cmovne edx, edi
test al, al
mov eax, edx
cmovne eax, edi
test cl, cl
cmove eax, edx
jmp 0x4a0090
mov eax, dword [ebp - 0x1c]
mov eax, 0x512716ca
jmp 0x4a0090
push eax
mov eax, esp
mov dword [ebp - 0x20], eax
push eax
mov eax, esp
mov dword [ebp - 0x24], eax
push eax
mov eax, esp
mov dword [ebp - 0x28], eax
push eax
mov eax, esp
mov dword [ebp - 0x2c], eax
push eax
mov eax, esp
mov dword [ebp - 0x18], eax
sub esp, 0x404
mov eax, esp
mov dword [ebp - 0x1c], eax
push eax
mov eax, esp
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp word [eax], 2
sete byte [ebp - 0x13]
mov eax, dword [0x5d0440]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete cl
mov eax, 0x743a6a6e
mov esi, 0x378c0cd1
cmove eax, esi
cmp dword [0x5d0444], 0xa
mov edx, 0x743a6a6e
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, esi
jmp 0x4a0090
mov eax, 0x6b65de11
jmp 0x4a0090
cmp eax, 0x512716ca
jne 0x4a0090
mov eax, dword [ebp - 0x20]
movzx ebx, byte [eax]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00594995
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret