joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003ad10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14003adb7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14003ad6a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14003d180
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140025bb0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14020df31]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14003adbf
mov rcx, rbx
call fcn.140025bb0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14003b230
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14020df40]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14003b293
mov qword [rsp], rbx
lea rbx, [0x1400a9d00]
nop dword [rax]
cmp r9b, 0x23
jne 0x14003b273
cmp byte [r8], r9b
jne 0x14003b273
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14003b260
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14003b2c7
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14003b2ce
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14003b2b4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140067580
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1400675a1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400675ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400675d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140067629
test ecx, ecx
jle 0x140067609
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140067629
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140067629
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
invalid
Function at 0x140067650
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140067672
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140067681
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400676a4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400676a6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400676e2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14006777e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14006771d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14006775e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14006777e
cmp rbx, rax
ja 0x140067730
test rbx, rbx
je 0x14006777e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
invalid
Function at 0x140067be0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400c0040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140067c0d
xor eax, eax
jmp 0x140067d79
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140067c47
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140067c47
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140067d79
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140067d6c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140067c8a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140067cb5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140067d71
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140067d24
sub eax, 1
je 0x140067d24
cmp eax, 2
jne 0x140067d6c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140067d71
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140067d52
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140067d6c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140067d71
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14007c8b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140068100
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400c0040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400681d3
cmp byte [rcx + 0x71], 0
je 0x1400681d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400681cf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140068194
sub eax, 1
je 0x140068198
cmp eax, 2
jne 0x1400681cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007c8b0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400681c6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400681cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14006817c
xor al, al
jmp 0x14006817c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007c8b0
add rsp, 0x60
pop rbx
ret
Function at 0x14007c0d8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007c112
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007c117
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14007c160
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400a4d90]
cmp byte [rcx + rax], 0
je 0x14007c160
dec r8
sub rdx, 1
jne 0x14007c146
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14007d700
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007d74a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007d74a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007d74a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007d74a
cmp dword [rcx + 0x84], 0xe
jbe 0x14007d74a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14007d74c
xor al, al
add rsp, 0x28
ret
Function at 0x1807a7058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1807a71df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1807a7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807a706f
add dl, dl
jne 0x1807a7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807a70f6
xor eax, eax
add dl, dl
jne 0x1807a70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807a71ad
add dl, dl
jne 0x1807a70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807a70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807a70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807a70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1807a70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1807a707e
mov eax, 1
add dl, dl
jne 0x1807a7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807a7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807a70fb
sub eax, ebx
mov ebx, 1
jne 0x1807a714c
mov ecx, 1
add dl, dl
jne 0x1807a712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807a713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807a7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807a707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1807a7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807a7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807a715d
cmp eax, 0x7d00
jae 0x1807a719b
cmp eax, 0x500
jb 0x1807a7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807a707e
cmp eax, 0x7f
ja 0x1807a719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807a707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1807a71d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1807a707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x15c05a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x15c05ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x15c05bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x15c05a5
lea eax, [rcx + 1]
jmp 0x15c05cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x15c05de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x15c05c4
sub eax, 3
jb 0x15c05fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x15c064d
sar eax, 1
movsxd rbp, eax
jb 0x15c0634
jmp 0x15c060c
add ebx, ebx
jne 0x15c060a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x15c0634
inc ecx
add ebx, ebx
jne 0x15c061a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x15c0634
call r11
adc ecx, ecx
add ebx, ebx
jne 0x15c062d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x15c061c
add ecx, 2
jmp 0x15c0639
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.015c0562
jmp 0x15c05ad
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x11aa000]
mov eax, dword [rdi]
or eax, eax
je 0x15c06a9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x11c0000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x15c0659
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x15c06a3
mov qword [rbx], rax
add rbx, 8
jmp 0x15c0679
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x15c06ed
cmp al, 0xef
ja 0x15c06d5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x15c06b5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x15c06c4
mov eax, dword [rdi]
add rdi, 4
jmp 0x15c06c4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x15c0741
sub rsp, 0xffffffffffffff80
jmp 0x4687a0
Function at 0x1800011dc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x18001a910]
xor rax, rsp
mov qword [rbp], rax
lea rcx, [rbp - 0x70]
lea rdx, [0x180016e40]
mov r8d, 0x40
call fcn.180004bb0
xor ebx, ebx
lea r11d, [rbx + 0x1e]
movzx eax, word [rbp + r11*2 - 0x72]
dec r11
xor word [rbp + r11*2 - 0x6e], ax
test r11, r11
jg 0x180001218
xor edx, edx
lea rcx, [rbp - 0x68]
lea r8d, [rdx + 0x60]
call fcn.180005800
xor eax, eax
mov dword [rbp - 0x34], 1
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov rax, qword [0x180016e80]
mov word [rbp - 0x30], bx
mov dword [rbp - 0x70], 0x68
mov qword [rsp + 0x68], rax
mov al, byte [0x180016e88]
mov ecx, 7
mov byte [rsp + 0x70], al
mov al, byte [rsp + rcx + 0x67]
dec rcx
xor byte [rsp + rcx + 0x69], al
test rcx, rcx
jg 0x180001279
xor byte [rsp + 0x68], 0xbe
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x180016e90]
mov qword [rsp + 0x78], rcx
mov ecx, dword [0x180016e98]
mov r11, rax
mov dword [rbp - 0x80], ecx
movzx ecx, word [0x180016e9c]
mov word [rbp - 0x7c], cx
mov cl, byte [0x180016e9e]
mov byte [rbp - 0x7a], cl
mov ecx, 0xd
mov al, byte [rsp + rcx + 0x77]
dec rcx
xor byte [rsp + rcx + 0x79], al
test rcx, rcx
jg 0x1800012ca
xor byte [rsp + 0x78], 0x29
lea rdx, [rsp + 0x78]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rcx, str.C:UsersJanet_Van_DyneDesktopiIAfneep.exe
xor edx, edx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebx
call rax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180004150
mov rbx, qword [rsp + 0x120]
add rsp, 0x110
pop rbp
ret

Function at 0x180001344
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x18001a910]
xor rax, rsp
mov qword [rsp + 0x30], rax
dec edx
jne 0x1800013fb
cmp dword [0x18001d0c8], edx
jne 0x1800013fb
mov ecx, 0x104
mov dword [0x18001d0c8], 1
call fcn.18000362c
mov r8d, 0x104
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rax, qword [str.L4D_G5P__fi]
mov ecx, 0xb
mov qword [rsp + 0x20], rax
mov eax, dword [0x180016ea8]
mov dword [rsp + 0x28], eax
mov al, byte [0x180016eac]
mov byte [rsp + 0x2c], al
mov al, byte [rsp + rcx + 0x1f]
dec rcx
xor byte [rsp + rcx + 0x21], al
test rcx, rcx
jg 0x1800013ba
xor byte [rsp + 0x20], 0x29
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.180004328
test eax, eax
jne 0x1800013f2
call fcn.1800011dc
xor eax, eax
jmp 0x180001400
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180004150
add rsp, 0x40
pop rbx
ret
Function at 0x180001414
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x18001a910]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rbx, r8
lea rdx, [rsp + 0x40]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rax, qword [str.UH0HBH_HMH_HWH3H]
mov ecx, 0xb
mov qword [rsp + 0x20], rax
mov rax, qword [0x180016eb8]
mov qword [rsp + 0x28], rax
mov rax, qword [0x180016ec0]
mov qword [rsp + 0x30], rax
movzx eax, word [0x180016ec8]
mov word [rsp + 0x38], ax
movzx eax, word [rsp + rcx*2 + 0x1e]
dec rcx
xor word [rsp + rcx*2 + 0x22], ax
test rcx, rcx
jg 0x180001485
mov eax, 0x4823
lea rcx, [rsp + 0x40]
xor word [rsp + 0x20], ax
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.180004474
test eax, eax
jne 0x1800014c6
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
and qword [rbx], 0
xor eax, eax
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.180004150
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rbp
ret

Function at 0x180009563
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18001a910]
jne 0x18000416a
rol rcx, 0x10
test cx, 0xffff
jne 0x180004166
repz ret
ror rcx, 0x10
jmp 0x1800094bc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18001c100]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18001c1f8]
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 0x180009541
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, [0x18001c100]
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 0x180009563
mov rax, qword [rsp + 0x88]
mov qword [0x18001c1f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18001c198], rax
mov rax, qword [0x18001c1f8]
mov qword [0x18001c070], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18001c180], rax
mov dword [0x18001c060], 0xc0000409
mov dword [0x18001c064], 1
mov rax, qword [0x18001a910]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18001a918]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18001c0f8], eax
mov ecx, 1
call fcn.180010978
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180014568]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18001c0f8], 0
jne 0x1800095ea
mov ecx, 1
call fcn.180010978
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 0x180010ad8
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 [0x18001a910]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18000a1cc
xor ebx, ebx
cmp qword [0x18001d028], rbx
mov rdi, rax
jne 0x180010beb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180010cc2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180010cc2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18001d028], 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 [0x18001d030], 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 [0x18001d038], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18001d048], rax
test rax, rax
je 0x180010be2
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 [0x18001d040], rax
jmp 0x180010bf2
mov rax, qword [0x18001d040]
jmp 0x180010bf9
mov rax, qword [0x18001d040]
mov r11, qword [0x18001d048]
cmp rax, rdi
je 0x180010c60
cmp r11, rdi
je 0x180010c60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18001d048]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180010c60
test rax, rax
je 0x180010c60
call rsi
test rax, rax
je 0x180010c5a
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 0x180010c5a
test byte [rsp + 0x40], 1
jne 0x180010c60
bts ebp, 0x15
jmp 0x180010ca0
mov rcx, qword [0x18001d030]
cmp rcx, rdi
je 0x180010ca0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180010ca0
call rax
mov rbx, rax
test rax, rax
je 0x180010ca0
mov rcx, qword [0x18001d038]
cmp rcx, rdi
je 0x180010ca0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180010ca0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18001d028]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180010cc2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180010cc4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180004150
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret