Function at 0x41c130
Capabilities:
Create tcp socket
Create udp socket
Delete file
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Send data
Send data on socket
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44e63b
mov eax, dword fs:[0]
push eax
mov eax, 0x7d07c
call fcn.00435740
mov eax, dword [0x46414c]
xor eax, esp
mov dword [esp + 0x7d078], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x7d090]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7d0ac]
mov ebp, dword [esp + 0x7d0a8]
push 0
push 0
push 0
push 0
push 1
push 2
mov edi, ecx
mov esi, edx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x41c477
mov ecx, dword [esp + 0x7d0a0]
push ecx
push edi
call fcn.0041cac0
test eax, eax
je 0x41c477
mov edx, dword [esp + 0x7d0a4]
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0x3e8
mov dword [esp + 0x4c], edx
test ebp, ebp
je 0x41c208
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c1e8
sub eax, edx
cmp eax, 0x20
jne 0x41c208
push ebp
lea eax, [esp + 0x54]
push 0x21
push eax
call fcn.00425d47
add esp, 0xc
jmp 0x41c22e
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x70], al
mov ebx, dword [sym.imp.WS2_32.dll_send]
xor esi, esi
mov eax, dword [edi]
push 0
mov ecx, 0x34
sub ecx, esi
push ecx
lea edx, [esp + esi + 0x48]
push edx
push eax
call ebx
cmp eax, 0xffffffff
je 0x41c256
add esi, eax
cmp esi, 0x34
jl 0x41c236
mov edx, dword [edi]
push 0
push 0x14
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x41c273
xor eax, eax
jmp 0x41c47b
mov eax, 1
cmp dword [esp + 0x2c], eax
jne 0x41c477
cmp dword [esp + 0x30], 0x3e8
jne 0x41c477
cmp dword [esp + 0x38], eax
jne 0x41c477
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c477
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea eax, [esp + 0x74]
push eax
mov esi, edi
call fcn.0041c020
test eax, eax
je 0x41c396
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
mov ecx, dword [esp + 0x84]
dec ecx
cmp ecx, 0x7cfff
ja 0x41c354
mov eax, dword [esp + 0x80]
xor esi, esi
push esi
lea edx, [esp + 0x2c]
push edx
push eax
push ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x84]
push esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x94]
push edx
push ebx
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x84], 0
je 0x41c392
push 1
call ebp
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea eax, [esp + 0x74]
push eax
mov esi, edi
call fcn.0041c020
test eax, eax
jne 0x41c300
mov ebp, dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x41c46f
mov eax, ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c3b0
sub eax, edx
cmp eax, 0x20
jne 0x41c46f
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x7d098], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x32
or eax, ecx
jge 0x41c408
mov ecx, 0x32
lea eax, [esp + 0x14]
call fcn.00405c90
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, esi
mov eax, edi
call fcn.00414f70
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00425daf
add esp, 8
test eax, eax
jl 0x41c4d5
cmp eax, dword [esi - 8]
jg 0x41c4d5
push ebp
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.00425ff2
add esp, 8
test eax, eax
jne 0x41c4a5
lea eax, [esi - 0x10]
mov dword [esp + 0x7d098], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c46f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7d090]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7d078]
xor ecx, esp
call fcn.0042404d
add esp, 0x7d088
ret 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
mov dword [esp + 0x7d098], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c477
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41c477
push 0x80070057
call fcn.00401960
int3