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 [0x1801bfd30]
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, [0x1800075c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.180006fa0
cmp qword [r15 + 0x30], 0xa
jne 0x180003e93
cmp qword [r15 + 0x50], 0x40
jne 0x180003e93
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 [0x1801aa460]
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 0x180003efb
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.18000ae50
nop
lea rsi, [r15 + 0x40]
mov r8, rsi
lea rdx, [rbp + 0x268]
lea rcx, [rsp + 0x78]
call fcn.1800094c0
lea rcx, [r15 + 0x280]
mov rdx, rax
call fcn.180008160
lea rcx, [rsp + 0x78]
call fcn.180008100
nop
lea rcx, [rbp + 0x268]
call fcn.180008100
lea rcx, [rbp + 0x340]
call fcn.180007260
nop
mov dword [rsp + 0x78], 0xa1b9a2ea
mov dword [rsp + 0x7c], 0xb7bba3b5
mov word [rbp - 0x80], 0xe9
mov byte [rbp - 0x7e], 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 - 0x60]
call fcn.180003f40
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.1800040b0
nop
lea r8, [rbp + 0x340]
mov rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.1800094c0
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rbp + 0x1a0]
call fcn.1800041b0
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.1800040b0
nop
mov r8, r15
mov rdx, rax
lea rcx, [rbp + 0x160]
call fcn.1800094c0
nop
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.1800042b0
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.180006ce0
nop
call fcn.180006fa0
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.1800e23a0
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.18000a1e0
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 0x1800037a6
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.180015fd0
mov r12, qword [rbp + 0x290]
mov rsi, qword [rbp + 0x288]
cmp rsi, r12
je 0x180003833
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 + 0x78]
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 0x1800037d6
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 + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov rcx, qword [rbp + 0x3e8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800038a6
mov rax, qword [rbp + 0x3b8]
mov r8, qword [rax]
test r8, r8
je 0x1800038a6
mov rax, qword [rbp + 0x398]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x3e0]
cmovb r8, qword [rbp + 0x3e0]
sub r8, rdx
jmp 0x1800038df
test cl, 4
jne 0x1800038d6
mov rax, qword [rbp + 0x3b0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800038d6
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 0x1800038df
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x1800038f7
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 0x180003910
lea rcx, [0x1801bfd48]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x1801bfd48]
mov r8, qword [0x1801bfd58]
cmp r8, r14
jne 0x18000394b
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18000394b
xor sil, sil
jmp 0x18000394e
mov sil, 1
cmp rbx, 0x10
jb 0x180003988
lea rdx, [rbx + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180003980
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003980
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800e23dc
test sil, sil
je 0x180003994
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0x2a0]
lea rcx, [rsp + 0x78]
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 0x180003bb6
lea rdx, str.sessionid
call fcn.180009580
cmp byte [rax], 3
jne 0x1800039f5
mov r8, qword [rax + 8]
jmp 0x1800039f8
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003a05
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 + 0x78]
call fcn.180007d50
mov rbx, rax
mov qword [rbp - 0x68], rax
lea rdx, str.numUsers
mov rcx, rax
call fcn.180009580
cmp byte [rax], 3
jne 0x180003a56
mov r8, qword [rax + 8]
jmp 0x180003a59
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003a66
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 0x180003a90
mov r8, qword [rax + 8]
jmp 0x180003a93
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003aa0
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 0x180003aca
mov r8, qword [rax + 8]
jmp 0x180003acd
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003ada
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 0x180003b04
mov r8, qword [rax + 8]
jmp 0x180003b07
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003b14
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 0x180003b3e
mov r8, qword [rax + 8]
jmp 0x180003b41
mov r8, r13
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180003b4e
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 0x180003e02
mov rdx, qword [rbp + 0x298]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003deb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003deb
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 + 0x78], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800e23a0
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 [rbp - 0x80], rbx
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.18000a800
movzx ebx, al
movzx edx, byte [rsp + 0x78]
lea rcx, [rbp - 0x80]
call fcn.1800087e0
nop
test bl, bl
je 0x180003b6c
lea rdx, str.download
lea rcx, [rbp + 0x2a0]
call fcn.180009580
lea rdx, [rbp + 0x268]
mov rcx, rax
call fcn.1800097f0
lea rdx, [0x1801a912b]
lea rcx, [rbp + 0x268]
call fcn.180009530
test al, al
je 0x180003db4
movdqa xmm0, xmmword [0x1801aa690]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1801aa5d0]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x1801aa710]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x1801aa5c0]
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmm0, xmmword [0x1801aa5a0]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x1801aa530]
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmm0, xmmword [str._fOBNZ]
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1801aa510]
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmm0, xmmword [0x1801aa500]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1801aa4e0]
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [0x1801aa4c0]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1801aa730]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x1801aa740]
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [0x1801aa700]
movdqa xmmword [rbp + 0xd0], xmm1
movdqa xmm0, xmmword [0x1801aa6d0]
movdqa xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x1801aa650]
movdqa xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x1801aa680]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1801aa5e0]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x1801aa620]
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.1800043b0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x180003de2
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.1800e23dc
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x288], xmm0
mov qword [rbp + 0x298], r13
lea rcx, [rbp + 0x360]
call fcn.1800043e0
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.1800e2990
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 [0x1801aa760]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1801aa6b0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x1801aa600]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1801aa580]
movdqa xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x20], 0x6c206365
mov dword [rbp - 0x1c], 0x1006160
lea rcx, [rbp - 0x60]
call fcn.180003f10
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