joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040e8c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov rax, qword [0x1400b02e8]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, rcx
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x20], r14d
call fcn.14003f384
and eax, 0xffff0000
lea r15d, [r14 + 7]
cmp eax, 0x800000
jl 0x140040f3d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov word [rsp + 0x28], r14w
lea rdx, str.API_MS_WIN
lea rcx, [rsp + 0x28]
call fcn.140003b34
lea esi, [r14 + 1]
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140040f25
mov rcx, qword [rdi]
mov r8, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsnicmp]
nop dword [rax + rax]
test eax, eax
mov bl, sil
je 0x140040f40
mov bl, r14b
test sil, 1
je 0x140040f63
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140040f63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140003d24
test bl, bl
je 0x140040fde
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140040f82
mov rcx, qword [rdi]
lea rdx, [rsp + 0x28]
call fcn.140040d10
mov rsi, rax
mov rbx, r14
test rax, rax
je 0x1400410a8
lea rdx, str.API_MS_WIN_CORE_PROCESSTHREADS_L1_1_0.DLL
mov rdx, qword [rbx + rdx]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__stricmp]
nop dword [rax + rax]
test eax, eax
je 0x140041096
add rbx, 8
cmp rbx, 0x30
jb 0x140040f9b
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140040fde
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
call fcn.140003d24
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
dec eax
cmp eax, 0x103
ja 0x1400410c4
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov word [rsp + 0x28], r14w
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140003b34
nop
mov r8, rdi
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.140041390
cmp qword [rax + 0x18], 8
jb 0x14004103d
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop dword [rax + rax]
mov rbx, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14004106c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.140003d24
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
mov word [rsp + 0x48], r14w
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400410bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
jmp 0x1400410ba
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop dword [rax + rax]
mov rbx, rax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400410bf
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
call fcn.140003d24
mov rax, rbx
jmp 0x1400410c6
xor eax, eax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140066410
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14006396c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x50
mov rbp, rdx
mov rbx, rcx
mov rdx, rcx
mov rcx, rbp
call fcn.14003642c
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140063999
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 1
lea r9, [0x14008c22c]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.140041e48
cmp rax, 0xffffffffffffffff
jne 0x1400639c2
mov al, 1
jmp 0x140063a4e
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400639cf
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x140063a4e
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14001c8dc
nop
cmp qword [rbx + 0x18], 8
jb 0x1400639fe
mov rbx, qword [rbx]
mov r8d, esi
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
cmp esi, eax
sete bl
jne 0x140063a2a
mov rdx, qword [rsp + 0x30]
mov rcx, rbp
call fcn.140003b34
nop
cmp qword [rsp + 0x30], 0
je 0x140063a4c
mov rdx, qword [rsp + 0x40]
sub rdx, qword [rsp + 0x30]
sar rdx, 1
add rdx, rdx
mov rcx, qword [rsp + 0x30]
call fcn.140003d24
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
Function at 0x140065f30
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rbx, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
je 0x140065f78
lea edi, [rsi + 0xd]
jmp 0x140066033
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0xea
jne 0x140066033
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
mov r8, qword [rbp - 0x18]
mov rcx, r8
mov rdi, qword [rbp - 0x20]
sub rcx, rdi
sar rcx, 1
cmp rdx, rcx
jae 0x140065fb8
lea rax, [rdi + rdx*2]
mov qword [rbp - 0x18], rax
jmp 0x140065ff9
jbe 0x140065ff9
mov rax, qword [rbp - 0x10]
sub rax, rdi
sar rax, 1
cmp rdx, rax
jbe 0x140065fdc
lea r8, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140040958
mov rdi, qword [rbp - 0x20]
jmp 0x140065ff9
sub rdx, rcx
je 0x140065ff5
movzx eax, si
mov rdi, r8
mov rcx, rdx
rep stosw word [rdi], ax
lea r8, [r8 + rdx*2]
mov rdi, qword [rbp - 0x20]
mov qword [rbp - 0x18], r8
lea r8, [rbp + 0x30]
mov rdx, rdi
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x140066025
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x140066033
mov rdx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.140003b34
mov edi, esi
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14006604e
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
call fcn.140003d24
mov eax, edi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x180001610
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
movsxd rdi, dword [rcx + 0x3c]
mov eax, 0x8664
add rdi, rcx
cmp word [rdi + 4], ax
movzx eax, word [rdi + 0x14]
lea r13, [rax + rdi + 0x18]
je 0x1800016d0
cmp dword [rdi + 0xa0], 0
je 0x18000175c
cmp dword [rdi + 0xa4], 0
je 0x18000175c
mov r12d, dword [rdi + 0x38]
xor ebx, ebx
cmp bx, word [rdi + 6]
jae 0x1800016c3
lea rsi, [r13 + 0xc]
movsxd rax, ebx
lea rdx, str..rsrc
lea rcx, [rax + rax*4]
lea rbp, [r13 + rcx*8]
mov rcx, rbp
call fcn.1800045c4
test eax, eax
je 0x1800016b5
lea rdx, str..reloc
mov rcx, rbp
call fcn.1800045c4
test eax, eax
je 0x1800016b5
mov eax, dword [rsi + 0x28]
sub eax, dword [rsi - 4]
sub eax, dword [rsi]
shr eax, 2
cmp eax, r12d
cmovb r12d, eax
movzx eax, word [rdi + 6]
inc ebx
add rsi, 0x28
cmp ebx, eax
jl 0x180001671
lea eax, [r12*4]
jmp 0x18000175e
cmp dword [rdi + 0xb0], 0
je 0x18000175c
cmp dword [rdi + 0xb4], 0
je 0x18000175c
mov r12d, dword [rdi + 0x38]
xor ebx, ebx
cmp bx, word [rdi + 6]
jae 0x180001752
lea rsi, [r13 + 0xc]
nop word [rax + rax]
movsxd rax, ebx
lea rdx, str..rsrc
lea rcx, [rax + rax*4]
lea rbp, [r13 + rcx*8]
mov rcx, rbp
call fcn.1800045c4
test eax, eax
je 0x180001744
lea rdx, str..reloc
mov rcx, rbp
call fcn.1800045c4
test eax, eax
je 0x180001744
mov eax, dword [rsi + 0x28]
sub eax, dword [rsi - 4]
sub eax, dword [rsi]
shr eax, 3
cmp eax, r12d
cmovb r12d, eax
movzx eax, word [rdi + 6]
inc ebx
add rsi, 0x28
cmp ebx, eax
jl 0x180001700
lea eax, [r12*8]
jmp 0x18000175e
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x180001780
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
movzx edi, word [r8 + 0xe]
movzx eax, word [r8 + 0xc]
mov rsi, r9
add edi, eax
mov r10, rcx
lea rbx, [r8 + 0x10]
je 0x180001848
mov qword [rsp + 0x60], rbp
mov ebp, dword [rsp + 0x70]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x1800017e8
test ebp, ebp
jne 0x1800017c7
cmp word [rbx], 0x18
je 0x180001837
btr ecx, 0x1f
lea eax, [rbp + 1]
mov r9, rsi
lea r8, [rdx + rcx]
mov rcx, r10
mov dword [rsp + 0x20], eax
call fcn.180001780
mov r10, qword [rsp + 0x50]
jmp 0x180001832
btr ecx, 0x1f
mov r9d, dword [rcx + rdx + 4]
mov r8d, dword [rcx + rdx]
shr r9d, 2
add r8, r10
test r9d, r9d
je 0x180001837
mov eax, dword [rsi]
add r8, 4
xor dword [r8 - 4], eax
mov ecx, dword [rsi]
mov eax, 0x8fd66c05
mul ecx
shr edx, 0x11
imul edx, edx, 0x38f40
sub ecx, edx
imul ecx, ecx, 0x2455
add ecx, 0xc091
dec r9d
mov dword [rsi], ecx
jne 0x180001801
mov rdx, qword [rsp + 0x58]
add rbx, 8
dec edi
jne 0x1800017b6
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x180001850
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x160
mov rax, qword [0x180027010]
xor rax, rsp
mov qword [rsp + 0x150], rax
movsxd rsi, dword [rcx + 0x3c]
xor r12d, r12d
mov rbp, rcx
add rsi, rcx
mov ebx, r12d
movzx eax, word [rsi + 0x14]
lea rdi, [rax + rsi + 0x18]
cmp r12w, word [rsi + 6]
jae 0x1800018c1
nop word [rax + rax]
lea rdx, str..rsrc
mov rcx, rdi
call fcn.1800045c4
test eax, eax
je 0x1800018c1
movzx eax, word [rsi + 6]
inc ebx
add rdi, 0x28
cmp ebx, eax
jl 0x1800018a0
movzx eax, word [rsi + 6]
cmp ebx, eax
jge 0x1800019b1
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x40], r12b
call fcn.180004900
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str.QA1Q0ZWQIE__d
lea rcx, [rsp + 0x40]
mov r8d, eax
call fcn.180004690
lea r8, [rsp + 0x40]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
test rax, rax
je 0x1800019b1
mov edx, 0x3e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1800019a8
mov esi, dword [rdi + 0xc]
add rsi, rbp
mov edx, dword [rsi]
mov dword [rsp + 0x34], edx
test edx, edx
je 0x18000199f
mov eax, edx
shr eax, 0x10
xor al, 0x76
cmp dl, al
jne 0x18000199f
mov eax, edx
shr edx, 8
shr eax, 0x18
xor al, 0x5a
cmp dl, al
jne 0x18000199f
mov edx, dword [rdi + 0x10]
lea r9, [rsp + 0x30]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r9, [rsp + 0x34]
mov r8, rsi
mov rdx, rsi
mov rcx, rbp
mov dword [rsi], r12d
mov dword [rsp + 0x20], r12d
call fcn.180001780
mov edx, dword [rdi + 0x10]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800048d0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x180001b40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov qword [rsp + 8], 0xfffffffffffffffe
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x180001b5b
xor eax, eax
jmp 0x180001baf
movsxd r8, dword [rcx + 0x3c]
add r8, rcx
cmp dword [r8], 0x4550
je 0x180001b6f
xor eax, eax
jmp 0x180001baf
movzx eax, word [r8 + 0x14]
lea r9, [rax + r8 + 0x18]
xor edx, edx
mov dword [rsp], edx
movzx eax, word [r8 + 6]
cmp edx, eax
jge 0x180001ba6
movsxd rax, edx
lea rcx, [rax + rax*4]
mov eax, dword [r9 + rcx*8 + 0xc]
add eax, dword [r9 + rcx*8 + 8]
cmp eax, dword [r8 + 0x50]
jbe 0x180001ba2
xor eax, eax
jmp 0x180001baf
inc edx
jmp 0x180001b7b
mov eax, 1
jmp 0x180001baf
add rsp, 0x18
ret
Function at 0x180002410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov r13, rdx
mov rdi, rcx
mov qword [rcx], rdx
xor r12d, r12d
mov qword [rcx + 8], r12
movsxd rbx, dword [rdx + 0x3c]
add rbx, rdx
mov eax, 0x8664
cmp word [rbx + 4], ax
je 0x1800024f0
cmp dword [rbx + 0x88], r12d
je 0x18000257b
cmp dword [rbx + 0x8c], r12d
je 0x18000257b
movzx eax, word [rbx + 0x14]
lea rbp, [rax + rbx + 0x18]
mov esi, r12d
cmp r12w, word [rbx + 6]
jae 0x1800024b1
nop word [rax + rax]
lea rdx, str..rsrc
mov rcx, rbp
call fcn.1800045c4
test eax, eax
je 0x1800024b1
add rbp, 0x28
inc esi
movzx eax, word [rbx + 6]
cmp esi, eax
jl 0x180002490
movzx eax, word [rbx + 6]
cmp esi, eax
jge 0x18000257b
mov ebx, dword [rbp + 0xc]
add rbx, r13
mov ecx, 0x10
call fcn.1800052a0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1800024eb
mov r9, rbx
mov r8, rbx
mov rdx, r13
mov rcx, rax
call fcn.180002140
mov r12, rax
jmp 0x180002577
cmp dword [rbx + 0x98], r12d
je 0x18000257b
cmp dword [rbx + 0x9c], r12d
je 0x18000257b
movzx eax, word [rbx + 0x14]
lea rbp, [rax + rbx + 0x18]
mov esi, r12d
cmp r12w, word [rbx + 6]
jae 0x180002541
nop dword [rax]
lea rdx, str..rsrc
mov rcx, rbp
call fcn.1800045c4
test eax, eax
je 0x180002541
add rbp, 0x28
inc esi
movzx eax, word [rbx + 6]
cmp esi, eax
jl 0x180002520
movzx eax, word [rbx + 6]
cmp esi, eax
jge 0x18000257b
mov ebx, dword [rbp + 0xc]
add rbx, r13
mov ecx, 0x10
call fcn.1800052a0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180002577
mov r9, rbx
mov r8, rbx
mov rdx, r13
mov rcx, rax
call fcn.180002140
mov r12, rax
mov qword [rdi + 8], r12
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x180009267
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180027010]
jne 0x1800048ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1800048e6
repz ret
ror rcx, 0x10
jmp 0x1800091c0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180039380]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180039478]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180009245
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180039380]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180009267
mov rax, qword [rsp + 0x88]
mov qword [0x180039478], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180039418], rax
mov rax, qword [0x180039478]
mov qword [0x1800392f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180039400], rax
mov dword [0x1800392e0], 0xc0000409
mov dword [0x1800392e4], 1
mov rax, qword [0x180027010]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180027018]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180039378], eax
mov ecx, 1
call fcn.18000f1dc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18001fef0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180039378], 0
jne 0x1800092ee
mov ecx, 1
call fcn.18000f1dc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x18001d2a8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x180027010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1800063f0
xor ebx, ebx
cmp qword [0x18003a368], rbx
mov rdi, rax
jne 0x18001d3bb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18001d492
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001d492
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18003a368], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18003a370], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x18003a378], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18003a388], rax
test rax, rax
je 0x18001d3b2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x18003a380], rax
jmp 0x18001d3c2
mov rax, qword [0x18003a380]
jmp 0x18001d3c9
mov rax, qword [0x18003a380]
mov r11, qword [0x18003a388]
cmp rax, rdi
je 0x18001d430
cmp r11, rdi
je 0x18001d430
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18003a388]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18001d430
test rax, rax
je 0x18001d430
call rsi
test rax, rax
je 0x18001d42a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18001d42a
test byte [rsp + 0x40], 1
jne 0x18001d430
bts ebp, 0x15
jmp 0x18001d470
mov rcx, qword [0x18003a370]
cmp rcx, rdi
je 0x18001d470
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001d470
call rax
mov rbx, rax
test rax, rax
je 0x18001d470
mov rcx, qword [0x18003a378]
cmp rcx, rdi
je 0x18001d470
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001d470
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18003a368]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18001d492
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18001d494
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800048d0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002600
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4b8
movaps xmmword [rsp + 0x4a0], xmm6
mov ecx, 0x20
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r15, qword [rax + 0x20]
lea r9, [rax + 0x20]
xor eax, eax
lea rdx, [rsp + 0x170]
mov rdi, rdx
rep stosq qword [rdi], rax
cmp r9, r15
je 0x1400027a7
lea rbp, [rsp + 0x39a]
mov qword [rsp + 0x58], r9
xor esi, esi
lea r12, [rsp + 0x280]
mov qword [rsp + 0x48], rdx
mov rcx, rbp
mov rbp, r15
lea rax, [rsp + 0x60]
lea r14, [rsp + 0x390]
mov ebx, 0x33
mov qword [rsp + 0x50], r12
mov r15, rcx
movq xmm6, qword [0x140111490]
mov r13, qword [sym.imp.msvcrt.dll_strcpy_s]
sub ebx, r14d
mov r12, rax
nop
mov rax, rsi
mov ecx, 0x20
mov rdi, r12
xor edx, edx
rep stosq qword [rdi], rax
mov ecx, 0x20
mov r9d, 0xffffffff
mov dword [rdi], 0
mov rdi, qword [rsp + 0x48]
rep stosq qword [rdi], rax
mov dword [rdi], 0
mov r8, qword [rbp + 0x40]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movzx eax, word [0x140111498]
movq qword [rsp + 0x390], xmm6
mov word [rsp + 0x398], ax
mov rax, r14
nop dword [rax + rax]
lea edx, [rbx + rax]
xor byte [rax], dl
add rax, 1
cmp rax, r15
jne 0x140002710
mov rdi, qword [rsp + 0x48]
mov r8, r14
mov edx, 0x104
mov rcx, rdi
call r13
mov r8, rdi
mov rdi, qword [rsp + 0x50]
mov edx, 0x104
mov rcx, rdi
call r13
mov edx, 0x104
mov r8, r12
mov rcx, r14
call r13
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__strlwr]
mov rcx, r14
call qword [sym.imp.msvcrt.dll__strlwr]
mov rdx, rdi
mov rcx, r14
call sub.msvcrt.dll_strstr
test rax, rax
je 0x140002798
mov rax, qword [rbp + 0x20]
movaps xmm6, xmmword [rsp + 0x4a0]
add rsp, 0x4b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, qword [rbp]
cmp qword [rsp + 0x58], rbp
jne 0x1400026a0
xor eax, eax
jmp 0x140002778
Function at 0x140004350
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x60
mov eax, 0x40000000
cpuid
mov rax, qword [str.eyBWE_ow_VDXKVevZNazVBEVZNPMIEY_QQK]
mov dword [rsp + 0x50], ebx
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x2d]
mov dword [rsp + 0x58], edx
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x28], 0x5b4f5d4c
mov byte [rsp + 0x2c], 0x3f
mov dword [rsp + 0x54], ecx
mov ecx, 0x33
mov qword [rsp + 0x20], rax
sub ecx, r9d
mov rax, r9
nop dword [rax + rax]
lea edx, [rcx + rax]
xor byte [rax], dl
add rax, 1
cmp rax, r8
jne 0x1400043a0
lea rbx, [rsp + 0x50]
mov rdx, r9
mov rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x140004470
mov byte [rsp + 0x3c], 0x3f
lea r9, [rsp + 0x30]
mov ecx, 0x33
mov rax, qword [0x14026e848]
mov dword [rsp + 0x38], 0x48751c4f
lea r8, [rsp + 0x3d]
sub ecx, r9d
mov qword [rsp + 0x30], rax
mov rax, r9
nop dword [rax]
lea edx, [rcx + rax]
xor byte [rax], dl
add rax, 1
cmp r8, rax
jne 0x1400043f8
mov rdx, r9
mov rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x140004470
mov byte [rsp + 0x4c], 0x3f
lea r9, [rsp + 0x40]
mov ecx, 0x33
mov rax, qword [0x14026e850]
mov dword [rsp + 0x48], 0x46527e6d
lea r8, [rsp + 0x4d]
sub ecx, r9d
mov qword [rsp + 0x40], rax
mov rax, r9
nop dword [rax + rax]
lea edx, [rcx + rax]
xor byte [rax], dl
add rax, 1
cmp r8, rax
jne 0x140004448
mov rdx, r9
mov rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x140004470
xor eax, eax
add rsp, 0x60
pop rbx
ret
mov eax, 1
add rsp, 0x60
pop rbx
ret
Function at 0x140004480
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0xa0
mov rax, qword [0x14026e858]
mov ecx, 0x33
lea r9, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov eax, 0x404c
lea r8, [rsp + 0x6e]
mov dword [rsp + 0x68], 0x474e124f
sub ecx, r9d
mov word [rsp + 0x6c], ax
mov rax, r9
nop dword [rax]
lea edx, [rcx + rax]
xor byte [rax], dl
add rax, 1
cmp r8, rax
jne 0x1400044c0
mov qword [rsp + 0x70], r9
lea r10, [rsp + 0x30]
mov ecx, 0x33
movzx r9d, word [0x14026e868]
mov rax, qword [0x14026e860]
mov byte [rsp + 0x3a], 0x3d
lea r8, [rsp + 0x3b]
sub ecx, r10d
mov word [rsp + 0x38], r9w
mov qword [rsp + 0x30], rax
mov rax, r10
nop word [rax + rax]
lea edx, [rcx + rax]
xor byte [rax], dl
add rax, 1
cmp rax, r8
jne 0x140004510
mov byte [rsp + 0x28], 0x3b
mov ecx, 0x33
lea r8, [rsp + 0x29]
mov rax, qword [str.EYV_]
mov qword [rsp + 0x78], r10
lea r10, [rsp + 0x20]
mov qword [rsp + 0x20], rax
sub ecx, r10d
mov rax, r10
nop dword [rax]
lea edx, [rcx + rax]
xor byte [rax], dl
add rax, 1
cmp r8, rax
jne 0x140004550
mov rax, qword [0x14026e878]
mov ecx, 0x33
lea r8, [rsp + 0x5c]
mov dword [rsp + 0x58], 0x3e4e4548
mov qword [rsp + 0x80], r10
lea r10, [rsp + 0x50]
mov qword [rsp + 0x50], rax
sub ecx, r10d
mov rax, r10
nop
lea edx, [rcx + rax]
xor byte [rax], dl
add rax, 1
cmp r8, rax
jne 0x140004590
mov byte [rsp + 0x4a], 0x3d
mov ecx, 0x33
lea r8, [rsp + 0x4b]
mov rax, qword [0x14026e880]
mov qword [rsp + 0x88], r10
mov word [rsp + 0x48], r9w
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rax
sub ecx, r9d
mov rax, r9
nop word [rax + rax]
lea edx, [rcx + rax]
xor byte [rax], dl
add rax, 1
cmp r8, rax
jne 0x1400045d8
mov qword [rsp + 0x90], r9
mov rsi, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rbx, [rsp + 0x70]
lea rdi, [rsp + 0x98]
mov rcx, qword [rbx]
call rsi
test rax, rax
jne 0x140004620
add rbx, 8
cmp rdi, rbx
jne 0x140004602
add rsp, 0xa0
pop rbx
pop rsi
pop rdi
ret
mov eax, 1
add rsp, 0xa0
pop rbx
pop rsi
pop rdi
ret