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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x140306cc0]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov r13, rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x1400131f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140012440
cmp qword [r13 + 0x30], 0xa
jne 0x14000526d
cmp qword [r13 + 0x50], 0x40
jne 0x14000526d
xorps xmm0, xmm0
movups xmmword [rbp + 0x310], xmm0
mov qword [rbp + 0x2d0], rbx
mov qword [rbp + 0x2e0], rbx
mov qword [rbp + 0x2e8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2d0], bl
lea rcx, [rbp + 0x310]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov qword [rbp + 0x260], rbx
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x310]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
mov r15, 0xffffffffffffffff
test eax, eax
jne 0x140004763
mov rdx, qword [rbp + 0x260]
mov r8, r15
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140004740
lea rcx, [rbp + 0x2d0]
call fcn.140017350
lea rcx, [rbp + 0x260]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
mov qword [rbp + 0x2b0], rbx
mov qword [rbp + 0x2c0], rbx
mov qword [rbp + 0x2c8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2b0], 0
mov qword [rbp + 0x268], rbx
movdqa xmm0, xmmword [0x1401e82e0]
movdqu xmmword [rbp + 0x278], xmm0
mov r8d, reloc.WS2_32.dll_recv
cmp qword [rbp + 0x2e0], r8
cmovb r8, qword [rbp + 0x2e0]
lea rdx, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], 0x10
cmovae rdx, qword [rbp + 0x2d0]
lea rcx, [rbp + 0x268]
call fcn.140017350
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x2b0]
call fcn.140015a50
lea rcx, [rbp + 0x268]
call fcn.1400159f0
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x2c0]
sub rax, rcx
cmp rax, 1
jb 0x1400052d5
lea r9, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 0x10
cmovae r9, qword [rbp + 0x2b0]
mov qword [rsp + 0x30], 1
lea rax, reloc.WLDAP32.dll_Ordinal_45
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x2b0]
movzx edx, byte [rbp - 0x70]
lea rcx, [rbp + 0x268]
call fcn.14001da60
nop
lea r14, [r13 + 0x40]
mov r8, r14
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x320]
call fcn.140018dc0
lea rcx, [r13 + 0x280]
mov rdx, rax
call fcn.140015a50
lea rcx, [rbp + 0x320]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x268]
call fcn.1400159f0
lea rcx, [rbp + 0x340]
call fcn.140012c20
nop
mov dword [rsp + 0x58], 0xa1b9a2ea
mov dword [rsp + 0x5c], 0xb7bba3b5
mov word [rsp + 0x60], 0xe9
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x48], 0xa2afa3ea
mov dword [rsp + 0x4c], 0x100ecb5
mov dword [rsp + 0x70], 0xaca0a8ea
mov dword [rsp + 0x74], 0xeeabb4bb
mov word [rsp + 0x78], 0x100
mov dword [rsp + 0x50], 0xbcafa5ea
mov dword [rsp + 0x54], 0x100ecb8
mov dword [rsp + 0x40], 0xbdabbbea
mov word [rsp + 0x44], 0xed
mov byte [rsp + 0x46], 1
mov dword [rbp - 0x80], 0xaabeb4b8
mov dword [rbp - 0x7c], 0xbabcb8ed
mov word [rbp - 0x78], 0xa0
mov byte [rbp - 0x76], 1
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.1400054a0
nop
lea r8, [r13 + 0x60]
mov rdx, rax
lea rcx, [rbp + 0x200]
call fcn.140018dc0
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rbp + 0x1e0]
call fcn.140005720
nop
lea r8, [rbp + 0x340]
mov rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.140018dc0
nop
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [rbp + 0x1a0]
call fcn.1400058e0
nop
lea rdx, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 0x10
cmovae rdx, qword [rbp + 0x2b0]
mov r8, qword [rbp + 0x2c0]
mov rcx, rax
call fcn.1400158d0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x268], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x278], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x180]
call fcn.140005720
nop
mov r8, r13
mov rdx, rax
lea rcx, [rbp + 0x160]
call fcn.140018dc0
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.140005a60
nop
lea r8, [r13 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x320]
call fcn.140018dc0
nop
lea rcx, [rbp + 0x140]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x160]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x180]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x268]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x1a0]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x1c0]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x1e0]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x200]
call fcn.1400159f0
nop
lea rcx, [rbp - 0x60]
call fcn.1400159f0
lea rax, [rbp + 0x268]
mov qword [rbp - 0x10], rax
lea rdx, [r13 + 0xa0]
lea rcx, [rbp + 0x268]
call fcn.140015b70
mov rsi, rax
lea rax, [rbp + 0x220]
mov qword [rbp - 8], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp + 0x220]
call fcn.140015b70
mov rdi, rax
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x240]
call fcn.140015b70
nop
mov r9, rsi
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x2f0]
call fcn.140012200
nop
call fcn.140012440
mov qword [rbp - 0x28], rbx
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0x288]
call fcn.1400195a0
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x360]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x360]
call fcn.140014710
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x298], xmm1
mov qword [rbp + 0x2a8], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14018f190
mov qword [rbp + 0x298], rax
lea rcx, [rax + 0x20]
mov qword [rbp + 0x2a8], rcx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x2a0], rcx
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x48]
call fcn.14001c630
nop
mov rax, qword [rbp + 0x2a0]
mov rcx, qword [rbp + 0x298]
sub rax, rcx
lea r8, [rbp + 0x2f0]
cmp qword [rbp + 0x308], 0x10
cmovae r8, qword [rbp + 0x2f0]
cmp qword [r14 + 0x18], 0x10
jb 0x140004bcd
mov r14, qword [r14]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, qword [rbp + 0x300]
mov rdx, qword [r13 + 0x50]
mov rcx, r14
call fcn.140031f50
mov r12, qword [rbp + 0x2a0]
mov r14, qword [rbp + 0x298]
cmp r14, r12
je 0x140004c5e
nop dword [rax]
movzx esi, byte [r14]
lea rdx, [0x140001e30]
lea rcx, [rbp + 0x370]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdi, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call r8
mov edx, esi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
inc r14
cmp r14, r12
jne 0x140004c00
mov qword [rbp + 0x268], rbx
mov qword [rbp + 0x278], rbx
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x280], rsi
mov byte [rbp + 0x268], 0
mov dword [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_30
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rcx, qword [rbp + 0x3e8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140004cd2
mov rax, qword [rbp + 0x3b8]
mov r8, qword [rax]
test r8, r8
je 0x140004cd2
mov rax, qword [rbp + 0x398]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x3e0]
cmovb r8, qword [rbp + 0x3e0]
sub r8, rdx
jmp 0x140004d0c
test cl, 4
jne 0x140004d02
mov rax, qword [rbp + 0x3b0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140004d02
mov rax, qword [rbp + 0x390]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x3c8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140004d0c
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140004d24
lea rcx, [rbp + 0x268]
call fcn.140017350
mov rsi, qword [rbp + 0x280]
lea rdx, [rbp + 0x268]
mov rdi, qword [rbp + 0x268]
cmp rsi, 0x10
cmovae rdx, rdi
nop word [rax + rax]
inc r15
cmp byte [rdx + r15], 0
jne 0x140004d40
lea rcx, [0x140306de8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x140306de8]
mov r8, qword [0x140306df8]
cmp r8, r15
jne 0x140004d7b
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140004d7b
xor r14b, r14b
jmp 0x140004d7e
mov r14b, 1
cmp rsi, 0x10
jb 0x140004db8
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140004db0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004db0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14018f1cc
test r14b, r14b
je 0x140004dc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0x288]
lea rcx, [rsp + 0x58]
call fcn.140014ec0
mov rdx, rax
mov rcx, r13
call fcn.1400039f0
lea rdx, str.success
lea rcx, [rbp + 0x288]
call fcn.140018ea0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, rbx
cmp byte [rcx], 0
lea rcx, [rbp + 0x288]
je 0x140005035
lea rdx, [0x1401e67c8]
call fcn.140018ea0
cmp byte [rax], 3
jne 0x140004e25
mov r8, qword [rax + 8]
jmp 0x140004e28
mov r8, rbx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140004e35
mov rdx, qword [r8]
lea rcx, [r13 + 0x260]
mov r8, qword [r8 + 0x10]
call fcn.140017350
lea rdx, str.appinfo
lea rcx, [rbp + 0x288]
call fcn.140018ea0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140014ec0
mov rdi, rax
mov qword [rbp - 0x68], rax
lea rdx, str.numUsers
mov rcx, rax
call fcn.140018ea0
cmp byte [rax], 3
jne 0x140004e86
mov r8, qword [rax + 8]
jmp 0x140004e89
mov r8, rbx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140004e96
mov rdx, qword [r8]
lea rcx, [r13 + 0xc0]
mov r8, qword [r8 + 0x10]
call fcn.140017350
lea rdx, str.numOnlineUsers
mov rcx, rdi
call fcn.140018ea0
cmp byte [rax], 3
jne 0x140004ec0
mov r8, qword [rax + 8]
jmp 0x140004ec3
mov r8, rbx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140004ed0
mov rdx, qword [r8]
lea rcx, [r13 + 0xe0]
mov r8, qword [r8 + 0x10]
call fcn.140017350
lea rdx, str.numKeys
mov rcx, rdi
call fcn.140018ea0
cmp byte [rax], 3
jne 0x140004efa
mov r8, qword [rax + 8]
jmp 0x140004efd
mov r8, rbx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140004f0a
mov rdx, qword [r8]
lea rcx, [r13 + 0x100]
mov r8, qword [r8 + 0x10]
call fcn.140017350
lea rdx, str.version
mov rcx, rdi
call fcn.140018ea0
cmp byte [rax], 3
jne 0x140004f34
mov r8, qword [rax + 8]
jmp 0x140004f37
mov r8, rbx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140004f44
mov rdx, qword [r8]
lea rcx, [r13 + 0x120]
mov r8, qword [r8 + 0x10]
call fcn.140017350
lea rdx, str.customerPanelLink
mov rcx, rdi
call fcn.140018ea0
cmp byte [rax], 3
jne 0x140004f6c
mov rbx, qword [rax + 8]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140004f79
mov rdx, qword [rbx]
lea rcx, [r13 + 0x140]
mov r8, qword [rbx + 0x10]
call fcn.140017350
nop
lea rcx, [rdi + 8]
movzx edx, byte [rdi]
call fcn.140016400
nop
lea rcx, [rbp + 0x298]
call fcn.140015190
nop
lea rcx, [rbp + 0x360]
call fcn.140005e70
nop
movzx edx, byte [rbp + 0x288]
lea rcx, [rbp + 0x290]
call fcn.140016400
nop
lea rcx, [rbp + 0x2f0]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x320]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x340]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x2b0]
call fcn.1400159f0
nop
lea rcx, [rbp + 0x2d0]
call fcn.1400159f0
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.14018f8e0
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, [0x1401e63c0]
call fcn.140018ea0
mov rsi, rax
mov byte [rsp + 0x58], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14018f190
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov r8d, 0xa
lea rdx, str.invalidver
mov rcx, rax
call fcn.140017350
mov qword [rsp + 0x60], rdi
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.14001cfa0
movzx edi, al
movzx edx, byte [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.140016400
nop
test dil, dil
je 0x140004f97
lea rdx, str.download
lea rcx, [rbp + 0x288]
call fcn.140018ea0
lea rdx, [rbp + 0x268]
mov rcx, rax
call fcn.140019110
lea rdx, [0x1401e627b]
lea rcx, [rbp + 0x268]
call fcn.140018e50
test al, al
je 0x140005236
movdqa xmm0, xmmword [0x1401e8530]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1401e8470]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x1401e85a0]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x1401e8460]
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmm0, xmmword [0x1401e8430]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x1401e83c0]
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmm0, xmmword [str._fOBNZ]
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1401e8390]
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmm0, xmmword [0x1401e8380]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1401e8360]
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [0x1401e8340]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1401e85c0]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x1401e85d0]
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [0x1401e8590]
movdqa xmmword [rbp + 0xd0], xmm1
movdqa xmm0, xmmword [0x1401e8560]
movdqa xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x1401e84f0]
movdqa xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x1401e8510]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1401e8480]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x1401e84c0]
movdqa xmmword [rbp + 0x120], xmm0
mov dword [rbp + 0x130], 0x8692899f
mov word [rbp + 0x134], reloc.WLDAP32.dll_Ordinal_46
mov byte [rbp + 0x136], 1
lea rcx, [rbp]
call fcn.140005e40
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140005264
lea rcx, [rbp + 0x268]
call fcn.1400157a0
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
movdqa xmm0, xmmword [0x1401e85f0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1401e8540]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x1401e84a0]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1401e8410]
movdqa xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x20], 0x6c206365
mov dword [rbp - 0x1c], 0x1006160
lea rcx, [rbp - 0x60]
call fcn.140005370
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.140001b60
int3