Function at 0x140049620
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 rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x260
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400f60c0]
xor rax, rsp
mov qword [rbp + 0x130], rax
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
lea rcx, [rbp + 0x188]
movabs r13, 0xff00ff00ff00ff00
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x90], rcx
mov rax, qword [rcx]
xor rax, r13
mov qword [rbp + 0x80], rax
mov qword [rcx], r12
mov r15d, r12d
xor eax, eax
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rax
movups xmm3, xmmword [0x1400e4448]
movups xmmword [rbp + 0x38], xmm3
movsd xmm0, qword [str._G_A]
movsd qword [rbp + 0x48], xmm0
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp word [0x1400e445e], ax
je 0x140049804
mov r8d, r12d
cmp r14d, 2
jl 0x1400497c0
movdqa xmm4, xmmword [0x1400e4ef0]
movdqa xmm2, xmmword [0x1400e4c40]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e4c70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1400e4cb0]
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rbp + 0x38], xmm2
movdqa xmm3, xmmword [0x1400e4c60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e4c70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1400e4cb0]
movq xmm0, qword [rbp + 0x40]
xorps xmm2, xmm0
movq qword [rbp + 0x40], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp + 0x38]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xc
jl 0x1400497d0
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.1400580a0
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.14004a2c0
nop
mov rdx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x70]
cmp rdx, rax
je 0x140049883
mov esi, r12d
sub rax, rdx
sar rax, 2
test rax, rax
je 0x140049883
mov rdi, r12
nop
mov r8d, dword [rdi + rdx]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
lea rdi, [rdi + 4]
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x68]
sub rcx, rdx
sar rcx, 2
movsxd rax, esi
cmp rax, rcx
jb 0x140049840
movsd xmm0, qword [str.ECYKNeRRJZ0_C]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x1400e44c8]
mov dword [rsp + 0x48], eax
movzx eax, word [0x1400e44cc]
mov word [rsp + 0x4c], ax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [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 0x140049936
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140049936
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
mov r8d, 0xa1561030
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140049931
nop dword [rax]
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140049910
cmp r8d, 0x56a30b71
je 0x14004993b
test r9d, r9d
jne 0x1400498f0
mov rax, qword [rax]
jmp 0x1400498c0
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r11d, dword [rcx + rax*4]
add r11, r10
mov r8d, r12d
cmp r14d, 2
jl 0x140049a5c
movdqa xmm4, xmmword [0x1400e4ef0]
movdqa xmm2, xmmword [0x1400e4c40]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e4c70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e4cc0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666]
movd xmm0, dword [str.ECYKNeRRJZ0_C]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x1400e4c60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e4c70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e4cc0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666]
movd xmm0, dword [rsp + 0x44]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140049a70
lea rcx, [rsp + 0x40]
call r11
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
movups xmm7, xmmword [0x1400e4448]
movups xmmword [rbp + 0x20], xmm7
movsd xmm0, qword [str._G_A]
movsd qword [rbp + 0x30], xmm0
cmp word [0x1400e445e], ax
je 0x140049c14
mov r8d, r12d
cmp r14d, 2
jl 0x140049bce
movdqa xmm4, xmmword [0x1400e4ef0]
movdqa xmm6, xmmword [0x1400e4cb0]
movdqa xmm2, xmmword [0x1400e4c40]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e4c70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm1, xmm7
xorps xmm3, xmm1
movq qword [rbp + 0x20], xmm3
movdqa xmm2, xmmword [0x1400e4c60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e4c70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rbp + 0x28]
xorps xmm3, xmm0
movq qword [rbp + 0x28], xmm3
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp + 0x20]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xc
jl 0x140049be0
lea rdx, [rbp + 0x20]
lea rcx, [rbp]
call fcn.1400580a0
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14004a2c0
nop
mov rcx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x58]
cmp rcx, rax
je 0x14004a0be
sub rax, rcx
sar rax, 2
cmp rax, 1
ja 0x14004a0be
mov dword [rbp + 0xa0], r12d
lea rdx, [0x1400dd726]
lea rcx, [rbp + 0xa8]
call fcn.1400556e0
nop
lea rdx, [0x1400dd726]
lea rcx, [rbp + 0xc8]
call fcn.1400556e0
mov qword [rbp + 0xe8], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x108], 0x10000000
mov qword [rbp + 0x118], r12
movdqu xmmword [rbp + 0x120], xmm0
mov rax, qword [rbp + 0x50]
mov ecx, dword [rax]
mov dword [rbp + 0xa0], ecx
mov byte [rbp + 0x110], 1
xorps xmm6, xmm6
movdqu xmmword [rbp + 0x38], xmm6
mov qword [rbp + 0x48], r12
mov esi, r12d
lea r14, [rbp + 0x188]
nop
test r15, r15
je 0x140049cee
cmp esi, 0x32
jle 0x140049f0d
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 edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140049d76
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140049d76
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, 0x988dbf2
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140049d71
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140049d50
cmp r8d, 0xcb721f75
je 0x140049d7b
test r9d, r9d
jne 0x140049d30
mov rax, qword [rax]
jmp 0x140049d00
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
mov ecx, 0x64
call rdx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0xa0]
mov dword [rsp + 0x70], eax
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x78]
call fcn.1400581f0
nop
lea rdx, [rbp + 0xc8]
lea rcx, [rbp - 0x68]
call fcn.1400581f0
nop
movups xmm0, xmmword [rbp + 0xe8]
movups xmmword [rbp - 0x48], xmm0
mov rax, qword [rbp + 0xf8]
mov qword [rbp - 0x38], rax
movss xmm0, dword [rbp + 0x100]
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [rbp + 0x104]
movss dword [rbp - 0x2c], xmm1
mov eax, dword [rbp + 0x108]
mov dword [rbp - 0x28], eax
mov eax, dword [rbp + 0x10c]
mov dword [rbp - 0x24], eax
movzx eax, byte [rbp + 0x110]
mov byte [rbp - 0x20], al
lea rdx, [rbp + 0x118]
lea rcx, [rbp - 0x18]
call fcn.140057f50
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, r13
mov qword [rbp + 0x20], rax
mov qword [r14], r12
lea rdx, [rsp + 0x70]
lea rcx, [0x14004a520]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x50]
call fcn.140057f50
nop
mov qword [r14], rbx
lea rcx, [rsp + 0x70]
call fcn.14004a1b0
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140049eca
mov rax, qword [rbp + 0x48]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049ec5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a09f
call fcn.1400ca19c
movups xmm6, xmmword [rsp + 0x50]
movdqu xmmword [rbp + 0x38], xmm6
movsd xmm0, qword [rsp + 0x60]
movsd qword [rbp + 0x48], xmm0
movdqa xmm1, xmm6
psrldq xmm1, 8
movq rax, xmm1
movq rcx, xmm6
sub rax, rcx
sar rax, 3
cmp rax, 1
ja 0x14004a05a
mov r15, qword [rcx]
inc esi
jmp 0x140049ce0
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_SetMenu]
mov edx, 0xfffffff0
mov r8d, 0x10000000
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x188]
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], rcx
mov rdi, qword [rcx]
mov rax, rdi
xor rax, r13
mov qword [rbp + 0x20], rax
mov qword [rcx], r12
mov rax, qword [0x1400f8220]
mov ecx, 1
call rax
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rax, [rbp + 0x188]
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], rax
mov rcx, rdi
xor rcx, r13
mov qword [rbp + 0x20], rcx
mov qword [rax], r12
mov rax, qword [0x1400f8220]
xor ecx, ecx
call rax
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x188]
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], rdx
mov rcx, rdi
xor rcx, r13
mov qword [rbp + 0x20], rcx
mov qword [rdx], r12
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [0x1400f8388]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x188]
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], rcx
mov rax, rdi
xor rax, r13
mov qword [rbp + 0x20], rax
mov qword [rcx], r12
mov rax, qword [0x1400f8220]
xor ecx, ecx
call rax
nop
mov dword [0x1400f87c0], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rbx, [rbp + 0x188]
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], rbx
mov rax, rdi
xor rax, r13
mov qword [rbp + 0x20], rax
mov qword [rbx], r12
mov rax, qword [0x1400f8220]
mov ecx, 1
call rax
nop
mov qword [rbx], rdi
mov dword [0x1400f87f8], eax
movq rcx, xmm6
test rcx, rcx
je 0x14004a0ac
mov rax, qword [rbp + 0x48]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a0a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a0a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400ca19c
nop
lea rcx, [rbp + 0xa0]
call fcn.14004a1b0
mov rcx, qword [rbp + 0x50]
jmp 0x14004a0c1
mov r15, r12
test rcx, rcx
je 0x14004a112
mov rax, qword [rbp + 0x60]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a101
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a101
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca19c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x14004a15c
mov rax, qword [rbp + 0x78]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a156
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a156
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca19c
nop
mov rcx, qword [rbp + 0x80]
xor rcx, r13
lea rax, [rbp + 0x188]
mov qword [rax], rcx
mov rax, r15
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400c9ee0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret