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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfb38
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x4f6140]
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.00409aa0
lea ecx, [ebp - 0x50]
call fcn.00406750
lea ecx, [ebp - 0x258]
call fcn.00406750
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.00406750
lea ecx, [ebp - 0x288]
call fcn.00406750
lea ecx, [ebp - 0x2a0]
call fcn.00406750
lea ecx, [ebp - 0x2b8]
call fcn.00406750
lea ecx, [ebp - 0x2d0]
call fcn.00406750
lea ecx, [ebp - 0x2e8]
call fcn.00406750
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call fcn.00406750
sub esp, 0x18
lea eax, [edi + 0x78]
mov ecx, esp
mov dword [ebp - 0xbc], esp
push eax
call fcn.00406850
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [edi + 0x60]
mov dword [ebp - 0xc0], esp
mov ecx, esp
push eax
call fcn.00406850
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00406850
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.00406750
lea ecx, [ebp - 0x50]
call fcn.00406750
lea ecx, [ebp - 0x80]
call fcn.00406750
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.004bd65f
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.004bd66d
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.00407090
lea ecx, [ebp - 0x90]
call fcn.00407090
lea edx, [ebp - 0x90]
mov ecx, edi
call fcn.00409660
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, 0x4ebf0b
lea ecx, [ebp - 0x38]
call fcn.00407c50
test al, al
je 0x403db8
movaps xmm0, xmmword [0x4edcb0]
lea ecx, [ebp - 0x240]
movups xmmword [ebp - 0x240], xmm0
push 0x10
movaps xmm0, xmmword [0x4edd00]
movups xmmword [ebp - 0x230], xmm0
push 0
movaps xmm0, xmmword [0x4edb10]
movups xmmword [ebp - 0x220], xmm0
mov dword [ebp - 0x110], 0x53455c44
movaps xmm0, xmmword [0x4edbd0]
movups xmmword [ebp - 0x210], xmm0
mov word [ebp - 0x10c], 5
movaps xmm0, xmmword [0x4edb90]
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 [0x4edbf0]
movups xmmword [ebp - 0x1e0], xmm0
movaps xmm0, xmmword [0x4edb30]
movups xmmword [ebp - 0x1d0], xmm0
movaps xmm0, xmmword [0x4edd70]
movups xmmword [ebp - 0x1c0], xmm0
movaps xmm0, xmmword [0x4edd80]
movups xmmword [ebp - 0x1b0], xmm0
movaps xmm0, xmmword [0x4edd50]
movups xmmword [ebp - 0x1a0], xmm0
movaps xmm0, xmmword [0x4edd60]
movups xmmword [ebp - 0x190], xmm0
movaps xmm0, xmmword [0x4edd40]
movups xmmword [ebp - 0x180], xmm0
movaps xmm0, xmmword [0x4edd30]
movups xmmword [ebp - 0x170], xmm0
movaps xmm0, xmmword [0x4edd10]
movups xmmword [ebp - 0x160], xmm0
movaps xmm0, xmmword [0x4edd20]
movups xmmword [ebp - 0x150], xmm0
movaps xmm0, xmmword [0x4edca0]
movups xmmword [ebp - 0x140], xmm0
movaps xmm0, xmmword [0x4edcf0]
movups xmmword [ebp - 0x130], xmm0
movaps xmm0, xmmword [0x4edbe0]
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.00406590
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 [0x4edb60]
lea ecx, [ebp - 0x108]
movups xmmword [ebp - 0x108], xmm0
push 0x10
movaps xmm0, xmmword [0x4edbb0]
movups xmmword [ebp - 0xf8], xmm0
push 0
movaps xmm0, xmmword [0x4edc10]
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xc8], 0x5917565e
movaps xmm0, xmmword [0x4edc40]
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