Function at 0x403870
Capabilities:
Create process on windows
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2818
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x4fd140]
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
mov edi, ecx
push 0
push 0
push 0
push 0x405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.00404c50
cmp dword [edi + 0x28], 0xa
jne 0x403ddc
cmp dword [edi + 0x40], 0x40
jne 0x403ddc
lea ecx, [ebp - 0x80]
call fcn.004057e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x8c], 0x948e97d1
mov dword [ebp - 0x88], 0x9a948e9e
mov word [ebp - 0x84], 0xc2
mov byte [ebp - 0x82], 1
mov dword [ebp - 0xa8], 0x979896d1
mov dword [ebp - 0xa4], 0x100c19e
mov dword [ebp - 0xa0], 0x899890d1
mov dword [ebp - 0x9c], 0x100c193
mov dword [ebp - 0x98], 0x889c8ed1
mov word [ebp - 0x94], 0xc6
mov byte [ebp - 0x92], 1
mov dword [ebp - 0xb4], 0x9f898183
mov dword [ebp - 0xb0], 0x979395c6
mov word [ebp - 0xac], 0x8b
mov byte [ebp - 0xaa], 1
call fcn.00404060
mov esi, eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xb4]
call fcn.00403ff0
push esi
push eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
push dword [ebp - 0xbc]
call fcn.00409940
lea ecx, [ebp - 0x50]
call fcn.00406760
lea ecx, [ebp - 0x258]
call fcn.00406760
lea eax, [edi + 0x48]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.00407be0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x2d0]
call fcn.004040d0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.00407be0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x2a0]
call fcn.004040d0
push edi
push eax
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 7
push eax
call fcn.00407be0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8c]
mov edx, eax
push ecx
lea ecx, [ebp - 0x270]
call fcn.00404220
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00407be0
add esp, 0x3c
lea ecx, [ebp - 0x270]
call fcn.00406760
lea ecx, [ebp - 0x288]
call fcn.00406760
lea ecx, [ebp - 0x2a0]
call fcn.00406760
lea ecx, [ebp - 0x2b8]
call fcn.00406760
lea ecx, [ebp - 0x2d0]
call fcn.00406760
lea ecx, [ebp - 0x2e8]
call fcn.00406760
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call fcn.00406760
sub esp, 0x18
lea eax, [edi + 0x78]
mov ecx, esp
mov dword [ebp - 0xbc], esp
push eax
call fcn.00406860
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [edi + 0x60]
mov dword [ebp - 0xc0], esp
mov ecx, esp
push eax
call fcn.00406860
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00406860
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x11
call fcn.00404aa0
add esp, 0x48
mov byte [ebp - 4], 0x14
call fcn.00404c50
push 0
push 1
sub esp, 0x28
lea edx, [ebp - 0x68]
mov eax, esp
lea ecx, [ebp - 0x20]
mov dword [eax + 0x24], 0
call fcn.00407f10
add esp, 0x20
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.00405fa0
mov ecx, edi
call fcn.004033d0
push str.success
lea ecx, [ebp - 0x20]
call fcn.00407c90
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
cmp byte [ecx], dl
lea ecx, [ebp - 0x20]
je 0x403bbb
push str.sessionid
call fcn.00407c90
push eax
lea ecx, [edi + 0x1c0]
call fcn.00407e10
sub esp, 0x10
lea ecx, [ebp - 0x20]
mov esi, esp
push str.appinfo
call fcn.00407c90
push eax
mov ecx, esi
call fcn.00405fa0
mov ecx, edi
call fcn.00403290
lea ecx, [ebp - 0x20]
call fcn.00405f30
lea ecx, [ebp - 0x68]
call fcn.00406760
lea ecx, [ebp - 0x50]
call fcn.00406760
lea ecx, [ebp - 0x80]
call fcn.00406760
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.004c053f
mov esp, ebp
pop ebp
ret
push str.message
call fcn.00407c90
mov edi, eax
mov byte [ebp - 4], 0x16
xorps xmm0, xmm0
push 0x18
movq qword [ebp - 0x88], xmm0
mov byte [ebp - 0x90], 3
call fcn.004c054d
add esp, 4
mov esi, eax
mov ecx, esi
push 0xa
push str.invalidver
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00407140
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x88], esi
call fcn.004070a0
lea ecx, [ebp - 0x90]
call fcn.004070a0
lea edx, [ebp - 0x90]
mov ecx, edi
call fcn.00409570
lea ecx, [ebp - 0x90]
mov bl, al
call fcn.00405f30
mov byte [ebp - 4], 0x15
test bl, bl
je 0x403b7f
push str.download
lea ecx, [ebp - 0x20]
call fcn.00407c90
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.00407e40
mov edx, 0x4f2e3b
lea ecx, [ebp - 0x38]
call fcn.00407c50
test al, al
je 0x403db8
movaps xmm0, xmmword [0x4f4be0]
lea ecx, [ebp - 0x240]
movups xmmword [ebp - 0x240], xmm0
push 0x10
movaps xmm0, xmmword [0x4f4c30]
movups xmmword [ebp - 0x230], xmm0
push 0
movaps xmm0, xmmword [0x4f4a40]
movups xmmword [ebp - 0x220], xmm0
mov dword [ebp - 0x110], 0x53455c44
movaps xmm0, xmmword [0x4f4b00]
movups xmmword [ebp - 0x210], xmm0
mov word [ebp - 0x10c], 5
movaps xmm0, xmmword [0x4f4ac0]
movups xmmword [ebp - 0x200], xmm0
mov byte [ebp - 0x10a], 1
movaps xmm0, xmmword [str.gj_____0_7t__]
movups xmmword [ebp - 0x1f0], xmm0
movaps xmm0, xmmword [0x4f4b20]
movups xmmword [ebp - 0x1e0], xmm0
movaps xmm0, xmmword [0x4f4a60]
movups xmmword [ebp - 0x1d0], xmm0
movaps xmm0, xmmword [0x4f4ca0]
movups xmmword [ebp - 0x1c0], xmm0
movaps xmm0, xmmword [0x4f4cb0]
movups xmmword [ebp - 0x1b0], xmm0
movaps xmm0, xmmword [0x4f4c80]
movups xmmword [ebp - 0x1a0], xmm0
movaps xmm0, xmmword [0x4f4c90]
movups xmmword [ebp - 0x190], xmm0
movaps xmm0, xmmword [0x4f4c70]
movups xmmword [ebp - 0x180], xmm0
movaps xmm0, xmmword [0x4f4c60]
movups xmmword [ebp - 0x170], xmm0
movaps xmm0, xmmword [0x4f4c40]
movups xmmword [ebp - 0x160], xmm0
movaps xmm0, xmmword [0x4f4c50]
movups xmmword [ebp - 0x150], xmm0
movaps xmm0, xmmword [0x4f4bd0]
movups xmmword [ebp - 0x140], xmm0
movaps xmm0, xmmword [0x4f4c20]
movups xmmword [ebp - 0x130], xmm0
movaps xmm0, xmmword [0x4f4b10]
movups xmmword [ebp - 0x120], xmm0
call fcn.00404300
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403dd4
push 1
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.004065a0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movaps xmm0, xmmword [0x4f4a90]
lea ecx, [ebp - 0x108]
movups xmmword [ebp - 0x108], xmm0
push 0x10
movaps xmm0, xmmword [0x4f4ae0]
movups xmmword [ebp - 0xf8], xmm0
push 0
movaps xmm0, xmmword [0x4f4b40]
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xc8], 0x5917565e
movaps xmm0, xmmword [0x4f4b70]
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc4], 0x1004c4b
call fcn.00403e50
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3