Function at 0x180006640
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 - 0x480]
sub rsp, 0x580
mov rax, qword [0x1801cc8c0]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov r15, rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [0x18000a9c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.18000a3a0
cmp qword [r15 + 0x30], 0xa
jne 0x180007295
cmp qword [r15 + 0x50], 0x40
jne 0x180007295
xorps xmm0, xmm0
movups xmmword [rbp + 0x320], xmm0
mov qword [rbp + 0x2e0], r13
mov ebx, r13d
mov qword [rbp + 0x2f0], rbx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x2f8], rdi
mov byte [rbp + 0x2e0], bl
lea rcx, [rbp + 0x320]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov qword [rbp + 0x270], r13
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x320]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
lea r14, [r13 - 1]
test eax, eax
jne 0x180006754
mov rdx, qword [rbp + 0x270]
mov r8, r14
inc r8
cmp byte [rdx + r8], 0
jne 0x180006723
lea rcx, [rbp + 0x2e0]
call fcn.18000c220
lea rcx, [rbp + 0x270]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
mov rdi, qword [rbp + 0x2f8]
mov rbx, qword [rbp + 0x2f0]
mov qword [rbp + 0x2c0], r13
mov qword [rbp + 0x2d0], r13
mov qword [rbp + 0x2d8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2c0], 0
mov qword [rbp + 0x278], r13
movdqa xmm0, xmmword [0x1801b5bf0]
movdqu xmmword [rbp + 0x288], xmm0
mov r8d, reloc.WS2_32.dll_recv
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x2e0]
cmp rdi, 0x10
cmovae rdx, qword [rbp + 0x2e0]
lea rcx, [rbp + 0x278]
call fcn.18000c220
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0x2c0]
call fcn.18000b630
lea rcx, [rbp + 0x278]
call fcn.18000b5d0
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x2d0]
sub rax, rcx
cmp rax, 1
jb 0x1800072fd
lea r9, [rbp + 0x2c0]
cmp qword [rbp + 0x2d8], 0x10
cmovae r9, qword [rbp + 0x2c0]
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 + 0x2c0]
movzx edx, byte [rsp + 0x78]
lea rcx, [rbp + 0x278]
call fcn.18000e410
nop
lea rsi, [r15 + 0x40]
mov r8, rsi
lea rdx, [rbp + 0x278]
lea rcx, [rbp - 0x80]
call fcn.18000c940
lea rcx, [r15 + 0x280]
mov rdx, rax
call fcn.18000b630
lea rcx, [rbp - 0x80]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x278]
call fcn.18000b5d0
lea rcx, [rbp + 0x350]
call fcn.18000a660
nop
mov dword [rbp - 0x80], 0xa1b9a2ea
mov dword [rbp - 0x7c], 0xb7bba3b5
mov word [rbp - 0x78], 0xe9
mov byte [rbp - 0x76], 1
mov dword [rsp + 0x48], 0xa2afa3ea
mov dword [rsp + 0x4c], 0x100ecb5
mov dword [rsp + 0x58], 0xaca0a8ea
mov dword [rsp + 0x5c], 0xeeabb4bb
mov word [rsp + 0x60], 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 [rsp + 0x68], 0xaabeb4b8
mov dword [rsp + 0x6c], 0xbabcb8ed
mov word [rsp + 0x70], 0xa0
mov byte [rsp + 0x72], 1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x50]
call fcn.180007340
nop
lea r8, [r15 + 0x60]
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.18000c940
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.1800074b0
nop
lea r8, [rbp + 0x350]
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.18000c940
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0x1b0]
call fcn.1800075b0
nop
lea rdx, [rbp + 0x2c0]
cmp qword [rbp + 0x2d8], 0x10
cmovae rdx, qword [rbp + 0x2c0]
mov r8, qword [rbp + 0x2d0]
mov rcx, rax
call fcn.18000b520
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x278], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x288], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0x190]
call fcn.1800074b0
nop
mov r8, r15
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.18000c940
nop
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.1800076b0
nop
lea r8, [r15 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x330]
call fcn.18000c940
nop
lea rcx, [rbp + 0x150]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x170]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x190]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x278]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x1b0]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x1d0]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x1f0]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x210]
call fcn.18000b5d0
nop
lea rcx, [rbp - 0x50]
call fcn.18000b5d0
lea rax, [rbp + 0x278]
mov qword [rbp], rax
lea rdx, [r15 + 0xa0]
lea rcx, [rbp + 0x278]
call fcn.18000b700
mov rdi, rax
lea rax, [rbp + 0x230]
mov qword [rbp + 8], rax
lea rdx, [r15 + 0x80]
lea rcx, [rbp + 0x230]
call fcn.18000b700
mov rbx, rax
lea rdx, [rbp + 0x330]
lea rcx, [rbp + 0x250]
call fcn.18000b700
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x300]
call fcn.18000a0e0
nop
call fcn.18000a3a0
mov qword [rbp - 0x18], r13
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0x2b0]
call fcn.18000ccd0
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x370]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x370]
call fcn.18000b050
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x298], xmm1
mov qword [rbp + 0x2a8], r13
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800e9380
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], r13
lea rcx, [rsp + 0x48]
call fcn.18000d7a0
nop
mov rax, qword [rbp + 0x2a0]
mov rcx, qword [rbp + 0x298]
sub rax, rcx
lea r8, [rbp + 0x300]
cmp qword [rbp + 0x318], 0x10
cmovae r8, qword [rbp + 0x300]
cmp qword [rsi + 0x18], 0x10
jb 0x180006bad
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, qword [rbp + 0x310]
mov rdx, qword [r15 + 0x50]
mov rcx, rsi
call fcn.1800193c0
mov r12, qword [rbp + 0x2a0]
mov rsi, qword [rbp + 0x298]
cmp rsi, r12
je 0x180006c3c
nop dword [rax]
movzx edi, byte [rsi]
lea rdx, [0x1800049b0]
lea rcx, [rbp + 0x380]
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 rbx, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rbp - 0x80]
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 [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov edx, edi
mov rcx, rbx
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 rsi
cmp rsi, r12
jne 0x180006be0
mov qword [rbp + 0x278], r13
mov qword [rbp + 0x288], r13
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x290], rbx
mov byte [rbp + 0x278], 0
mov dword [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_30
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
mov rcx, qword [rbp + 0x3f8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x180006cae
mov rax, qword [rbp + 0x3c8]
mov r8, qword [rax]
test r8, r8
je 0x180006cae
mov rax, qword [rbp + 0x3a8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x3f0]
cmovb r8, qword [rbp + 0x3f0]
sub r8, rdx
jmp 0x180006ce6
test cl, 4
jne 0x180006cde
mov rax, qword [rbp + 0x3c0]
mov rcx, qword [rax]
test rcx, rcx
je 0x180006cde
mov rax, qword [rbp + 0x3a0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x3d8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x180006ce6
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x180006cfe
lea rcx, [rbp + 0x278]
call fcn.18000c220
mov rbx, qword [rbp + 0x290]
lea rdx, [rbp + 0x278]
mov rdi, qword [rbp + 0x278]
cmp rbx, 0x10
cmovae rdx, rdi
inc r14
cmp byte [rdx + r14], 0
jne 0x180006d14
lea rcx, [0x1801cc918]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x1801cc918]
mov r8, qword [0x1801cc928]
cmp r8, r14
jne 0x180006d4f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180006d4f
xor sil, sil
jmp 0x180006d52
mov sil, 1
cmp rbx, 0x10
jb 0x180006d8c
lea rdx, [rbx + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180006d84
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006d84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800e93bc
test sil, sil
je 0x180006d98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp - 0x80]
call fcn.18000b120
mov rdx, rax
mov rcx, r15
call fcn.180006200
lea rdx, str.success
lea rcx, [rbp + 0x2b0]
call fcn.18000ca00
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r13
cmp byte [rcx], 0
lea rcx, [rbp + 0x2b0]
je 0x180006fb8
lea rdx, str.sessionid
call fcn.18000ca00
cmp byte [rax], 3
jne 0x180006df8
mov r8, qword [rax + 8]
jmp 0x180006dfb
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180006e08
mov rdx, qword [r8]
lea rcx, [r15 + 0x260]
mov r8, qword [r8 + 0x10]
call fcn.18000c220
lea rdx, str.appinfo
lea rcx, [rbp + 0x2b0]
call fcn.18000ca00
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.18000b120
mov rbx, rax
mov qword [rbp - 0x60], rax
lea rdx, str.numUsers
mov rcx, rax
call fcn.18000ca00
cmp byte [rax], 3
jne 0x180006e58
mov r8, qword [rax + 8]
jmp 0x180006e5b
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180006e68
mov rdx, qword [r8]
lea rcx, [r15 + 0xc0]
mov r8, qword [r8 + 0x10]
call fcn.18000c220
lea rdx, str.numOnlineUsers
mov rcx, rbx
call fcn.18000ca00
cmp byte [rax], 3
jne 0x180006e92
mov r8, qword [rax + 8]
jmp 0x180006e95
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180006ea2
mov rdx, qword [r8]
lea rcx, [r15 + 0xe0]
mov r8, qword [r8 + 0x10]
call fcn.18000c220
lea rdx, str.numKeys
mov rcx, rbx
call fcn.18000ca00
cmp byte [rax], 3
jne 0x180006ecc
mov r8, qword [rax + 8]
jmp 0x180006ecf
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180006edc
mov rdx, qword [r8]
lea rcx, [r15 + 0x100]
mov r8, qword [r8 + 0x10]
call fcn.18000c220
lea rdx, str.version
mov rcx, rbx
call fcn.18000ca00
cmp byte [rax], 3
jne 0x180006f06
mov r8, qword [rax + 8]
jmp 0x180006f09
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180006f16
mov rdx, qword [r8]
lea rcx, [r15 + 0x120]
mov r8, qword [r8 + 0x10]
call fcn.18000c220
lea rdx, str.customerPanelLink
mov rcx, rbx
call fcn.18000ca00
cmp byte [rax], 3
jne 0x180006f40
mov r8, qword [rax + 8]
jmp 0x180006f43
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180006f50
mov rdx, qword [r8]
lea rcx, [r15 + 0x140]
mov r8, qword [r8 + 0x10]
call fcn.18000c220
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.18000bcb0
nop
mov rcx, qword [rbp + 0x298]
test rcx, rcx
je 0x180007204
mov rdx, qword [rbp + 0x2a8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800071ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800071ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.message
call fcn.18000ca00
mov rdi, rax
mov byte [rbp - 0x80], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800e9380
mov rbx, rax
mov qword [rax], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov r8d, 0xa
lea rdx, str.invalidver
mov rcx, rax
call fcn.18000c220
mov qword [rbp - 0x78], rbx
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.18000ddc0
movzx ebx, al
movzx edx, byte [rbp - 0x80]
lea rcx, [rbp - 0x78]
call fcn.18000bcb0
nop
test bl, bl
je 0x180006f6e
lea rdx, str.download
lea rcx, [rbp + 0x2b0]
call fcn.18000ca00
lea rdx, [rbp + 0x278]
mov rcx, rax
call fcn.18000cc70
lea rdx, [0x1801b48ab]
lea rcx, [rbp + 0x278]
call fcn.18000c9b0
test al, al
je 0x1800071b6
movdqa xmm0, xmmword [0x1801b5e20]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1801b5d60]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x1801b5ea0]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1801b5d50]
movdqa xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x1801b5d30]
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x1801b5cc0]
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [str._fOBNZ]
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x1801b5ca0]
movdqa xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [0x1801b5c90]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x1801b5c70]
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmm0, xmmword [0x1801b5c50]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x1801b5ec0]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x1801b5ed0]
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x1801b5e90]
movdqa xmmword [rbp + 0xe0], xmm1
movdqa xmm0, xmmword [0x1801b5e60]
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmm1, xmmword [0x1801b5de0]
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmm0, xmmword [0x1801b5e10]
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmm1, xmmword [0x1801b5d70]
movdqa xmmword [rbp + 0x120], xmm1
movdqa xmm0, xmmword [0x1801b5db0]
movdqa xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x140], 0x8692899f
mov word [rbp + 0x144], reloc.WLDAP32.dll_Ordinal_46
mov byte [rbp + 0x146], 1
lea rcx, [rbp + 0x10]
call fcn.1800077b0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1800071e4
lea rcx, [rbp + 0x278]
call fcn.18000b510
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
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
call fcn.1800e93bc
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x298], xmm0
mov qword [rbp + 0x2a8], r13
lea rcx, [rbp + 0x370]
call fcn.1800077e0
nop
movzx edx, byte [rbp + 0x2b0]
lea rcx, [rbp + 0x2b8]
call fcn.18000bcb0
nop
lea rcx, [rbp + 0x300]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x330]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x350]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x2c0]
call fcn.18000b5d0
nop
lea rcx, [rbp + 0x2e0]
call fcn.18000b5d0
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1800e9aa0
lea r11, [rsp + 0x580]
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
movdqa xmm0, xmmword [0x1801b5ef0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1801b5e40]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1801b5d90]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1801b5d10]
movdqa xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x10], 0x6c206365
mov dword [rbp - 0xc], 0x1006160
lea rcx, [rbp - 0x50]
call fcn.180007310
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.1800048e0
nop
int3