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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e855b
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x5200a8]
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 0x404080
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.004039e0
cmp dword [edi + 0x28], 0xa
jne 0x4033e4
cmp dword [edi + 0x40], 0x40
jne 0x4033e4
lea ecx, [ebp - 0x80]
call fcn.00403c10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xa4], 0x948e97d1
mov dword [ebp - 0xa0], 0x9a948e9e
mov word [ebp - 0x9c], 0xc2
mov byte [ebp - 0x9a], 1
mov dword [ebp - 0x98], 0x979896d1
mov dword [ebp - 0x94], 0x100c19e
mov dword [ebp - 0x90], 0x899890d1
mov dword [ebp - 0x8c], 0x100c193
mov dword [ebp - 0x88], 0x889c8ed1
mov word [ebp - 0x84], 0xc6
mov byte [ebp - 0x82], 1
mov dword [ebp - 0xb4], 0x9f898183
mov dword [ebp - 0xb0], 0x979395c6
mov word [ebp - 0xac], 0x8b
mov byte [ebp - 0xaa], 1
call fcn.00403500
mov esi, eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xb4]
call fcn.00403490
push esi
push eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
push dword [ebp - 0xbc]
call fcn.00407740
lea ecx, [ebp - 0x258]
call fcn.00404b30
lea ecx, [ebp - 0x270]
call fcn.00404b30
lea eax, [edi + 0x48]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.00405da0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x2e8]
call fcn.00403570
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00405da0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x2b8]
call fcn.00403570
push edi
push eax
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 7
push eax
call fcn.00405da0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa4]
mov edx, eax
push ecx
lea ecx, [ebp - 0x288]
call fcn.004036c0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00405da0
add esp, 0x3c
lea ecx, [ebp - 0x288]
call fcn.00404b30
lea ecx, [ebp - 0x2a0]
call fcn.00404b30
lea ecx, [ebp - 0x2b8]
call fcn.00404b30
lea ecx, [ebp - 0x2d0]
call fcn.00404b30
lea ecx, [ebp - 0x2e8]
call fcn.00404b30
lea ecx, [ebp - 0x300]
call fcn.00404b30
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call fcn.00404b30
sub esp, 0x18
lea eax, [edi + 0x78]
mov ecx, esp
mov dword [ebp - 0xbc], esp
push eax
call fcn.00404c30
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [edi + 0x60]
mov dword [ebp - 0xc0], esp
mov ecx, esp
push eax
call fcn.00404c30
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.00404c30
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call fcn.00403830
add esp, 0x48
mov byte [ebp - 4], 0x14
call fcn.004039e0
push 0
push 1
sub esp, 0x28
lea edx, [ebp - 0x50]
mov eax, esp
lea ecx, [ebp - 0x20]
mov dword [eax + 0x24], 0
call fcn.00406080
add esp, 0x20
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.004043e0
mov ecx, edi
call fcn.00402d70
push str.success
lea ecx, [ebp - 0x20]
call fcn.00405e30
xor edx, edx
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
cmp byte [ecx], dl
lea ecx, [ebp - 0x20]
je 0x403191
push str.sessionid
call fcn.00405e30
push eax
lea ecx, [edi + 0x1c0]
call fcn.00405fb0
sub esp, 0x10
lea ecx, [ebp - 0x20]
mov esi, esp
push str.appinfo
call fcn.00405e30
push eax
mov ecx, esi
call fcn.004043e0
mov ecx, edi
call fcn.00402c30
lea ecx, [ebp - 0x20]
call fcn.00404370
lea ecx, [ebp - 0x50]
call fcn.00404b30
lea ecx, [ebp - 0x68]
call fcn.00404b30
lea ecx, [ebp - 0x80]
call fcn.00404b30
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.004e635f
mov esp, ebp
pop ebp
ret
push str.message
call fcn.00405e30
mov ebx, eax
mov byte [ebp - 4], 0x16
xorps xmm0, xmm0
push 0x18
movq qword [ebp - 0xa0], xmm0
mov byte [ebp - 0xa8], 3
call fcn.004e636d
add esp, 4
mov edi, eax
mov ecx, edi
push 0xa
push str.invalidver
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
call fcn.00405310
test edi, edi
jne 0x403229
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push 0x3a1
push str.C:UsersMustafaDesktopNew_folder__3_keyauth_cpp_library_main_nlohmannjson.hpp
push str.object___nullptr
call esi
push 0x4ca
push str.C:UsersMustafaDesktopNew_folder__3_keyauth_cpp_library_main_nlohmannjson.hpp
push str.m_type___value_t::string__m_value.string___nullptr
mov dword [ebp - 0xa0], edi
call esi
push 0x4ca
push str.C:UsersMustafaDesktopNew_folder__3_keyauth_cpp_library_main_nlohmannjson.hpp
push str.m_type___value_t::string__m_value.string___nullptr
call esi
add esp, 0x24
jmp 0x40322f
mov dword [ebp - 0xa0], edi
lea edx, [ebp - 0xa8]
mov ecx, ebx
call fcn.00407390
lea ecx, [ebp - 0xa8]
mov bl, al
call fcn.00404370
mov byte [ebp - 4], 0x15
test bl, bl
je 0x403155
push str.download
lea ecx, [ebp - 0x20]
call fcn.00405e30
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.00405fe0
mov edx, 0x517b5b
lea ecx, [ebp - 0x38]
call fcn.00405df0
test al, al
je 0x4033c0
movaps xmm0, xmmword [0x519860]
lea ecx, [ebp - 0x240]
movups xmmword [ebp - 0x240], xmm0
push 0x10
movaps xmm0, xmmword [0x5198b0]
movups xmmword [ebp - 0x230], xmm0
push 0
movaps xmm0, xmmword [0x5196c0]
movups xmmword [ebp - 0x220], xmm0
mov dword [ebp - 0x110], 0x53455c44
movaps xmm0, xmmword [0x519780]
movups xmmword [ebp - 0x210], xmm0
mov word [ebp - 0x10c], 5
movaps xmm0, xmmword [0x519740]
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 [0x5197a0]
movups xmmword [ebp - 0x1e0], xmm0
movaps xmm0, xmmword [0x5196e0]
movups xmmword [ebp - 0x1d0], xmm0
movaps xmm0, xmmword [0x519920]
movups xmmword [ebp - 0x1c0], xmm0
movaps xmm0, xmmword [0x519930]
movups xmmword [ebp - 0x1b0], xmm0
movaps xmm0, xmmword [0x519900]
movups xmmword [ebp - 0x1a0], xmm0
movaps xmm0, xmmword [0x519910]
movups xmmword [ebp - 0x190], xmm0
movaps xmm0, xmmword [0x5198f0]
movups xmmword [ebp - 0x180], xmm0
movaps xmm0, xmmword [0x5198e0]
movups xmmword [ebp - 0x170], xmm0
movaps xmm0, xmmword [0x5198c0]
movups xmmword [ebp - 0x160], xmm0
movaps xmm0, xmmword [0x5198d0]
movups xmmword [ebp - 0x150], xmm0
movaps xmm0, xmmword [0x519850]
movups xmmword [ebp - 0x140], xmm0
movaps xmm0, xmmword [0x5198a0]
movups xmmword [ebp - 0x130], xmm0
movaps xmm0, xmmword [0x519790]
movups xmmword [ebp - 0x120], xmm0
call fcn.004037a0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4033dc
push 1
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.00404970
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 [0x519710]
lea ecx, [ebp - 0x108]
movups xmmword [ebp - 0x108], xmm0
push 0x10
movaps xmm0, xmmword [0x519760]
movups xmmword [ebp - 0xf8], xmm0
push 0
movaps xmm0, xmmword [0x5197c0]
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xc8], 0x5917565e
movaps xmm0, xmmword [0x5197f0]
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc4], 0x1004c4b
call fcn.00403460
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