Function at 0x180003240
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 [0x1801c5f80]
xor rax, rsp
mov qword [rbp + 0x460], 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, [0x1800075f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.180006fd0
cmp qword [r15 + 0x30], 0xa
jne 0x180003ea5
cmp qword [r15 + 0x50], 0x40
jne 0x180003ea5
xorps xmm0, xmm0
movups xmmword [rbp + 0x310], xmm0
mov qword [rbp + 0x2d0], r13
mov ebx, r13d
mov qword [rbp + 0x2e0], rbx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x2e8], rdi
mov byte [rbp + 0x2d0], bl
lea rcx, [rbp + 0x310]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov qword [rbp + 0x260], r13
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x310]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
lea r14, [r13 - 1]
test eax, eax
jne 0x180003354
mov rdx, qword [rbp + 0x260]
mov r8, r14
inc r8
cmp byte [rdx + r8], 0
jne 0x180003323
lea rcx, [rbp + 0x2d0]
call fcn.180008d50
lea rcx, [rbp + 0x260]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
mov rdi, qword [rbp + 0x2e8]
mov rbx, qword [rbp + 0x2e0]
mov qword [rbp + 0x2b0], r13
mov qword [rbp + 0x2c0], r13
mov qword [rbp + 0x2c8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2b0], 0
mov qword [rbp + 0x268], r13
movdqa xmm0, xmmword [0x1801b07a0]
movdqu xmmword [rbp + 0x278], xmm0
mov r8d, reloc.WS2_32.dll_recv
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x2d0]
cmp rdi, 0x10
cmovae rdx, qword [rbp + 0x2d0]
lea rcx, [rbp + 0x268]
call fcn.180008d50
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x2b0]
call fcn.180008160
lea rcx, [rbp + 0x268]
call fcn.180008100
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x2c0]
sub rax, rcx
cmp rax, 1
jb 0x180003f0d
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 rcx, [rbp + 0x268]
call fcn.18000af90
nop
lea rsi, [r15 + 0x40]
mov r8, rsi
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x320]
call fcn.1800094c0
lea rcx, [r15 + 0x280]
mov rdx, rax
call fcn.180008160
lea rcx, [rbp + 0x320]
call fcn.180008100
nop
lea rcx, [rbp + 0x268]
call fcn.180008100
lea rcx, [rbp + 0x340]
call fcn.180007290
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.180003f50
nop
lea r8, [r15 + 0x60]
mov rdx, rax
lea rcx, [rbp + 0x200]
call fcn.1800094c0
nop
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rbp + 0x1e0]
call fcn.1800040c0
nop
lea r8, [rbp + 0x340]
mov rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.1800094c0
nop
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [rbp + 0x1a0]
call fcn.1800041c0
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.180008050
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x268], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x278], 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 + 0x268]
lea rcx, [rbp + 0x180]
call fcn.1800040c0
nop
mov r8, r15
mov rdx, rax
lea rcx, [rbp + 0x160]
call fcn.1800094c0
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.1800042c0
nop
lea r8, [r15 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x320]
call fcn.1800094c0
nop
lea rcx, [rbp + 0x140]
call fcn.180008100
nop
lea rcx, [rbp + 0x160]
call fcn.180008100
nop
lea rcx, [rbp + 0x180]
call fcn.180008100
nop
lea rcx, [rbp + 0x268]
call fcn.180008100
nop
lea rcx, [rbp + 0x1a0]
call fcn.180008100
nop
lea rcx, [rbp + 0x1c0]
call fcn.180008100
nop
lea rcx, [rbp + 0x1e0]
call fcn.180008100
nop
lea rcx, [rbp + 0x200]
call fcn.180008100
nop
lea rcx, [rbp - 0x60]
call fcn.180008100
lea rax, [rbp + 0x268]
mov qword [rbp - 0x10], rax
lea rdx, [r15 + 0xa0]
lea rcx, [rbp + 0x268]
call fcn.180008230
mov rdi, rax
lea rax, [rbp + 0x220]
mov qword [rbp - 8], rax
lea rdx, [r15 + 0x80]
lea rcx, [rbp + 0x220]
call fcn.180008230
mov rbx, rax
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x240]
call fcn.180008230
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x2f0]
call fcn.180006d10
nop
call fcn.180006fd0
mov qword [rbp - 0x28], r13
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0x2a0]
call fcn.180009850
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x360]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x360]
call fcn.180007c80
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x288], xmm1
mov qword [rbp + 0x298], r13
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800e7b80
mov qword [rbp + 0x288], rax
lea rcx, [rax + 0x20]
mov qword [rbp + 0x298], rcx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x290], rcx
mov qword [rsp + 0x48], r13
lea rcx, [rsp + 0x48]
call fcn.18000a320
nop
mov rax, qword [rbp + 0x290]
mov rcx, qword [rbp + 0x288]
sub rax, rcx
lea r8, [rbp + 0x2f0]
cmp qword [rbp + 0x308], 0x10
cmovae r8, qword [rbp + 0x2f0]
cmp qword [rsi + 0x18], 0x10
jb 0x1800037a7
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, qword [rbp + 0x300]
mov rdx, qword [r15 + 0x50]
mov rcx, rsi
call fcn.180015f50
mov r12, qword [rbp + 0x290]
mov rsi, qword [rbp + 0x288]
cmp rsi, r12
je 0x18000383d
nop word [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x1800015b0]
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 rbx, 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 [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 0x1800037e0
mov qword [rbp + 0x268], r13
mov qword [rbp + 0x278], r13
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x280], rbx
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 0x1800038b1
mov rax, qword [rbp + 0x3b8]
mov r8, qword [rax]
test r8, r8
je 0x1800038b1
mov rax, qword [rbp + 0x398]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x3e0]
cmovb r8, qword [rbp + 0x3e0]
sub r8, rdx
jmp 0x1800038eb
test cl, 4
jne 0x1800038e1
mov rax, qword [rbp + 0x3b0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800038e1
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 0x1800038eb
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x180003903
lea rcx, [rbp + 0x268]
call fcn.180008d50
mov rbx, qword [rbp + 0x280]
lea rdx, [rbp + 0x268]
mov rdi, qword [rbp + 0x268]
cmp rbx, 0x10
cmovae rdx, rdi
nop dword [rax]
inc r14
cmp byte [rdx + r14], 0
jne 0x180003920
lea rcx, [0x1801c5fd8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x1801c5fd8]
mov r8, qword [0x1801c5fe8]
cmp r8, r14
jne 0x18000395b
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18000395b
xor sil, sil
jmp 0x18000395e
mov sil, 1
cmp rbx, 0x10
jb 0x180003998
lea rdx, [rbx + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180003990
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003990
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800e7bbc
test sil, sil
je 0x1800039a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0x2a0]
lea rcx, [rsp + 0x58]
call fcn.180007d50
mov rdx, rax
mov rcx, r15
call fcn.180002e00
lea rdx, str.success
lea rcx, [rbp + 0x2a0]
call fcn.180009580
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r13
cmp byte [rcx], 0
lea rcx, [rbp + 0x2a0]
je 0x180003bc6
lea rdx, str.sessionid
call fcn.180009580
cmp byte [rax], 3
jne 0x180003a05
mov r8, qword [rax + 8]
jmp 0x180003a08
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003a15
mov rdx, qword [r8]
lea rcx, [r15 + 0x260]
mov r8, qword [r8 + 0x10]
call fcn.180008d50
lea rdx, str.appinfo
lea rcx, [rbp + 0x2a0]
call fcn.180009580
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180007d50
mov rbx, rax
mov qword [rbp - 0x70], rax
lea rdx, str.numUsers
mov rcx, rax
call fcn.180009580
cmp byte [rax], 3
jne 0x180003a66
mov r8, qword [rax + 8]
jmp 0x180003a69
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003a76
mov rdx, qword [r8]
lea rcx, [r15 + 0xc0]
mov r8, qword [r8 + 0x10]
call fcn.180008d50
lea rdx, str.numOnlineUsers
mov rcx, rbx
call fcn.180009580
cmp byte [rax], 3
jne 0x180003aa0
mov r8, qword [rax + 8]
jmp 0x180003aa3
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003ab0
mov rdx, qword [r8]
lea rcx, [r15 + 0xe0]
mov r8, qword [r8 + 0x10]
call fcn.180008d50
lea rdx, str.numKeys
mov rcx, rbx
call fcn.180009580
cmp byte [rax], 3
jne 0x180003ada
mov r8, qword [rax + 8]
jmp 0x180003add
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003aea
mov rdx, qword [r8]
lea rcx, [r15 + 0x100]
mov r8, qword [r8 + 0x10]
call fcn.180008d50
lea rdx, str.version
mov rcx, rbx
call fcn.180009580
cmp byte [rax], 3
jne 0x180003b14
mov r8, qword [rax + 8]
jmp 0x180003b17
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003b24
mov rdx, qword [r8]
lea rcx, [r15 + 0x120]
mov r8, qword [r8 + 0x10]
call fcn.180008d50
lea rdx, str.customerPanelLink
mov rcx, rbx
call fcn.180009580
cmp byte [rax], 3
jne 0x180003b4e
mov r8, qword [rax + 8]
jmp 0x180003b51
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003b5e
mov rdx, qword [r8]
lea rcx, [r15 + 0x140]
mov r8, qword [r8 + 0x10]
call fcn.180008d50
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.1800087e0
nop
mov rcx, qword [rbp + 0x288]
test rcx, rcx
je 0x180003e14
mov rdx, qword [rbp + 0x298]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003dfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003dfd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.message
call fcn.180009580
mov rdi, rax
mov byte [rsp + 0x58], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800e7b80
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.180008d50
mov qword [rsp + 0x60], rbx
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.18000a940
movzx ebx, al
movzx edx, byte [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1800087e0
nop
test bl, bl
je 0x180003b7c
lea rdx, str.download
lea rcx, [rbp + 0x2a0]
call fcn.180009580
lea rdx, [rbp + 0x268]
mov rcx, rax
call fcn.1800097f0
lea rdx, [0x1801af46b]
lea rcx, [rbp + 0x268]
call fcn.180009530
test al, al
je 0x180003dc6
movdqa xmm0, xmmword [0x1801b09d0]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1801b0910]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x1801b0a50]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x1801b0900]
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmm0, xmmword [0x1801b08e0]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x1801b0870]
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmm0, xmmword [str._fOBNZ]
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1801b0850]
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmm0, xmmword [0x1801b0840]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1801b0820]
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [0x1801b0800]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1801b0a70]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x1801b0a80]
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [0x1801b0a40]
movdqa xmmword [rbp + 0xd0], xmm1
movdqa xmm0, xmmword [0x1801b0a10]
movdqa xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x1801b0990]
movdqa xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x1801b09c0]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1801b0920]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x1801b0960]
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.1800043c0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x180003df4
lea rcx, [rbp + 0x268]
call fcn.180008040
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.1800e7bbc
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x288], xmm0
mov qword [rbp + 0x298], r13
lea rcx, [rbp + 0x360]
call fcn.1800043f0
nop
movzx edx, byte [rbp + 0x2a0]
lea rcx, [rbp + 0x2a8]
call fcn.1800087e0
nop
lea rcx, [rbp + 0x2f0]
call fcn.180008100
nop
lea rcx, [rbp + 0x320]
call fcn.180008100
nop
lea rcx, [rbp + 0x340]
call fcn.180008100
nop
lea rcx, [rbp + 0x2b0]
call fcn.180008100
nop
lea rcx, [rbp + 0x2d0]
call fcn.180008100
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.1800e8160
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
movdqa xmm0, xmmword [0x1801b0aa0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1801b09f0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x1801b0940]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1801b08c0]
movdqa xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x20], 0x6c206365
mov dword [rbp - 0x1c], 0x1006160
lea rcx, [rbp - 0x60]
call fcn.180003f20
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.1800014e0
nop
int3