Function at 0x1400ec330
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate gui resources
Hash data using fnv
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140596f00]
xor rax, rsp
mov qword [rbp], rax
mov r14, rdx
mov qword [rsp + 0x38], rdx
mov r15, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x70], rdx
xor r12d, r12d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x30]
call fcn.1400e1a20
nop
cmp byte [rbp - 0x48], r12b
je 0x1400ec5bb
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov qword [rbp - 0x78], r12
mov rcx, qword [rbp - 0x58]
mov rax, rcx
shr rax, 1
mov qword [rsp + 0x68], rax
je 0x1400ec3bc
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.14010bd90
mov rcx, qword [rbp - 0x58]
mov rdi, r12
test rcx, rcx
je 0x1400ec4db
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
cmp rcx, rdi
jb 0x1400ecaa7
sub rcx, rdi
mov r8d, 2
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
add rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1400f2730
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rbx, qword [rbp - 0x40]
mov dword [rax], r12d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rsp + 0x68]
je 0x1400ecaba
cmp dword [rsi], 0x22
je 0x1400ecaad
mov byte [rsp + 0x30], al
mov rdx, qword [rbp - 0x80]
cmp rdx, qword [rbp - 0x78]
je 0x1400ec46b
mov byte [rdx], al
inc qword [rbp - 0x80]
jmp 0x1400ec47a
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.14010f850
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rax, qword [rbp - 0x40]
mov qword [rbp - 0x30], r12
mov byte [rax], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400ec4ca
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec4c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ec564
call fcn.140127e30
add rdi, 2
mov rcx, qword [rbp - 0x58]
cmp rdi, rcx
jb 0x1400ec3d0
lea r9, [rsp + 0x30]
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x20]
call fcn.1400e1890
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rbp - 0x68]
call fcn.1400e09d0
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rax, qword [rbp - 0x20]
mov byte [rax], 0
mov rcx, qword [rsp + 0x78]
cmp rcx, qword [rbp - 0x80]
je 0x1400ec52e
mov qword [rbp - 0x80], rcx
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400ec575
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec56b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ec56b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127e30
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400ec5bb
mov rdx, qword [rbp - 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec5a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ec5a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127e30
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r12
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x48]
call fcn.1400e0750
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov r13, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400ec625
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec620
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ec620
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127e30
movdqa xmm0, xmmword [0x140173540]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
cmp byte [rbp - 0x48], 0
jne 0x1400ec7a2
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov r8, r12
mov qword [rbp - 0x78], r12
mov r9d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x70], r9
mov byte [rsp + 0x78], r8b
lea r14, [rbp - 0x68]
cmp qword [rbp - 0x50], r9
cmova r14, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
cmova rcx, qword [rbp - 0x68]
mov r15, qword [rbp - 0x58]
add r15, rcx
cmp r14, r15
je 0x1400ec72c
movzx ebx, byte [rsp + 0x30]
nop dword [rax + rax]
movzx r8d, byte [r14]
lea rdx, str._02x
lea rcx, [rsp + 0x68]
call fcn.140064d00
lea rax, [rsp + 0x68]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400ec6b1
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1400ec6fd
lea rax, [rcx + rsi]
mov qword [rbp - 0x78], rax
lea rdi, [rsp + 0x78]
cmp rdx, 0xf
cmova rdi, qword [rsp + 0x78]
add rdi, rcx
mov r8, rsi
lea rdx, [rsp + 0x68]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x1400ec718
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x68]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.14010bfb0
inc r14
cmp r14, r15
jne 0x1400ec690
mov r9, qword [rbp - 0x70]
mov r8, qword [rbp - 0x78]
lea rdx, [rsp + 0x78]
cmp r9, 0xf
cmova rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.1400e09d0
mov byte [rbp - 0x48], 1
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400ec787
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec782
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ec782
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127e30
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x20]
call fcn.1400e0750
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400ec7ed
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec7e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ec7e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127e30
test r13, r13
je 0x1400ec8e0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400ec886
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400ec886
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x114fb419
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400ec881
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400ec860
cmp r8d, 0xaa53fb7d
je 0x1400ec88b
test r9d, r9d
jne 0x1400ec840
mov rax, qword [rax]
jmp 0x1400ec810
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rsp + 0x68]
mov rcx, r13
call r8
mov r8d, dword [rsp + 0x68]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400ec8e0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400ec91e
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ec919
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ec919
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127e30
mov ecx, dword [0x14059e730]
call fcn.140106840
test al, al
jne 0x1400ec96e
mov ecx, dword [0x14059e734]
call fcn.140106840
test al, al
jne 0x1400ec96e
mov ecx, dword [0x14059e738]
call fcn.140106840
test al, al
jne 0x1400ec96e
mov ecx, dword [0x14059e73c]
call fcn.140106840
test al, al
jne 0x1400ec96e
xor edx, edx
lea rcx, [0x1400ecb80]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x1400eca16
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400ec9f6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400ec9f6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0xf3066d5d
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400ec9f1
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x1400ec9d0
cmp r8d, 0xbb222d7d
je 0x1400ec9fb
test r9d, r9d
jne 0x1400ec9b0
mov rax, qword [rax]
jmp 0x1400ec980
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
xor ecx, ecx
call rdx
lea rdx, str.success
mov rcx, r14
call fcn.1400067f0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r12
movzx eax, byte [rcx]
mov byte [r15 + 0x210], al
lea rdx, str.message
mov rcx, r14
call fcn.1400067f0
cmp byte [rax], 3
jne 0x1400eca52
mov r12, qword [rax + 8]
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1400eca61
mov rdx, qword [r12]
lea rcx, [r15 + 0x218]
mov r8, qword [r12 + 0x10]
call fcn.1400e09d0
nop
lea rcx, [r14 + 8]
movzx edx, byte [r14]
call fcn.14000af50
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140128080
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000aaf0
nop
lea rcx, str.stoul_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
lea rcx, str.invalid_stoul_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3