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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x498]
sub rsp, 0x570
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1803435b8]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r12, rcx
xor r13d, r13d
mov dword [rsp + 0x68], r13d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [0x180008d20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.180008750
cmp qword [r12 + 0x30], 0xa
jne 0x1800056bd
cmp qword [r12 + 0x50], 0x40
jne 0x1800056bd
xorps xmm0, xmm0
movups xmmword [rbp + 0x310], xmm0
mov qword [rbp + 0x2b8], r13
mov ebx, r13d
mov qword [rbp + 0x2c8], rbx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x2d0], rdi
mov byte [rbp + 0x2b8], bl
lea rcx, [rbp + 0x310]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov qword [rbp + 0x240], r13
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x310]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
lea r14, [r13 - 1]
test eax, eax
jne 0x1800041d1
mov rdx, qword [rbp + 0x240]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1800041a0
lea rcx, [rbp + 0x2b8]
call fcn.18000a920
lea rcx, [rbp + 0x240]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
mov rdi, qword [rbp + 0x2d0]
mov rbx, qword [rbp + 0x2c8]
mov qword [rbp + 0x258], r13
mov qword [rbp + 0x268], r13
mov qword [rbp + 0x270], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x258], 0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov r8d, reloc.WS2_32.dll_recv
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x2b8]
cmp rdi, 0x10
cmovae rdx, qword [rbp + 0x2b8]
lea rcx, [rsp + 0x48]
call fcn.18000a920
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x258], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x268], xmm1
movabs rax, 0x7fffffffffffffff
movq rcx, xmm1
sub rax, rcx
cmp rax, 1
jb 0x18000572b
lea r9, [rbp + 0x258]
cmp qword [rbp + 0x270], 0x10
cmovae r9, qword [rbp + 0x258]
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 + 0x258]
movzx edx, byte [rbp - 0x38]
lea rcx, [rbp + 0x278]
call fcn.18000cd40
nop
lea rdx, [r12 + 0x40]
lea rcx, [rbp + 0x278]
call fcn.180009b30
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [r12 + 0x280]
lea rdx, [rbp - 0x28]
call fcn.180009c50
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x18000432a
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004324
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004324
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
nop
mov rdx, qword [rbp + 0x290]
cmp rdx, 0x10
jb 0x18000436e
inc rdx
mov rcx, qword [rbp + 0x278]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004369
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004369
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
lea rcx, [rbp + 0x2d8]
call fcn.180008a10
nop
mov dword [rsp + 0x78], 0xa1b9a2ea
mov dword [rsp + 0x7c], 0xb7bba3b5
mov word [rbp - 0x80], 0xe9
mov byte [rbp - 0x7e], 1
mov dword [rsp + 0x40], 0xa2afa3ea
mov dword [rsp + 0x44], 0x100ecb5
mov dword [rbp - 0x48], 0xaca0a8ea
mov dword [rbp - 0x44], 0xeeabb4bb
mov word [rbp - 0x40], 0x100
mov dword [rbp - 0x70], 0xbcafa5ea
mov dword [rbp - 0x6c], 0x100ecb8
mov dword [rsp + 0x68], 0xbdabbbea
mov word [rsp + 0x6c], 0xed
mov byte [rsp + 0x6e], 1
mov dword [rbp - 0x68], 0xaabeb4b8
mov dword [rbp - 0x64], 0xbabcb8ed
mov word [rbp - 0x60], 0xa0
mov byte [rbp - 0x5e], 1
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x28]
call fcn.180005770
nop
lea rdx, [r12 + 0x60]
mov rcx, rax
call fcn.180009b30
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, [rbp - 0x70]
lea rdx, [rbp + 0x278]
lea rcx, [rbp + 0xd8]
call fcn.1800058e0
mov rbx, rax
mov rdi, qword [rbp + 0x2e8]
lea r9, [rbp + 0x2d8]
cmp qword [rbp + 0x2f0], 0x10
cmovae r9, qword [rbp + 0x2d8]
mov r15, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r15
cmp rdi, rax
ja 0x1800044b0
lea rax, [r15 + rdi]
mov qword [rbx + 0x10], rax
mov rsi, rbx
cmp rcx, 0x10
jb 0x180004496
mov rsi, qword [rbx]
lea rcx, [rsi + r15]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rsi]
mov byte [rax + r15], 0
jmp 0x1800044c6
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.18000b590
mov rbx, rax
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0xb8]
call fcn.1800059e0
mov rbx, rax
lea r9, [rbp + 0x258]
cmp qword [rbp + 0x270], 0x10
cmovae r9, qword [rbp + 0x258]
mov rsi, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, rsi
mov rdi, qword [rbp + 0x268]
cmp rdi, rax
ja 0x180004559
lea rax, [rdi + rsi]
mov qword [rbx + 0x10], rax
mov r15, rbx
cmp rcx, 0x10
jb 0x180004540
mov r15, qword [rbx]
lea rcx, [r15 + rsi]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + r15]
mov byte [rax + rsi], 0
jmp 0x18000456f
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.18000b590
mov rbx, rax
movups xmm0, xmmword [rbx]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea r8, [rsp + 0x40]
lea rdx, [rbp]
lea rcx, [rbp + 0x98]
call fcn.1800058e0
nop
mov rdx, r12
mov rcx, rax
call fcn.180009b30
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x78]
call fcn.180005ae0
nop
lea rdx, [r12 + 0x20]
mov rcx, rax
call fcn.180009b30
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0x320], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x330], xmm6
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x180004654
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000464f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000464f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x78], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1800046ab
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800046a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800046a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x1800046ef
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800046ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800046ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x98], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x180004747
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004741
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004741
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x18000478b
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004786
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004786
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov qword [rbp + 0xc8], r13
mov qword [rbp + 0xd0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb8], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x1800047e3
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800047dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800047dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x180004827
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004822
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004822
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov qword [rbp + 0xe8], r13
mov qword [rbp + reloc.WS2_32.dll_ntohs0], 0xf
mov byte [rbp + 0xd8], 0
mov rdx, qword [rbp + 0x290]
cmp rdx, 0x10
jb 0x180004885
inc rdx
mov rcx, qword [rbp + 0x278]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000487f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000487f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1800048c3
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800048be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800048be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
lea rax, [rbp + 0x278]
mov qword [rbp + 0xf8], rax
lea rdx, [r12 + 0xa0]
lea rcx, [rbp + 0x278]
call fcn.180009d20
mov r15, rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x70], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp + 0x58]
call fcn.180009d20
mov r13, rax
xor edx, edx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rdx
lea rdi, [rbp + 0x320]
movq rax, xmm7
mov qword [rbp - 0x30], rax
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rcx, xmm0
mov qword [rbp + 0x50], rcx
cmp rcx, 0x10
cmovae rdi, rax
movq rsi, xmm6
cmp rsi, 0x10
jae 0x180004968
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x48], xmm0
lea ebx, [rdx + 0xf]
jmp 0x1800049e2
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800049bf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180005725
mov rcx, rax
call fcn.1800ef5f4
mov rcx, rax
test rax, rax
je 0x1800049b8
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800049ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1800049cb
call fcn.1800ef5f4
jmp 0x1800049ce
mov rax, rdx
mov qword [rsp + 0x48], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rbx
mov r9, r15
mov r8, r13
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x298]
call fcn.1800082f0
nop
call fcn.180008750
mov qword [rbp + 0x38], 0
lea r8, [rbp]
lea rdx, [rbp + 0x298]
lea rcx, [rbp + 0x248]
call fcn.18000b300
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x340]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x340]
call fcn.180009430
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800ef5f4
mov r15, rax
mov qword [rbp + 0x2f8], rax
lea r13, [rax + 0x20]
mov qword [rbp + 0x308], r13
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0x300], r13
lea r8, [rbp + 0x298]
cmp qword [rbp + 0x2b0], 0x10
cmovae r8, qword [rbp + 0x298]
lea rax, [r12 + 0x40]
cmp qword [rax + 0x18], 0x10
jb 0x180004aaa
mov rax, qword [rax]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r15
mov r9, qword [rbp + 0x2a8]
mov rdx, qword [r12 + 0x50]
mov rcx, rax
call fcn.180018c50
mov rsi, r15
cmp r15, r13
je 0x180004b31
movzx edi, byte [rsi]
lea rdx, [0x1800026a0]
lea rcx, [rbp + 0x350]
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, r13
jne 0x180004ad4
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rax
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x48], al
mov dword [rsp + 0x68], 0x7ee
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov rcx, qword [rbp + 0x3c8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x180004b9b
mov rax, qword [rbp + 0x398]
mov r8, qword [rax]
test r8, r8
je 0x180004b9b
mov rax, qword [rbp + 0x378]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x3c0]
cmovb r8, qword [rbp + 0x3c0]
sub r8, rdx
jmp 0x180004bd4
test cl, 4
jne 0x180004bcb
mov rax, qword [rbp + 0x390]
mov rcx, qword [rax]
test rcx, rcx
je 0x180004bcb
mov rax, qword [rbp + 0x370]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x3a8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x180004bd4
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x180004be8
lea rcx, [rsp + 0x48]
call fcn.18000a920
mov rdi, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
cmp rdi, 0x10
cmovae rdx, rbx
nop word [rax + rax]
inc r14
cmp byte [rdx + r14], 0
jne 0x180004c00
lea rcx, [0x1803435f8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x1803435f8]
mov r8, qword [0x180343608]
cmp r8, r14
jne 0x180004c3b
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180004c3b
xor sil, sil
jmp 0x180004c3e
mov sil, 1
cmp rdi, 0x10
jb 0x180004c78
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180004c70
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004c70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800ef630
test sil, sil
je 0x180004c84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0x248]
lea rcx, [rsp + 0x78]
call fcn.180009500
mov rbx, rax
mov qword [rsp + 0x70], rax
lea rdx, str.success
mov rcx, rax
call fcn.18000b190
lea rcx, [rax + 8]
cmp byte [rax], 4
mov esi, 0
cmovne rcx, rsi
movzx ecx, byte [rcx]
mov byte [r12 + 0x238], cl
lea rdx, str.message
mov rcx, rbx
call fcn.18000b190
cmp byte [rax], 3
jne 0x180004ce1
mov r8, qword [rax + 8]
jmp 0x180004ce4
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180004cf1
mov rdx, qword [r8]
lea rcx, [r12 + 0x240]
mov r8, qword [r8 + 0x10]
call fcn.18000a920
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.18000a3b0
movzx ecx, byte [rbp + 0x248]
test cl, cl
jne 0x180004d42
mov byte [rbp + 0x248], 1
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.18000ac10
mov rbx, qword [rsp + 0x40]
mov qword [rbp + 0x250], rbx
movzx ecx, byte [rbp + 0x248]
jmp 0x180004d49
mov rbx, qword [rbp + 0x250]
cmp cl, 1
jne 0x180004df3
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov r8d, 7
lea rdx, str.success
lea rcx, [rbp - 0x68]
call fcn.18000a920
nop
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.1800138f0
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x180004dd3
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004dce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004dce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov rbx, qword [rbp + 0x250]
movzx ecx, byte [rbp + 0x248]
jmp 0x180004df8
mov rdi, qword [rsp + 0x70]
lea rax, [rdi + 8]
cmp byte [rdi], 4
cmovne rax, rsi
cmp byte [rax], 0
je 0x180005222
test cl, cl
jne 0x180004e36
mov byte [rbp + 0x248], 1
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.18000ac10
mov rbx, qword [rsp + 0x40]
mov qword [rbp + 0x250], rbx
movzx ecx, byte [rbp + 0x248]
cmp cl, 1
jne 0x180004ed2
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov r8d, 9
lea rdx, str.sessionid
lea rcx, [rbp - 0x68]
call fcn.18000a920
nop
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.1800138f0
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x180004ec0
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004ebb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004ebb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
jmp 0x180004ed7
mov rbx, qword [rsp + 0x70]
cmp byte [rbx], 3
jne 0x180004ee2
mov r8, qword [rbx + 8]
jmp 0x180004ee5
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180004ef2
mov rdx, qword [r8]
lea rcx, [r12 + 0x260]
mov r8, qword [r8 + 0x10]
call fcn.18000a920
movzx eax, byte [rbp + 0x248]
test al, al
jne 0x180004f36
mov byte [rbp + 0x248], 1
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.18000ac10
mov rbx, qword [rsp + 0x40]
mov qword [rbp + 0x250], rbx
movzx eax, byte [rbp + 0x248]
jmp 0x180004f3d
mov rbx, qword [rbp + 0x250]
cmp al, 1
jne 0x180004fe2
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov r8d, 7
lea rdx, str.appinfo
lea rcx, [rsp + 0x48]
call fcn.18000a920
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.1800138f0
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180004fcd
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004fc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004fc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
jmp 0x180004fe7
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.180009500
mov rbx, rax
mov qword [rsp + 0x70], rax
lea rdx, str.numUsers
mov rcx, rax
call fcn.18000b190
cmp byte [rax], 3
jne 0x180005016
mov r8, qword [rax + 8]
jmp 0x180005019
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180005026
mov rdx, qword [r8]
lea rcx, [r12 + 0xc0]
mov r8, qword [r8 + 0x10]
call fcn.18000a920
lea rdx, str.numOnlineUsers
mov rcx, rbx
call fcn.18000b190
cmp byte [rax], 3
jne 0x180005051
mov r8, qword [rax + 8]
jmp 0x180005054
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180005061
mov rdx, qword [r8]
lea rcx, [r12 + 0xe0]
mov r8, qword [r8 + 0x10]
call fcn.18000a920
lea rdx, str.numKeys
mov rcx, rbx
call fcn.18000b190
cmp byte [rax], 3
jne 0x18000508c
mov r8, qword [rax + 8]
jmp 0x18000508f
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x18000509c
mov rdx, qword [r8]
lea rcx, [r12 + 0x100]
mov r8, qword [r8 + 0x10]
call fcn.18000a920
lea rdx, str.version
mov rcx, rbx
call fcn.18000b190
cmp byte [rax], 3
jne 0x1800050c7
mov r8, qword [rax + 8]
jmp 0x1800050ca
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1800050d7
mov rdx, qword [r8]
lea rcx, [r12 + 0x120]
mov r8, qword [r8 + 0x10]
call fcn.18000a920
lea rdx, str.customerPanelLink
mov rcx, rbx
call fcn.18000b190
cmp byte [rax], 3
jne 0x180005102
mov r8, qword [rax + 8]
jmp 0x180005105
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180005112
mov rdx, qword [r8]
lea rcx, [r12 + 0x140]
mov r8, qword [r8 + 0x10]
call fcn.18000a920
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.18000a3b0
nop
test r15, r15
je 0x18000516a
sub r13, r15
cmp r13, 0x1000
jb 0x18000515e
add r13, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x180005538
mov r15, rcx
mov rdx, r13
mov rcx, r15
call fcn.1800ef630
nop
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x340], rax
mov rax, qword [rbp + 0x340]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x33c], edx
lea rcx, [rbp + 0x358]
call fcn.180009370
lea rcx, [rbp + 0x360]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x3d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rbp + 0x248]
lea rcx, [rbp + 0x250]
call fcn.18000a3b0
nop
mov rdx, qword [rbp + 0x2b0]
cmp rdx, 0x10
jb 0x180005544
inc rdx
mov rcx, qword [rbp + 0x298]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000553f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000553f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test cl, cl
jne 0x18000524c
mov byte [rbp + 0x248], 1
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.18000ac10
mov rbx, qword [rsp + 0x40]
mov qword [rbp + 0x250], rbx
movzx ecx, byte [rbp + 0x248]
cmp cl, 1
jne 0x1800052f2
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov r8d, 7
lea rdx, str.message
lea rcx, [rsp + 0x48]
call fcn.18000a920
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.1800138f0
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1800052dd
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800052d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800052d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
jmp 0x1800052f7
mov rdi, qword [rsp + 0x70]
mov byte [rsp + 0x78], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800ef5f4
mov rbx, rax
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov r8d, 0xa
lea rdx, str.invalidver
mov rcx, rax
call fcn.18000a920
mov qword [rbp - 0x80], rbx
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.18000c640
movzx ebx, al
movzx edx, byte [rsp + 0x78]
lea rcx, [rbp - 0x80]
call fcn.18000a3b0
nop
test bl, bl
je 0x180005131
lea rdx, str.download
lea rcx, [rbp + 0x248]
call fcn.18000b190
lea rdx, [rbp + 0x278]
mov rcx, rax
call fcn.18000b270
lea rdx, [0x18013233b]
lea rcx, [rbp + 0x278]
call fcn.18000b140
test al, al
je 0x180005501
movdqa xmm0, xmmword [0x180133890]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1801337d0]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x180133910]
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x1801337c0]
movdqa xmmword [rbp + 0x130], xmm1
movdqa xmm0, xmmword [0x1801337a0]
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmm1, xmmword [0x180133730]
movdqa xmmword [rbp + 0x150], xmm1
movdqa xmm0, xmmword [str._fOBNZ]
movdqa xmmword [rbp + 0x160], xmm0
movdqa xmm1, xmmword [0x180133710]
movdqa xmmword [rbp + 0x170], xmm1
movdqa xmm0, xmmword [0x180133700]
movdqa xmmword [rbp + 0x180], xmm0
movdqa xmm1, xmmword [0x1801336e0]
movdqa xmmword [rbp + 0x190], xmm1
movdqa xmm0, xmmword [0x1801336c0]
movdqa xmmword [rbp + 0x1a0], xmm0
movdqa xmm1, xmmword [0x180133930]
movdqa xmmword [rbp + 0x1b0], xmm1
movdqa xmm0, xmmword [0x180133940]
movdqa xmmword [rbp + 0x1c0], xmm0
movdqa xmm1, xmmword [0x180133900]
movdqa xmmword [rbp + 0x1d0], xmm1
movdqa xmm0, xmmword [0x1801338d0]
movdqa xmmword [rbp + 0x1e0], xmm0
movdqa xmm1, xmmword [0x180133850]
movdqa xmmword [rbp + 0x1f0], xmm1
movdqa xmm0, xmmword [0x180133880]
movdqa xmmword [rbp + 0x200], xmm0
movdqa xmm1, xmmword [0x1801337e0]
movdqa xmmword [rbp + 0x210], xmm1
movdqa xmm0, xmmword [0x180133820]
movdqa xmmword [rbp + 0x220], xmm0
mov dword [rbp + 0x230], 0x8692899f
mov word [rbp + 0x234], reloc.WLDAP32.dll_Ordinal_46
mov byte [rbp + 0x236], 1
lea rcx, [rbp + 0x100]
call fcn.180005be0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x18000552f
lea rcx, [rbp + 0x278]
call fcn.180009a00
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800ef630
mov qword [rbp + 0x2a8], rsi
mov qword [rbp + 0x2b0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x298], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x18000559c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005596
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005596
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
nop
mov rdx, qword [rbp + 0x2f0]
cmp rdx, 0x10
jb 0x1800055e0
inc rdx
mov rcx, qword [rbp + 0x2d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800055db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800055db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov qword [rbp + 0x2e8], rsi
mov qword [rbp + 0x2f0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2d8], 0
mov rax, qword [rbp + 0x270]
cmp rax, 0x10
jb 0x18000563f
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x258]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005639
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005639
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
nop
mov rdx, qword [rbp + 0x2d0]
cmp rdx, 0x10
jb 0x180005683
inc rdx
mov rcx, qword [rbp + 0x2b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000567e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000567e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ef630
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.1800ef750
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movdqa xmm0, xmmword [0x180133960]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1801338b0]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x180133800]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x180133780]
movdqa xmmword [rbp + 0x30], xmm1
mov dword [rbp + 0x40], 0x6c206365
mov dword [rbp + 0x44], 0x1006160
lea rcx, [rbp]
call fcn.180005740
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.180002530
nop
call fcn.1800025d0
int3