joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034610
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140030c2c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x1400310e4]
mov qword [rsp + 0x78], rax
lea rax, [0x14003e5b8]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x1400346c8
lea rdx, str._n_n_notepad
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140028c6c
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, [0x14003e5d0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140047418], rax
mov edx, 5
mov rcx, qword [0x140047418]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x14003e5a8]
mov rcx, qword [0x140047418]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x140047418]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140047418]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0xc0
pop rdi
ret
Function at 0x140035e58
Capabilities:
Create thread
Execute command
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x140046628]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rcx, str.color_A
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x14003e508]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x40], rax
call fcn.14002f914
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14003051c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140032f0c
lea rdx, [0x140034458]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [0x14003e50c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x14003e510]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x14003e514]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [0x14003e518]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
cmp qword [0x140046e80], 0
jne 0x140035f92
lea rdx, str.Fortnite
lea rcx, [rsp + 0x68]
call fcn.14002ab14
lea rcx, [rsp + 0x68]
call fcn.14003272c
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140046e80], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140035f4e
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rdx, [0x14003e530]
mov rcx, qword [rsp + 0x30]
call fcn.14002b144
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140031640
mov dword [0x140046e88], eax
xor edx, edx
mov rcx, qword [0x140047350]
call fcn.14002f694
movzx eax, al
test eax, eax
je 0x140036003
mov edx, dword [0x140046e88]
mov rcx, qword [0x140047350]
call fcn.14002c754
lea rdx, str.FortniteClient_Win64_Shipping.exe
mov rcx, qword [0x140047350]
call fcn.14002f44c
mov qword [0x140046e78], rax
call fcn.140034610
call fcn.14003479c
call fcn.1400359d8
call fcn.140035d40
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140036640
add rsp, 0x88
ret
Function at 0x140036d44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140036d8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140036d8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140036d8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140036d8e
cmp dword [rcx + 0x84], 0xe
jbe 0x140036d8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140036d90
xor al, al
add rsp, 0x28
ret
Function at 0x140002008
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1400590c0], 0
je 0x14000202b
mov edx, 1
jmp 0x1400021f2
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
xor ebx, ebx
mov r8, qword [rax + 0x10]
xor eax, eax
mov rdx, qword [r8 + 0x30]
test rdx, rdx
je 0x14000208e
movsxd rcx, dword [rdx + 0x3c]
mov ecx, dword [rdx + rcx + 0x88]
test ecx, ecx
je 0x140002086
lea rax, [rcx + rdx]
mov ecx, dword [rax + 0xc]
add rcx, rdx
mov r9d, dword [rcx]
or r9d, 0x20202020
cmp r9d, 0x6c64746e
jne 0x140002086
mov ecx, dword [rcx + 4]
or ecx, 0x20202020
cmp ecx, 0x6c642e6c
je 0x140002098
mov r8, qword [r8]
mov rbx, rdx
jmp 0x140002040
test rax, rax
jne 0x14000209b
jmp 0x1400021f2
mov rbx, rdx
mov ebp, dword [rax + 0x1c]
mov edi, dword [rax + 0x24]
xor esi, esi
lea r13, [0x1400590c8]
mov edx, dword [rax + 0x18]
mov eax, dword [rax + 0x20]
add rdi, rbx
add rbp, rbx
lea r10d, [rdx - 1]
add rax, rbx
lea r12, [rax + r10*4]
add r10, r10
add r10, rdi
mov ecx, dword [r12]
add rcx, rbx
cmp word [rcx], 0x775a
jne 0x140002103
call fcn.140001f50
mov r11d, esi
inc esi
shl r11, 4
add r11, r13
mov dword [r11], eax
movzx eax, word [r10]
mov eax, dword [rbp + rax*4]
mov dword [r11 + 4], eax
xor eax, eax
mov qword [r11 + 8], rax
cmp esi, 0x1f4
je 0x140002115
sub r12, 4
lea rax, [r10 - 2]
cmp rdi, r10
je 0x140002115
mov r10, rax
jmp 0x1400020c7
mov dword [0x1400590c0], esi
lea ebp, [rsi - 1]
lea r10, [0x1400590c8]
test ebp, ebp
je 0x14000217c
lea rdx, [0x1400590c0]
xor ecx, ecx
lea eax, [rcx + 1]
mov r8d, dword [rdx + 0xc]
mov rcx, rax
shl rax, 4
add rax, r10
mov r9d, dword [rax + 4]
cmp r9d, r8d
jae 0x140002170
mov edi, dword [rdx + 8]
mov r11, qword [rdx + 0x10]
mov r12d, dword [rax]
mov dword [rdx + 0xc], r9d
mov r9, qword [rax + 8]
mov dword [rdx + 8], r12d
mov qword [rdx + 0x10], r9
mov dword [rax], edi
mov dword [rax + 4], r8d
mov qword [rax + 8], r11
add rdx, 0x10
cmp ecx, ebp
jb 0x140002132
dec ebp
jmp 0x140002125
mov eax, dword [0x1400590cc]
mov r13d, dword [0x1400590dc]
xor edi, edi
lea r15, [0x140055c20]
sub r13d, eax
lea r12, [rbx + rax]
mov r14d, edi
cmp edi, r13d
jae 0x140002021
lea rdx, [r12 + rdi]
mov r8d, 3
mov rcx, r15
inc rdi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x140002199
lea rdi, [0x1400590c0]
test r14d, r14d
je 0x140002021
add rdi, 0x10
cmp esi, ebp
je 0x140002021
mov ecx, dword [rdi - 4]
mov r8d, r13d
mov edx, r14d
inc ebp
add rcx, rbx
call fcn.140001f78
mov qword [rdi], rax
jmp 0x1400021ce
mov eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140002df0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140008a70
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140008a70
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002e60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14005b0d4]
mov rbx, rcx
test esi, esi
jle 0x140002f90
mov rax, qword [0x14005b0d8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002eab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002f35
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002e90
mov rcx, rbx
call fcn.1400038b0
mov rdi, rax
test rax, rax
je 0x140002fb2
mov rax, qword [0x14005b0d8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400039f0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14005b0d8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002f97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002f2e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002f40
add dword [0x14005b0d4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14005b0d8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002f2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002df0
nop dword [rax]
xor esi, esi
jmp 0x140002eb8
mov rax, qword [0x14005b0d8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002df0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002df0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003520
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14005b140]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14005b120]
test rbx, rbx
je 0x14000357c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003573
test rsi, rsi
je 0x140003573
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003558
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400038b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140056760]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400038d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400038d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400038d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000392d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003924
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400038d0
add rax, 0x28
cmp rax, r9
jne 0x140003910
xor eax, eax
ret

Function at 0x140003930
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140056760]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000394f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003958
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000394f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400039f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140056760]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003a0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003a18
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001f78
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rsi
push rdi
mov eax, 0x1050
call fcn.140009440
sub rsp, rax
mov rax, qword [0x14000e0a8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov eax, dword [0x14000e680]
lea rsi, [rsp + 0x1078]
xor edi, edi
shl eax, 2
mov ebx, edi
test eax, eax
jle 0x140002007
mov rcx, qword [0x14000e0c0]
lea r9, [rsp + 0x30]
mov r8d, 2
mov qword [rsp + 0x20], rdi
lea rdx, [0x14000ae20]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
mov eax, dword [0x14000e680]
inc ebx
shl eax, 2
cmp ebx, eax
jl 0x140001fc6
mov rcx, qword [rsp + 0x1070]
mov r8, rcx
mov r9, rsi
lea rcx, [rsp + 0x40]
mov edx, 0x800
call fcn.140001ee8
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140002025
mov rcx, qword [0x14000e0c0]
lea r8d, [rax + rax]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140008d70
add rsp, 0x1050
pop rdi
pop rsi
pop rbx
ret

Function at 0x140002078
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rsi
push rdi
mov eax, 0x1050
call fcn.140009440
sub rsp, rax
mov rax, qword [0x14000e0a8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov eax, dword [0x14000e680]
lea rsi, [rsp + 0x1078]
xor edi, edi
shl eax, 2
mov ebx, edi
test eax, eax
jle 0x140002107
mov rcx, qword [0x14000e0c0]
lea r9, [rsp + 0x30]
mov r8d, 2
mov qword [rsp + 0x20], rdi
lea rdx, [0x14000ae20]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
mov eax, dword [0x14000e680]
inc ebx
shl eax, 2
cmp ebx, eax
jl 0x1400020c6
mov rcx, qword [rsp + 0x1070]
mov r8, rcx
mov r9, rsi
lea rcx, [rsp + 0x40]
mov edx, 0x800
call fcn.140001ee8
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140002125
mov rcx, qword [0x14000e0c0]
lea r8d, [rax + rax]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
mov rcx, qword [0x14000e0c0]
lea r9, [rsp + 0x30]
mov r8d, 4
mov qword [rsp + 0x20], rdi
lea rdx, [0x14000ae24]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140008d70
add rsp, 0x1050
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004c84
Capabilities:
Delete registry value
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x14000e0a8]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r8d, 0x3061
lea rdx, str._windir_System32ieframe.dll
call qword [sym.imp.SHELL32.dll_SHSetLocalizedName]
nop dword [rax + rax]
lea rdx, str._IECleanup_LIB__CleanupMuiCache__
xor ecx, ecx
call fcn.1400056fc
xor r14d, r14d
lea rbx, str.__windir_System32ieframe.dll__12385
mov esi, r14d
mov rdx, qword [rbx - 8]
lea rax, [rsp + 0x30]
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140004dfa
test byte [rbx + 8], 1
je 0x140004d5d
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov r8, qword [rbx]
xor ecx, ecx
test eax, eax
jne 0x140004d4e
lea rdx, str._IECleanup_LIB__CleanupMuiCache_____Successfully_deleted__s
call fcn.1400056fc
jmp 0x140004d5d
mov r9d, eax
lea rdx, str._IECleanup_LIB__CleanupMuiCache_____Unable_to_delete__s__Result_d
call fcn.1400056fc
test byte [rbx + 8], 2
je 0x140004de9
mov rdi, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
cmp eax, 0x104
jbe 0x140004d95
mov word [rbp + 0x146], r14w
jmp 0x140004dab
test eax, eax
jne 0x140004dab
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.14000175c
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
xor ecx, ecx
lea r8, [rsp + 0x40]
test eax, eax
jne 0x140004dda
lea rdx, str._IECleanup_LIB__CleanupMuiCache_____Successfully_deleted__s
call fcn.1400056fc
jmp 0x140004de9
mov r9d, eax
lea rdx, str._IECleanup_LIB__CleanupMuiCache_____Unable_to_delete__s__Result_d
call fcn.1400056fc
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
inc esi
add rbx, 0x18
cmp esi, 3
jb 0x140004ce6
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140008d70
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140006964
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14000e0a8]
xor rax, rsp
mov qword [rbp + 0x140], rax
and qword [rdx], 0
mov r12, rdx
mov r8, rcx
mov edx, 0x104
lea rcx, [rsp + 0x30]
xor r15d, r15d
xor r14d, r14d
call fcn.14000175c
lea r8, [0x14000bfc0]
lea rcx, [rsp + 0x30]
call fcn.1400059e8
mov edi, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140006a15
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140006b07
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.140006870
mov esi, eax
jmp 0x140006aed
and dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x24]
and dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.140006b68
mov esi, eax
test eax, eax
jns 0x140006a53
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.140006834
mov rcx, rbx
call fcn.140006904
jmp 0x140006aed
lea r8, [0x14000bfc8]
lea rcx, [rsp + 0x30]
call fcn.1400059e8
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140006a96
mov rcx, qword [rbp + 0x178]
mov edx, SHAnsiToUnicode
call fcn.140006870
mov esi, eax
jmp 0x140006a46
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140006b68
mov esi, eax
test eax, eax
jns 0x140006aca
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, reloc.SHLWAPI.dll_SHAnsiToUnicode
call fcn.140006834
mov rcx, rdi
call fcn.140006904
jmp 0x140006a46
mov rcx, rdi
call fcn.140006904
movsxd rax, dword [rsp + 0x24]
mov rcx, rbx
movsxd r14, dword [rsp + 0x20]
shl r14, 0x1f
or r14, rax
call fcn.140006904
xor esi, esi
test esi, esi
jns 0x140006b07
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, 0x62
call fcn.140006834
jmp 0x140006b0c
mov r15, r14
xor esi, esi
test esi, esi
jns 0x140006b28
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, 0x6b
call fcn.140006834
mov eax, esi
jmp 0x140006b35
mov rax, r15
shl rax, 2
mov qword [r12], rax
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140008d70
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140001360
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
lea rax, [rsp + 0x28]
mov r11, r8
mov r13, qword [rax]
mov rdi, r9
mov qword [rax], 0
lea rax, [rsp + 0x28]
mov r8, qword [rax]
mov rbp, rdx
mov r14, rcx
test r11, r11
je 0x1400013c2
mov ecx, 0x5a4d
cmp word [r11], cx
jne 0x1400013c2
movsxd rcx, dword [r11 + 0x3c]
cmp ecx, 0x400
jg 0x1400013c2
add rcx, r11
cmp dword [rcx], 0x4550
je 0x1400013e8
mov qword [rax], r8
xor al, al
mov rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x28]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
mov qword [rcx], r13
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp dword [rcx + 0xb0], 0
je 0x1400013c5
mov r15d, dword [rcx + 0xb4]
xor ebx, ebx
mov r12d, dword [rcx + 0xb0]
test r15, r15
je 0x14000148f
nop word [rax + rax]
lea r9, [r11 + rbx]
add r9, r12
mov eax, dword [r9]
test eax, eax
je 0x14000148f
mov ecx, dword [r9 + 4]
test ecx, ecx
je 0x14000148f
lea r10, [rcx - 8]
mov esi, eax
shr r10, 1
lea r8, [r9 + 8]
mov edx, 0
je 0x140001483
nop word [rax + rax]
movzx eax, word [r8]
mov ecx, eax
and eax, 0xfff
add rax, rsi
shr rcx, 0xc
test rcx, rcx
je 0x140001483
cmp rcx, 3
jne 0x1400013c5
cmp rax, rdi
jae 0x1400013c5
lea rcx, [r11 + rax]
add r8, 2
mov rax, r14
inc rdx
sub rax, rbp
add qword [rcx], rax
cmp rdx, r10
jb 0x140001440
mov eax, dword [r9 + 4]
add rbx, rax
cmp rbx, r15
jb 0x140001410
test rbx, rbx
setne al
jmp 0x1400013c7
Function at 0x1400014a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
lea r14, [0x140005040]
xor r9d, r9d
lea r15, [rsp + 0x20]
mov r10d, 1
mov rbp, qword [r15]
lea r13, str.awdgyawldfakwydflyf27DS629738gyufwlyafluyafwluyawgfi
mov r11d, 2
mov qword [r15], r9
mov ebx, 3
mov edi, 4
sub r10, r14
sub r11, r14
sub rbx, r14
sub rdi, r14
mov esi, 5
movabs r12, 0x1a7b9611a7b9611b
sub rsi, r14
nop dword [rax]
lea r8, [r9 + r14]
mov rax, r12
mul r9
mov rax, r9
mov rcx, r9
sub rax, rdx
add r9, 6
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x74
sub rcx, rax
movzx eax, byte [rcx + r13]
lea rcx, [r8 + r10]
xor byte [r8], al
mov rax, r12
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x74
sub rcx, rax
movzx eax, byte [rcx + r13]
lea rcx, [r8 + r11]
xor byte [r8 + 1], al
mov rax, r12
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x74
sub rcx, rax
movzx eax, byte [rcx + r13]
lea rcx, [r8 + rbx]
xor byte [r8 + 2], al
mov rax, r12
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x74
sub rcx, rax
movzx eax, byte [rcx + r13]
lea rcx, [r8 + rdi]
xor byte [r8 + 3], al
mov rax, r12
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x74
sub rcx, rax
movzx eax, byte [rcx + r13]
lea rcx, [r8 + rsi]
xor byte [r8 + 4], al
mov rax, r12
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul rax, rax, 0x74
sub rcx, rax
movzx eax, byte [rcx + r13]
xor byte [r8 + 5], al
cmp r9, 0x19c800
jb 0x140001510
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov qword [r15], rbp
mov rbp, qword [rsp + 0x30]
pop r15
pop r14
pop r13
pop r12
ret