Function at 0x43b9b0
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 [0x4bc410]
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.00496e10
mov cl, 8
mov byte [esp + 0x6a], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x69], al
call fcn.00496e10
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.00496e10
mov cl, 8
mov byte [esp + 0x82], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x81], al
call fcn.00496e10
mov byte [esp + 0x80], al
mov eax, dword [esp + 0xc70]
cdq
mov cl, 8
mov byte [esp + 0x87], al
call fcn.00496e10
mov byte [esp + 0x86], al
mov cl, 8
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x85], al
call fcn.00496e10
mov byte [esp + 0x84], al
mov eax, dword [esp + 0xc74]
cdq
mov cl, 8
mov byte [esp + 0x8b], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x8a], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x89], al
call fcn.00496e10
mov byte [esp + 0x88], al
movzx eax, word [esp + 0xc78]
cdq
mov cl, 8
mov byte [esp + 0x8d], al
call fcn.00496e10
mov byte [esp + 0x8c], al
movzx eax, word [esp + 0xc7c]
cdq
mov cl, 8
mov byte [esp + 0x8f], al
call fcn.00496e10
mov byte [esp + 0x8e], al
mov eax, dword [esp + 0xc80]
cdq
mov cl, 8
mov byte [esp + 0x93], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x92], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x91], al
call fcn.00496e10
mov byte [esp + 0x90], al
mov eax, dword [esp + 0xc84]
xor edx, edx
mov cl, 8
mov byte [esp + 0x97], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x96], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x95], al
call fcn.00496e10
mov byte [esp + 0x94], al
mov eax, dword [esp + 0xc88]
xor edx, edx
mov cl, 8
mov byte [esp + 0x9b], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x9a], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x99], al
call fcn.00496e10
mov byte [esp + 0x98], al
mov eax, dword [esp + 0xc8c]
xor edx, edx
mov cl, 8
mov byte [esp + 0x9f], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x9e], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x9d], al
call fcn.00496e10
lea ecx, [esp + 0x64]
push 0x3c
push ecx
mov byte [esp + 0xa4], al
lea ecx, [ebp + 0x10c8]
call fcn.00402fc0
cdq
mov cl, 8
mov byte [esp + 0x63], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x62], al
call fcn.00496e10
mov cl, 8
mov byte [esp + 0x61], al
call fcn.00496e10
mov byte [esp + 0x60], al
cmp dword [ebp + 0x1bb8], ebx
push 0x48
je 0x43bd07
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.0047cfa0
mov dword [esp + 0x18], 0x52
jmp 0x43bd17
lea eax, [esp + 0x5c]
push eax
lea ecx, [ebp + 0x14cc]
call fcn.0047cfa0
push 2
mov ecx, ebp
call fcn.00435510
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
je 0x43bd92
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 edi, dword [esp + 0x10]
push edi
mov word [esp + 0x3e], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x3c], eax
jne 0x43bd81
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x43bd8b
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], 5
jmp 0x43bdb3
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
mov ecx, dword [esp + 0xc58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0xc4c
ret 0x40
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
push 0x10
lea eax, [esp + 0x3c]
push eax
push ebx
push ecx
lea edx, [esp + 0x68]
push edx
dec edi
push esi
mov dword [esp + 0x28], edi
call dword [sym.imp.WS2_32.dll_sendto]
mov edi, 0x14
jmp 0x43bde0
mov esi, dword [esp + 0x14]
dec edi
push 0x64
mov ecx, ebp
mov dword [esp + 0x30], edi
call fcn.00435430
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebx
push 0x5fc
lea edx, [esp + 0x668]
push edx
push esi
mov dword [esp + 0x4c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
cmp esi, 0x18
jl 0x43beb3
cmp dword [ebp + 0x1bb8], ebx
je 0x43be72
push 0xa
lea eax, [esp + 0x65c]
lea edi, [ebp + 0x1be4]
push eax
mov ecx, edi
call fcn.0047ce70
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.0047cff0
mov edi, dword [esp + 0x2c]
jmp 0x43be86
push esi
lea ecx, [esp + 0x65c]
push ecx
lea ecx, [ebp + 0x14cc]
call fcn.0047cff0
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.0043b670
test eax, eax
jne 0x43beca
cmp edi, ebx
jg 0x43bddc
cmp dword [esp + 0x10], ebx
jg 0x43bdaf
jmp 0x43bd92
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 1
jmp 0x43bd94