Function at 0x4a06d0
Capabilities:
Resolve dns

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x414
mov esi, dword [esp + 0x434]
mov ebp, dword [esp + 0x428]
mov eax, dword [0x5c0b00]
xor eax, esp
mov dword [esp + 0x410], eax
movzx eax, word [ebp]
mov dword [esp + 8], eax
mov ecx, 0xd2211a12
mov ebx, dword [sym.imp.WS2_32.dll_ntohs]
jmp 0x4a0728
mov ecx, dword [esp + 0x430]
lea eax, [esp + 0xc]
push eax
call fcn.004a0a90
mov ecx, 0x3c21607
mov al, 1
mov dword [esp + 4], eax
jmp 0x4a0740
cmp dword [0x5c4db8], 0xa
cmovl ecx, edi
setl dh
xor dh, dl
cmovne ecx, eax
cmp ecx, 0xf15b984c
jg 0x4a0790
cmp ecx, 0xacdc11e8
jle 0x4a07c0
cmp ecx, 0xd2211a11
jg 0x4a082e
cmp ecx, 0xacdc11e9
je 0x4a0933
cmp ecx, 0xcee107c6
jne 0x4a0a5c
cmp word [ebp], 0x17
mov ecx, 0xa827299b
je 0x4a0740
mov ecx, 0x4860196b
jmp 0x4a0740
cmp ecx, 0x4e14e9c5
jg 0x4a0800
cmp ecx, 0x3c21606
jg 0x4a0850
cmp ecx, 0xf15b984d
je 0x4a097e
cmp ecx, 0xff5f9f45
jne 0x4a0740
mov ecx, 0xabf488c2
jmp 0x4a0740
cmp ecx, 0xa827299a
jg 0x4a089d
cmp ecx, 0x8631f889
je 0x4a09cf
cmp ecx, 0x8b3782f4
jne 0x4a0740
mov ecx, 0xacdc11e9
mov dword [esp + 4], 0
jmp 0x4a0740
cmp ecx, 0x59f1af22
jg 0x4a0905
cmp ecx, 0x4e14e9c6
je 0x4a0a0e
cmp ecx, 0x4f11e92f
jne 0x4a0740
mov ecx, 0xf15b984d
jmp 0x4a0740
cmp ecx, 0xd2211a12
je 0x4a0a20
cmp ecx, 0xd2ae4db3
jne 0x4a0740
mov ecx, 0x8631f889
jmp 0x4a0740
cmp ecx, 0x3c21607
je 0x4a0a3c
cmp ecx, 0x4860196b
jne 0x4a0740
mov eax, dword [0x5c4dbc]
lea edx, [eax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
mov eax, 0xacdc11e9
mov ecx, 0x8b3782f4
mov edi, 0xacdc11e9
cmp edx, 0xffffffff
sete dl
je 0x4a072e
mov edi, 0x8b3782f4
jmp 0x4a072e
cmp ecx, 0xa827299b
je 0x4a0a46
cmp ecx, 0xabf488c2
jne 0x4a0740
mov ebx, ebp
mov ebp, esi
mov eax, dword [0x5c4dbc]
lea edx, [eax + 1]
imul edx, eax
mov esi, edx
xor esi, 0xfffffffe
mov eax, 0x8631f889
mov ecx, 0xd2ae4db3
mov edi, 0x8631f889
test esi, edx
sete dl
je 0x4a08e4
mov edi, 0xd2ae4db3
cmp dword [0x5c4db8], 0xa
cmovl ecx, edi
setl dh
xor dl, dh
cmovne ecx, eax
mov esi, ebp
mov ebp, ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohs]
jmp 0x4a0740
cmp ecx, 0x59f1af23
je 0x4a0710
cmp ecx, 0x5fb130e0
jne 0x4a0740
movzx eax, word [ebp + 2]
push eax
call ebx
movzx eax, ax
mov dword [esi], eax
mov ecx, 0xf15b984d
jmp 0x4a0740
mov eax, dword [0x5c4dbc]
lea edx, [eax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
mov eax, 0xff5f9f45
mov ecx, 0x8b3782f4
mov edi, 0xff5f9f45
cmp edx, 0xffffffff
sete dl
je 0x4a095f
mov edi, 0x8b3782f4
cmp dword [0x5c4db8], 0xa
setl dh
cmovl ecx, edi
xor dh, dl
cmovne ecx, eax
mov dword [esp + 4], 0
jmp 0x4a0740
push 0x401
push 0
lea edi, [esp + 0x14]
push edi
call fcn.0058e190
sub esp, 0x10
vmovaps xmm0, xmmword [0x5abfd0]
vmovups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], edi
mov eax, dword [esp + 0x448]
mov dword [esp + 4], eax
mov dword [esp], ebp
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov ecx, 0x59f1af23
test eax, eax
je 0x4a0740
mov ecx, 0x4e14e9c6
jmp 0x4a0740
mov eax, dword [esp + 4]
and al, 1
mov byte [esp + 3], al
mov eax, dword [0x5c4dbc]
lea edx, [eax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
mov eax, 0xb7fb8a35
mov ecx, 0xd2ae4db3
mov edi, 0xb7fb8a35
cmp edx, 0xffffffff
sete dl
je 0x4a072e
mov edi, 0xd2ae4db3
jmp 0x4a072e
mov ecx, 0x3c21607
mov dword [esp + 4], 0
jmp 0x4a0740
mov eax, dword [esp + 8]
mov ecx, 0x5fb130e0
cmp eax, 2
je 0x4a0740
mov ecx, 0xcee107c6
jmp 0x4a0740
mov ecx, 0xabf488c2
jmp 0x4a0740
movzx eax, word [ebp + 2]
push eax
call ebx
movzx eax, ax
mov dword [esi], eax
mov ecx, 0x4f11e92f
jmp 0x4a0740
cmp ecx, 0xb7fb8a35
jne 0x4a0740
movzx ebx, byte [esp + 3]
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.005892d5
mov eax, ebx
add esp, 0x414
pop esi
pop edi
pop ebx
pop ebp
ret