Function at 0x47a380
Capabilities:
Resolve dns
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x5c2d08
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x617560]
xor eax, esp
mov dword [esp + 0x44], eax
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [0x636fb0]
test eax, eax
jne 0x47a3db
push 0x8490
call fcn.004c51db
add esp, 4
test eax, eax
je 0x47a3d4
mov esi, eax
call fcn.00448c70
jmp 0x47a3d6
xor eax, eax
mov dword [0x636fb0], eax
mov esi, dword [0x636fb4]
mov ebp, eax
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.0044efa0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
push eax
mov word [esp + 0x26], 0x271c
mov word [esp + 0x24], 0x28
mov dword [esp + 0x2c], 0xfed8d0e6
call edi
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xd4]
push eax
call fcn.004e55b9
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov word [esp + 0x3c], ax
add esp, 4
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov eax, 3
movzx ecx, byte [esp + eax + 0x1c]
add dword [esp + 0x1c], ecx
add eax, 1
cmp eax, 0x28
jb 0x47a472
push 0xf61b
mov word [esp + 0x48], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x46], ax
mov eax, dword [esi + 0x70]
push eax
call edi
or edi, 0xffffffff
cmp eax, edi
mov dword [esp + 0x48], eax
jne 0x47a58d
mov esi, dword [esi + 0x70]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x47a575
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47a4db
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x573
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x68], 1
call fcn.0041d1c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 2
call fcn.00404e20
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47a532
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push 0
push 0
push esi
call fcn.004c72d6
lea eax, [esi - 0x10]
mov byte [esp + 0x60], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a560
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
jmp 0x47a5bd
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.004f0e70
add esp, 0xc
mov ecx, dword [ebp + 0x8488]
push 0x10
lea edx, [esp + 0x48]
push edx
push 0
push 0x28
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x47a5cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004e3dc3
add esp, 0x54
ret 8