Function at 0x446f80
Capabilities:
Receive data
Receive data on socket
Resolve dns
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
sub esp, 0xc4c
mov eax, dword [0x4cbba0]
mov edx, dword [esp + 0xc84]
xor eax, esp
push ebx
push ebp
mov dword [esp + 0xc50], eax
mov eax, dword [esp + 0xc58]
mov ebp, ecx
mov ecx, dword [esp + 0xc88]
push esi
mov esi, dword [esp + 0xc64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc94]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc98]
push edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.MSVCR71.dll_rand]
mov edx, eax
xor eax, eax
mov ecx, 0x180
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x24], edx
cdq
mov cl, 8
mov dword [esp + 0x18], 0x48
mov byte [esp + 0x5f], 0x60
mov byte [esp + 0x5e], 0x39
mov byte [esp + 0x5d], 0x20
mov byte [esp + 0x5c], 0x54
mov byte [esp + 0x5b], 0x34
mov byte [esp + 0x5a], 8
mov byte [esp + 0x59], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x67], 0x6a
mov byte [esp + 0x66], bl
mov byte [esp + 0x65], bl
mov byte [esp + 0x64], bl
mov byte [esp + 0x6b], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x6a], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x69], al
call fcn.004a1b50
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov byte [esp + 0x68], al
mov eax, dword [esi + 4]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xc6c]
mov dword [esp + 0x78], edx
cdq
mov dword [esp + 0x74], ecx
mov cl, 8
mov byte [esp + 0x83], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x82], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x81], al
call fcn.004a1b50
mov byte [esp + 0x80], al
mov eax, dword [esp + 0xc70]
cdq
mov cl, 8
mov byte [esp + 0x87], al
call fcn.004a1b50
mov byte [esp + 0x86], al
mov cl, 8
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x85], al
call fcn.004a1b50
mov byte [esp + 0x84], al
mov eax, dword [esp + 0xc74]
cdq
mov cl, 8
mov byte [esp + 0x8b], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x8a], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x89], al
call fcn.004a1b50
mov byte [esp + 0x88], al
movzx eax, word [esp + 0xc78]
cdq
mov cl, 8
mov byte [esp + 0x8d], al
call fcn.004a1b50
mov byte [esp + 0x8c], al
movzx eax, word [esp + 0xc7c]
cdq
mov cl, 8
mov byte [esp + 0x8f], al
call fcn.004a1b50
mov byte [esp + 0x8e], al
mov eax, dword [esp + 0xc80]
cdq
mov cl, 8
mov byte [esp + 0x93], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x92], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x91], al
call fcn.004a1b50
mov byte [esp + 0x90], al
mov eax, dword [esp + 0xc84]
xor edx, edx
mov cl, 8
mov byte [esp + 0x97], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x96], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x95], al
call fcn.004a1b50
mov byte [esp + 0x94], al
mov eax, dword [esp + 0xc88]
xor edx, edx
mov cl, 8
mov byte [esp + 0x9b], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x9a], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x99], al
call fcn.004a1b50
mov byte [esp + 0x98], al
mov eax, dword [esp + 0xc8c]
xor edx, edx
mov cl, 8
mov byte [esp + 0x9f], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x9e], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x9d], al
call fcn.004a1b50
lea ecx, [esp + 0x64]
push 0x3c
push ecx
mov byte [esp + 0xa4], al
lea ecx, [ebp + 0x10c8]
call fcn.00402fa0
cdq
mov cl, 8
mov byte [esp + 0x63], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x62], al
call fcn.004a1b50
mov cl, 8
mov byte [esp + 0x61], al
call fcn.004a1b50
mov byte [esp + 0x60], al
cmp dword [ebp + 0x1bb8], ebx
push 0x48
je 0x4472d7
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x6a]
push eax
call dword [sym.imp.MSVCR71.dll_memmove]
lea ecx, [ebp + 0x1bbc]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov cx, word [ecx + 8]
add esp, 0xc
mov dword [esp + 0x58], edx
push 0x48
lea edx, [esp + 0x66]
mov word [esp + 0x64], cx
push edx
lea ecx, [ebp + 0x1bc8]
mov dword [esp + 0x64], eax
call fcn.00487f10
mov dword [esp + 0x18], 0x52
jmp 0x4472e7
lea eax, [esp + 0x5c]
push eax
lea ecx, [ebp + 0x14cc]
call fcn.00487f10
push 2
mov ecx, ebp
call fcn.0043ef50
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x2c], edi
je 0x447486
mov edx, dword [esp + 0xc64]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
push edx
mov dword [esp + 0x48], ecx
mov word [esp + 0x3c], 2
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x10]
push esi
mov word [esp + 0x3e], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x3c], eax
jne 0x447359
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x4474a3
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], 5
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push 0x10
lea eax, [esp + 0x3c]
push eax
push ebx
push ecx
lea edx, [esp + 0x68]
push edx
dec esi
push edi
mov dword [esp + 0x28], esi
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esp + 0x14], 0x14
jmp 0x447390
mov esi, dword [esp + 0x14]
dec esi
push 0x64
mov ecx, ebp
mov dword [esp + 0x18], esi
call fcn.0043ee60
cmp eax, 0x42b
je 0x4474a3
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebx
push 0x5fc
lea edx, [esp + 0x668]
push edx
push edi
mov dword [esp + 0x4c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
cmp esi, 0x18
jl 0x447472
cmp dword [ebp + 0x1bb8], ebx
je 0x447431
push 0xa
lea eax, [esp + 0x65c]
lea edi, [ebp + 0x1be4]
push eax
mov ecx, edi
call fcn.00487de0
sub esi, 0xa
push esi
lea ecx, [esp + 0x666]
push ecx
lea edx, [esp + 0x660]
push edx
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
push esi
lea eax, [esp + 0x65c]
push eax
mov ecx, edi
call fcn.00487f40
mov edi, dword [esp + 0x2c]
jmp 0x447445
push esi
lea ecx, [esp + 0x65c]
push ecx
lea ecx, [ebp + 0x14cc]
call fcn.00487f40
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push esi
lea ecx, [esp + 0x670]
push ecx
mov ecx, ebp
call fcn.00446c40
test eax, eax
jne 0x4474ac
cmp dword [esp + 0x14], ebx
jg 0x447390
cmp dword [esp + 0x10], ebx
jg 0x447361
xor eax, eax
mov ecx, dword [esp + 0xc58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0xc4c
ret 0x40
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x447486
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 1
jmp 0x447488