Function at 0x40fa80
Capabilities:
Create directory
Delete file
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x418958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push 0x422d0c
push 0x422248
push eax
xor ebx, ebx
call sub.MFC42.DLL_operator_1
mov ecx, 0x422c90
call fcn.00402730
mov ecx, dword [0x422cf4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x422d0c
call sub.MFC42.DLL_CString::CString_1
lea esi, [ebp + 8]
mov ecx, esi
call fcn.00404670
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x24], edi
jne 0x40fb57
push 0x422d0c
lea edx, [esp + 0x28]
push 0x422248
push edx
call sub.MFC42.DLL_operator_1
push ecx
mov dword [esp + 0x1f8], ebx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x422240
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov ecx, 0x422c90
call fcn.00402730
lea ecx, [esp + 0x24]
mov dword [esp + 0x1f4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, ebx
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1e8
ret
push 0x422d44
lea edx, [esp + 0x170]
push 0x4211d4
push edx
mov dword [esp + 0x170], 0x1d5d
mov dword [esp + 0x174], ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x164]
mov ecx, esi
push 0x88
push eax
push edi
call fcn.00404800
test eax, eax
jne 0x40fba6
push edi
call dword [sym.imp.WSOCK32.dll_closesocket]
jmp 0x40fb3c
push 0
lea ecx, [esp + 0x20]
push 4
push ecx
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jle 0x40fb3c
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x40ffaf
lea edx, [eax + eax*8]
lea eax, [eax + edx*4]
shl eax, 3
push eax
call sub.MFC42.DLL_operatornew
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x28], esi
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*4]
mov ecx, 0x422c98
shl edx, 3
push edx
push esi
push edi
call fcn.004048b0
test eax, eax
jne 0x40fc16
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x40fb3c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x422cc0]
lea ecx, [esp + 0x18]
push eax
push str._snetjobplugins
push ecx
mov dword [esp + 0x200], 1
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
push 0
push edx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
test eax, eax
jge 0x40fc8a
push str.netjob
lea eax, [esp + 0x18]
push 0x422cc0
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push eax
call esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
push 0
push ecx
call esi
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x40ff17
mov dword [esp + 0x34], esi
mov bl, 2
mov esi, dword [esp + 0x34]
mov ecx, 0x4a
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x18]
push str._s_d.rar
push ecx
mov byte [esp + 0x204], bl
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.MSVCRT.dll__access]
push 0
push edx
call esi
add esp, 0x18
test eax, eax
jl 0x40fcfd
cmp dword [esp + 0x3c], 0x7d
jne 0x40fd80
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x422c90
call fcn.00402730
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push 0
push ecx
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x204], 3
call sub.MFC42.DLL_CString::CString_2
push 0x646
mov ecx, ebp
mov byte [esp + 0x204], bl
call fcn.00413820
test eax, eax
push ecx
je 0x40fed3
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
push str.down
push ecx
call sub.MFC42.DLL_operator_1
mov ecx, 0x422c90
call fcn.00402730
lea eax, [esp + 0xe2]
push 0
push eax
call esi
add esp, 8
test eax, eax
jl 0x40fe9d
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xe2]
push ecx
push edx
lea eax, [esp + 0x34]
push str._dinstall_to__s
push eax
mov byte [esp + 0x204], 4
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x422c90
call fcn.00402730
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xe2]
push eax
push ecx
lea edx, [esp + 0x38]
push str.x__y___s____s___pwolf007
push edx
mov byte [esp + 0x204], 5
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0xe6]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x200], 6
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x1fc], 5
call fcn.004146f0
test eax, eax
jge 0x40fe7c
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4224b4
push edx
push ecx
call sub.MFC42.DLL_operator_2
mov ecx, 0x422c90
call fcn.00402730
lea ecx, [esp + 0x30]
mov byte [esp + 0x1f4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f4], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
inc eax
add edx, 0x128
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
jl 0x40fca4
jmp 0x40ff0f
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x24], esp
push ecx
push 0x4224a8
push eax
call sub.MFC42.DLL_operator_1
mov ecx, 0x422c90
call fcn.00402730
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f4], 1
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
push esi
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add esp, 4
cmp esi, eax
jge 0x40ff9b
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push esi
push str._d__d
push ecx
mov byte [esp + 0x204], 7
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, 0x422c90
call fcn.00402730
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x1f4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40fb3e
lea ecx, [esp + 0x18]
mov dword [esp + 0x1f4], 0xffffffff
call sub.MFC42.DLL_CString::CString
push edi
call dword [sym.imp.WSOCK32.dll_closesocket]
mov eax, 1
jmp 0x40fb3e