Function at 0x41d7c2
Capabilities:
Create thread
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8a8
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [0x42cec4], eax
xor eax, eax
inc eax
je 0x41dafa
push dword [0x42cec4]
lea eax, [ebp - 0xa4]
push eax
call fcn.0041dbfb
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx eax, byte [0x42cc8e]
test eax, eax
jne 0x41d80a
jmp 0x41dafa
mov byte [ebp - 1], 0
push 0xc
call fcn.0040b8ba
pop ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x41d82f
xor eax, eax
mov edi, dword [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
jmp 0x41d833
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
imul eax, dword [ebp - 0x18], 0xc
mov eax, dword [eax + 0x42cec8]
cmp eax, dword [ebp - 0x18]
jne 0x41d858
mov byte [ebp - 1], 1
imul eax, dword [ebp - 0x18], 0xc
add eax, 0x42cec8
mov dword [ebp - 8], eax
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x41d8af
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0xc], ax
mov byte [ebp - 0xc], 5
mov byte [ebp - 0xb], 0
push dword [ebp - 0x18]
push 2
lea eax, [ebp - 0xc]
push eax
push dword [0x42cec4]
call fcn.0041db9e
add esp, 0x10
mov eax, dword [ebp - 8]
mov byte [eax + 4], 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
imul edi, dword [ebp - 0x18], 0xc
add edi, 0x42cec8
mov esi, dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x41daf5
mov eax, dword [ebp - 8]
movsx eax, byte [eax + 4]
cmp eax, 1
jne 0x41dad5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
push 0x802
push 0
lea eax, [ebp - 0x8a8]
push eax
call fcn.0040132f
add esp, 0xc
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
and dword [ebp - 0x38], 0
and dword [ebp - 0x20], 0
xor eax, eax
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax + 3]
cmp eax, 1
jne 0x41d94d
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x34], eax
push 0x802
lea eax, [ebp - 0x8a8]
push eax
push dword [ebp - 0x34]
push 2
call dword [sym.imp.WS2_32.dll_InetNtopW]
mov eax, dword [ebp - 0x10]
add eax, 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ax, word [eax]
mov word [ebp - 0x48], ax
push dword [ebp - 0x48]
push dword [ebp - 0x34]
call fcn.0041ddc2
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
jmp 0x41da72
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax + 3]
cmp eax, 3
jne 0x41da23
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x1c], eax
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x94], 2
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x8c], 6
push 0x200
call fcn.00401000
pop ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
movsx eax, byte [eax]
push eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00401309
add esp, 0xc
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x1c]
movsx eax, byte [eax]
mov ecx, dword [ebp - 0x28]
mov dl, byte [ebp - 0x4c]
mov byte [ecx + eax], dl
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x98]
push eax
push 0
push dword [ebp - 0x28]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x41d9ea
jmp 0x41da21
mov eax, dword [ebp - 0x1c]
movsx eax, byte [eax]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax + 5]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov ax, word [eax]
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
call fcn.0041ddc2
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
jmp 0x41da72
mov eax, dword [ebp - 0x2c]
movsx eax, byte [eax + 3]
cmp eax, 4
jne 0x41da72
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x3c], eax
push 0x802
lea eax, [ebp - 0x8a8]
push eax
push dword [ebp - 0x3c]
push 0x17
call dword [sym.imp.WS2_32.dll_InetNtopW]
mov eax, dword [ebp - 0x10]
add eax, 8
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov ax, word [eax]
mov word [ebp - 0x64], ax
push dword [ebp - 0x64]
push dword [ebp - 0x3c]
call fcn.0041dd40
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x74], 5
mov byte [ebp - 0x73], 0
mov byte [ebp - 0x71], 1
push dword [ebp - 0x18]
push 0xa
lea eax, [ebp - 0x74]
push eax
push dword [0x42cec4]
call fcn.0041db9e
add esp, 0x10
mov eax, dword [ebp - 8]
mov byte [eax + 4], 2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 8]
imul edi, dword [eax], 0xc
add edi, 0x42cec8
mov esi, dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
push eax
push 0
push dword [ebp - 8]
push 0x41dafe
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x41daec
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
mov eax, dword [ebp - 8]
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x78], eax
push dword [ebp - 0x10]
call fcn.00401014
pop ecx
jmp 0x41d7d5
pop edi
pop esi
leave
ret