Function at 0x180004230
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 [0x1802dc798]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r13, rcx
mov qword [rsp + 0x58], rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x180008f40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.180008970
cmp qword [r13 + 0x30], 0xa
jne 0x1800058d9
cmp qword [r13 + 0x50], 0x40
jne 0x1800058d9
xorps xmm0, xmm0
movups xmmword [rbp + 0x310], xmm0
mov qword [rbp + 0x278], r15
mov ebx, r15d
mov qword [rbp + 0x288], rbx
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x290], rdi
mov byte [rbp + 0x278], bl
lea rcx, [rbp + 0x310]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov qword [rbp + 0x240], r15
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x310]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
lea r14, [r15 - 1]
test eax, eax
jne 0x180004351
mov rdx, qword [rbp + 0x240]
mov r8, r14
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x180004320
lea rcx, [rbp + 0x278]
call fcn.18000a8f0
lea rcx, [rbp + 0x240]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
mov rdi, qword [rbp + 0x290]
mov rbx, qword [rbp + 0x288]
mov qword [rbp + 0x298], r15
mov qword [rbp + 0x2a8], r15
mov qword [rbp + 0x2b0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x298], 0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov r8d, reloc.WS2_32.dll_recv
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x278]
cmp rdi, 0x10
cmovae rdx, qword [rbp + 0x278]
lea rcx, [rsp + 0x30]
call fcn.18000a8f0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbp + 0x298], xmm1
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp + 0x2a8], xmm0
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
movq rsi, xmm0
sub rax, rsi
cmp rax, 1
jb 0x180005947
lea r12, [rbp + 0x298]
movq rax, xmm1
mov qword [rbp - 0x38], rax
psrldq xmm0, 8
movq rcx, xmm0
mov qword [rbp - 0x40], rcx
cmp rcx, 0x10
cmovae r12, rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea r15, [rsi + 1]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x30]
cmp r15, rbx
jbe 0x1800044a0
mov rbx, r15
or rbx, 0xf
cmp rbx, rdx
jbe 0x18000443e
mov rbx, rdx
jmp 0x18000444a
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
cmovb rcx, r14
cmp rcx, 0x1000
jb 0x18000448a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000594d
mov rcx, rax
call fcn.1800b31bc
test rax, rax
je 0x180004571
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18000449b
test rcx, rcx
je 0x180004499
call fcn.1800b31bc
mov rdi, rax
jmp 0x18000449b
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rbx
mov r8, rsi
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], reloc.WLDAP32.dll_Ordinal_45
mov byte [rdi + r15], 0
lea rdx, [r13 + 0x40]
lea rcx, [rsp + 0x30]
call fcn.180009bb0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea rcx, [r13 + 0x280]
lea rdx, [rbp - 0x28]
call fcn.180009cd0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x18000453d
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004537
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004537
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18000457d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004578
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004578
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
lea rcx, [rbp + 0x2b8]
call fcn.180008c30
nop
mov dword [rsp + 0x68], 0xa1b9a2ea
mov dword [rsp + 0x6c], 0xb7bba3b5
mov word [rsp + 0x70], 0xe9
mov byte [rsp + 0x72], 1
mov dword [rbp - 0x78], 0xa2afa3ea
mov dword [rbp - 0x74], 0x100ecb5
mov dword [rbp - 0x50], 0xaca0a8ea
mov dword [rbp - 0x4c], 0xeeabb4bb
mov word [rbp - 0x48], 0x100
mov dword [rbp - 0x80], 0xbcafa5ea
mov dword [rbp - 0x7c], 0x100ecb8
mov dword [rsp + 0x50], 0xbdabbbea
mov word [rsp + 0x54], 0xed
mov byte [rsp + 0x56], 1
mov dword [rbp - 0x70], 0xaabeb4b8
mov dword [rbp - 0x6c], 0xbabcb8ed
mov word [rbp - 0x68], 0xa0
mov byte [rbp - 0x66], 1
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x28]
call fcn.180005990
nop
lea rdx, [r13 + 0x60]
mov rcx, rax
call fcn.180009bb0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2d8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2e8], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x2d8]
lea rcx, [rbp + 0xd8]
call fcn.180005b00
mov rbx, rax
mov rdi, qword [rbp + 0x2c8]
lea r9, [rbp + 0x2b8]
cmp qword [rbp + 0x2d0], 0x10
cmovae r9, qword [rbp + 0x2b8]
mov r12, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r12
cmp rdi, rax
ja 0x1800046be
lea rax, [r12 + rdi]
mov qword [rbx + 0x10], rax
mov r15, rbx
cmp rcx, 0x10
jb 0x1800046a4
mov r15, qword [rbx]
lea rcx, [r15 + r12]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + r15]
mov byte [rax + r12], 0
jmp 0x1800046d4
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.18000b400
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], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0xb8]
call fcn.180005c00
mov rdi, rax
lea r9, [rbp + 0x298]
cmp qword [rbp - 0x40], 0x10
cmovae r9, qword [rbp - 0x38]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x18000475d
lea rax, [rsi + rcx]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180004745
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x180004789
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.18000b400
mov rdi, rax
mov rax, qword [rbp + 0x2b0]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x298]
mov qword [rbp - 0x38], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x10], xmm1
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
lea r8, [rbp - 0x78]
lea rdx, [rbp]
lea rcx, [rbp + 0x98]
call fcn.180005b00
nop
mov r12, qword [rsp + 0x58]
mov rdx, r12
mov rcx, rax
call fcn.180009bb0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x78]
call fcn.180005d00
nop
lea rdx, [r12 + 0x20]
mov rcx, rax
call fcn.180009bb0
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0x320], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x330], xmm6
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x180004871
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000486c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000486c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x78], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800048c8
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800048c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800048c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x18000490c
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004907
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004907
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xb0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x98], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x180004964
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000495e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000495e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x1800049a8
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800049a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800049a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov qword [rbp + 0xc8], rbx
mov qword [rbp + 0xd0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb8], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x180004a00
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800049fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800049fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x180004a44
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004a3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004a3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov qword [rbp + 0xe8], rbx
mov qword [rbp + reloc.WS2_32.dll_ntohs0], 0xf
mov byte [rbp + 0xd8], 0
mov rdx, qword [rbp + 0x2f0]
cmp rdx, 0x10
jb 0x180004aa2
inc rdx
mov rcx, qword [rbp + 0x2d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004a9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004a9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x180004ae0
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004adb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004adb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x58], rax
lea rdx, [r12 + 0xa0]
lea rcx, [rbp + 0x2d8]
call fcn.180009da0
mov r15, rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x60], rax
lea rdx, [r12 + 0x80]
lea rcx, [rbp + 0x58]
call fcn.180009da0
mov r13, rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
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 0x180004b83
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x30], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x180004bfc
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180004bda
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180005941
mov rcx, rax
call fcn.1800b31bc
mov rcx, rax
test rax, rax
je 0x180004bd3
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180004be8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180004be6
call fcn.1800b31bc
jmp 0x180004be8
xor eax, eax
mov qword [rsp + 0x30], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbx
mov r9, r15
mov r8, r13
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x258]
call fcn.180008510
nop
call fcn.180008970
mov qword [rbp + 0x38], 0
lea r8, [rbp]
lea rdx, [rbp + 0x258]
lea rcx, [rbp + 0x248]
call fcn.18000b170
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x340]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x340]
call fcn.180009650
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f8], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b31bc
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 + 0x258]
cmp qword [rbp + 0x270], 0x10
cmovae r8, qword [rbp + 0x258]
lea rax, [r12 + 0x40]
cmp qword [rax + 0x18], 0x10
jb 0x180004cc4
mov rax, qword [rax]
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r15
mov r9, qword [rbp + 0x268]
mov rdx, qword [r12 + 0x50]
mov rcx, rax
call fcn.180018340
mov rsi, r15
cmp r15, r13
je 0x180004d4d
nop
movzx edi, byte [rsi]
lea rdx, [0x180002850]
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 + 0x68]
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 0x180004cf0
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rax
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x30], al
mov dword [rsp + 0x50], 0x7ee
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov rcx, qword [rbp + 0x3c8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x180004db8
mov rax, qword [rbp + 0x398]
mov r8, qword [rax]
test r8, r8
je 0x180004db8
mov rax, qword [rbp + 0x378]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x3c0]
cmovb r8, qword [rbp + 0x3c0]
sub r8, rdx
jmp 0x180004df2
test cl, 4
jne 0x180004de8
mov rax, qword [rbp + 0x390]
mov rcx, qword [rax]
test rcx, rcx
je 0x180004de8
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 0x180004df2
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x180004e06
lea rcx, [rsp + 0x30]
call fcn.18000a8f0
mov rdi, qword [rsp + 0x48]
lea rdx, [rsp + 0x30]
mov rbx, qword [rsp + 0x30]
cmp rdi, 0x10
cmovae rdx, rbx
nop dword [rax + rax]
inc r14
cmp byte [rdx + r14], 0
jne 0x180004e20
lea rcx, [0x1802dc7d8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x1802dc7d8]
mov r8, qword [0x1802dc7e8]
cmp r8, r14
jne 0x180004e5b
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180004e5b
xor sil, sil
jmp 0x180004e5e
mov sil, 1
cmp rdi, 0x10
jb 0x180004e98
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180004e90
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004e90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800b29dc
test sil, sil
je 0x180004ea4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0x248]
lea rcx, [rsp + 0x68]
call fcn.180009720
mov rbx, rax
mov qword [rsp + 0x60], rax
lea rdx, str.success
mov rcx, rax
call fcn.18000b000
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.18000b000
cmp byte [rax], 3
jne 0x180004f01
mov r8, qword [rax + 8]
jmp 0x180004f04
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180004f11
mov rdx, qword [r8]
lea rcx, [r12 + 0x240]
mov r8, qword [r8 + 0x10]
call fcn.18000a8f0
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.18000a430
movzx ecx, byte [rbp + 0x248]
test cl, cl
jne 0x180004f62
mov byte [rbp + 0x248], 1
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.18000ac00
mov rbx, qword [rsp + 0x58]
mov qword [rbp + 0x250], rbx
movzx ecx, byte [rbp + 0x248]
jmp 0x180004f69
mov rbx, qword [rbp + 0x250]
cmp cl, 1
jne 0x180005013
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov r8d, 7
lea rdx, str.success
lea rcx, [rbp - 0x70]
call fcn.18000a8f0
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.180013240
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180004ff3
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004fee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004fee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov rbx, qword [rbp + 0x250]
movzx ecx, byte [rbp + 0x248]
jmp 0x180005018
mov rdi, qword [rsp + 0x60]
lea rax, [rdi + 8]
cmp byte [rdi], 4
cmovne rax, rsi
cmp byte [rax], 0
je 0x180005442
test cl, cl
jne 0x180005056
mov byte [rbp + 0x248], 1
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.18000ac00
mov rbx, qword [rsp + 0x58]
mov qword [rbp + 0x250], rbx
movzx ecx, byte [rbp + 0x248]
cmp cl, 1
jne 0x1800050f2
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov r8d, 9
lea rdx, str.sessionid
lea rcx, [rbp - 0x70]
call fcn.18000a8f0
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.180013240
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1800050e0
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800050db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800050db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
jmp 0x1800050f7
mov rbx, qword [rsp + 0x60]
cmp byte [rbx], 3
jne 0x180005102
mov r8, qword [rbx + 8]
jmp 0x180005105
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180005112
mov rdx, qword [r8]
lea rcx, [r12 + 0x260]
mov r8, qword [r8 + 0x10]
call fcn.18000a8f0
movzx eax, byte [rbp + 0x248]
test al, al
jne 0x180005156
mov byte [rbp + 0x248], 1
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.18000ac00
mov rbx, qword [rsp + 0x58]
mov qword [rbp + 0x250], rbx
movzx eax, byte [rbp + 0x248]
jmp 0x18000515d
mov rbx, qword [rbp + 0x250]
cmp al, 1
jne 0x180005202
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
mov r8d, 7
lea rdx, str.appinfo
lea rcx, [rsp + 0x30]
call fcn.18000a8f0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.180013240
mov rbx, qword [rax]
add rbx, 0x40
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800051ed
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800051e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800051e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
jmp 0x180005207
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180009720
mov rbx, rax
mov qword [rsp + 0x60], rax
lea rdx, str.numUsers
mov rcx, rax
call fcn.18000b000
cmp byte [rax], 3
jne 0x180005236
mov r8, qword [rax + 8]
jmp 0x180005239
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180005246
mov rdx, qword [r8]
lea rcx, [r12 + 0xc0]
mov r8, qword [r8 + 0x10]
call fcn.18000a8f0
lea rdx, str.numOnlineUsers
mov rcx, rbx
call fcn.18000b000
cmp byte [rax], 3
jne 0x180005271
mov r8, qword [rax + 8]
jmp 0x180005274
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180005281
mov rdx, qword [r8]
lea rcx, [r12 + 0xe0]
mov r8, qword [r8 + 0x10]
call fcn.18000a8f0
lea rdx, str.numKeys
mov rcx, rbx
call fcn.18000b000
cmp byte [rax], 3
jne 0x1800052ac
mov r8, qword [rax + 8]
jmp 0x1800052af
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1800052bc
mov rdx, qword [r8]
lea rcx, [r12 + 0x100]
mov r8, qword [r8 + 0x10]
call fcn.18000a8f0
lea rdx, str.version
mov rcx, rbx
call fcn.18000b000
cmp byte [rax], 3
jne 0x1800052e7
mov r8, qword [rax + 8]
jmp 0x1800052ea
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1800052f7
mov rdx, qword [r8]
lea rcx, [r12 + 0x120]
mov r8, qword [r8 + 0x10]
call fcn.18000a8f0
lea rdx, str.customerPanelLink
mov rcx, rbx
call fcn.18000b000
cmp byte [rax], 3
jne 0x180005322
mov r8, qword [rax + 8]
jmp 0x180005325
mov r8, rsi
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180005332
mov rdx, qword [r8]
lea rcx, [r12 + 0x140]
mov r8, qword [r8 + 0x10]
call fcn.18000a8f0
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.18000a430
nop
test r15, r15
je 0x18000538a
sub r13, r15
cmp r13, 0x1000
jb 0x18000537e
add r13, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x18000575a
mov r15, rcx
mov rdx, r13
mov rcx, r15
call fcn.1800b29dc
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.180009590
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.18000a430
nop
mov rdx, qword [rbp + 0x270]
cmp rdx, 0x10
jb 0x180005766
inc rdx
mov rcx, qword [rbp + 0x258]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005761
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005761
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test cl, cl
jne 0x18000546c
mov byte [rbp + 0x248], 1
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.18000ac00
mov rbx, qword [rsp + 0x58]
mov qword [rbp + 0x250], rbx
movzx ecx, byte [rbp + 0x248]
cmp cl, 1
jne 0x180005512
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
mov r8d, 7
lea rdx, str.message
lea rcx, [rsp + 0x30]
call fcn.18000a8f0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.180013240
mov rdi, qword [rax]
add rdi, 0x40
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800054fd
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800054f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800054f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
jmp 0x180005517
mov rdi, qword [rsp + 0x60]
mov byte [rsp + 0x68], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b31bc
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.18000a8f0
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.18000bff0
movzx ebx, al
movzx edx, byte [rsp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.18000a430
nop
test bl, bl
je 0x180005351
lea rdx, str.download
lea rcx, [rbp + 0x248]
call fcn.18000b000
lea rdx, [rbp + 0x2d8]
mov rcx, rax
call fcn.18000b0e0
lea rdx, [0x1800d0cab]
lea rcx, [rbp + 0x2d8]
call fcn.18000afb0
test al, al
je 0x180005723
movdqa xmm0, xmmword [0x1800d2270]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1800d21b0]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x1800d22f0]
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x1800d21a0]
movdqa xmmword [rbp + 0x130], xmm1
movdqa xmm0, xmmword [0x1800d2180]
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmm1, xmmword [0x1800d2110]
movdqa xmmword [rbp + 0x150], xmm1
movdqa xmm0, xmmword [str._fOBNZ]
movdqa xmmword [rbp + 0x160], xmm0
movdqa xmm1, xmmword [0x1800d20f0]
movdqa xmmword [rbp + 0x170], xmm1
movdqa xmm0, xmmword [0x1800d20e0]
movdqa xmmword [rbp + 0x180], xmm0
movdqa xmm1, xmmword [0x1800d20c0]
movdqa xmmword [rbp + 0x190], xmm1
movdqa xmm0, xmmword [0x1800d20a0]
movdqa xmmword [rbp + 0x1a0], xmm0
movdqa xmm1, xmmword [0x1800d2310]
movdqa xmmword [rbp + 0x1b0], xmm1
movdqa xmm0, xmmword [0x1800d2320]
movdqa xmmword [rbp + 0x1c0], xmm0
movdqa xmm1, xmmword [0x1800d22e0]
movdqa xmmword [rbp + 0x1d0], xmm1
movdqa xmm0, xmmword [0x1800d22b0]
movdqa xmmword [rbp + 0x1e0], xmm0
movdqa xmm1, xmmword [0x1800d2230]
movdqa xmmword [rbp + 0x1f0], xmm1
movdqa xmm0, xmmword [0x1800d2260]
movdqa xmmword [rbp + 0x200], xmm0
movdqa xmm1, xmmword [0x1800d21c0]
movdqa xmmword [rbp + 0x210], xmm1
movdqa xmm0, xmmword [0x1800d2200]
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.180005e00
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x180005751
lea rcx, [rbp + 0x2d8]
call fcn.180009a80
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.1800b29dc
mov qword [rbp + 0x268], rsi
mov qword [rbp + 0x270], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x258], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1800057be
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800057b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800057b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
nop
mov rdx, qword [rbp + 0x2d0]
cmp rdx, 0x10
jb 0x180005802
inc rdx
mov rcx, qword [rbp + 0x2b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800057fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800057fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov qword [rbp + 0x2c8], rsi
mov qword [rbp + 0x2d0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2b8], 0
mov rax, qword [rbp - 0x40]
cmp rax, 0x10
jb 0x18000585b
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005855
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005855
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
nop
mov rdx, qword [rbp + 0x290]
cmp rdx, 0x10
jb 0x18000589f
inc rdx
mov rcx, qword [rbp + 0x278]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000589a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000589a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b29dc
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.1800b2f90
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 [0x1800d2340]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1800d2290]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm0, xmmword [0x1800d21e0]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x1800d2160]
movdqa xmmword [rbp + 0x30], xmm1
mov dword [rbp + 0x40], 0x6c206365
mov dword [rbp + 0x44], 0x1006160
lea rcx, [rbp]
call fcn.180005960
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.1800026e0
nop
call fcn.180002780
int3
call fcn.1800026e0
int3