joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140104a70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x140104af8
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140104af8
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140104af8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140104af8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140105e80
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x360
lea r9, [rsp + 0x150]
mov rdi, r8
mov ebx, edx
sub r9, rcx
nop dword [rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [r9 + rcx - 2], ax
test ax, ax
jne 0x140105ea0
xor edx, edx
lea rcx, [rsp + 0xe0]
lea r8d, [rdx + 0x68]
call fcn.14010a9a0
test rdi, rdi
lea rax, [rsp + 0xc0]
cmovne rax, rdi
xor edi, edi
lea rdx, [rsp + 0x150]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xe0]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0xe0], 0x68
mov word [rsp + 0x120], bx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140105fae
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x140105f9b
lea r8d, [rdi + 0x70]
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.14010a9a0
lea rax, str.runas
lea rcx, [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x50], 0x70
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x68], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rbx, qword [rsp + 0x370]
add rsp, 0x360
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x370]
add rsp, 0x360
pop rdi
ret
mov eax, 1
mov rbx, qword [rsp + 0x370]
add rsp, 0x360
pop rdi
ret

Function at 0x140106480
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x440
xor edi, edi
mov rsi, r8
mov rbp, rdx
mov dword [rsp + 0x468], edi
cmp rdx, 0xffffffff80000002
jne 0x1401064c0
lea rdx, str.RegistryEx.cpp
lea rcx, str.hStartKey___HKEY_LOCAL_MACHINE
mov r8d, 0x267
call fcn.1400be660
test rsi, rsi
je 0x1401065ca
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rsi + rax*2], di
jne 0x1401064d0
test rax, rax
je 0x1401065ca
lea rax, [rsp + 0x470]
mov r9d, 0x10008
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401065ca
mov qword [rsp + 0x478], rbx
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x470]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x468]
lea r8, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x468], 0x200
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
cmp eax, 0x103
je 0x140106593
test eax, eax
jne 0x1401065a1
mov rdx, qword [rsp + 0x470]
mov rcx, qword [rsp + 0x460]
lea r8, [rsp + 0x40]
call fcn.140106480
mov ebx, 0x3f2
test eax, eax
cmovne ebx, edi
test ebx, ebx
je 0x140106520
jmp 0x1401065a1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x478]
sete dil
mov eax, edi
add rsp, 0x440
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
add rsp, 0x440
pop rdi
pop rsi
pop rbp
ret
Function at 0x140106640
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x10], 0xffffffff80000002
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
jne 0x140106681
cmp dword [rcx + 0x18], 0
jne 0x140106681
lea rdx, str.RegistryEx.cpp
lea rcx, str.m_hKey___HKEY_LOCAL_MACHINE__m_bWriteHKLM
mov r8d, 0x2e9
call fcn.1400be660
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14010670e
test rsi, rsi
je 0x14010670e
xor ebx, ebx
mov qword [rsp + 0x78], rcx
test rdi, rdi
je 0x1401066dc
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov rdx, rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14010670e
mov rcx, qword [rsp + 0x78]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test rdi, rdi
je 0x1401066f7
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x50
pop rdi
ret

Function at 0x140106720
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
je 0x140106744
test rdx, rdx
jne 0x14010675d
lea rdx, str.RegistryEx.cpp
lea rcx, str.m_hKey__pszSubKeyNameBuf
mov r8d, 0x2d3
call fcn.1400be660
mov edx, dword [rbx + 0x20]
mov rcx, qword [rbx + 0x10]
mov r9d, esi
lea eax, [rdx + 1]
mov r8, rdi
mov dword [rbx + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x140106790
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
cmp qword [rcx + 0x10], 0
mov rbx, qword [rsp + 0x98]
mov r14, qword [rsp + 0x88]
mov r15, qword [rsp + 0x80]
mov rdi, r9
mov r12d, r8d
mov rbp, rdx
mov rsi, rcx
je 0x1401067f2
test rdx, rdx
je 0x1401067f2
test r9, r9
je 0x1401067f2
test r15, r15
je 0x1401067f2
test r14, r14
je 0x1401067f2
test rbx, rbx
jne 0x14010680b
lea rdx, str.RegistryEx.cpp
lea rcx, str.m_hKey__pszValueNameBuf__pdwValueNameLen__pdwValueType__pDataBuf__pdwDataLen
mov r8d, 0x2b6
call fcn.1400be660
mov eax, dword [rsp + 0x90]
mov dword [rdi], r12d
mov qword [rsp + 0x38], rbx
mov dword [rbx], eax
mov edx, dword [rsi + 0x20]
mov rcx, qword [rsi + 0x10]
lea eax, [rdx + 1]
mov qword [rsp + 0x30], r14
xor ebx, ebx
mov r9, rdi
mov r8, rbp
mov qword [rsp + 0x28], r15
mov dword [rsi + 0x20], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
test eax, eax
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r14
pop r12
ret

Function at 0x140106870
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r14, r9
mov rdi, r8
mov r12, rdx
mov rbp, rcx
cmp r8, qword [rsp + 0x80]
jne 0x1401068b0
lea rdx, str.RegistryEx.cpp
lea rcx, str.pvValue___pvDefaultValue
mov r8d, 0x183
call fcn.1400be660
xor ebx, ebx
mov r15d, ebx
test r12, r12
je 0x14010699a
test rdi, rdi
je 0x14010699a
test r14, r14
je 0x14010699a
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140106966
mov rbp, qword [rsp + 0x88]
mov r15d, dword [r14]
mov qword [rsp + 0x70], rcx
test rbp, rbp
je 0x140106917
lea rax, [rsp + 0x70]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140106966
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r14d, eax
test rbp, rbp
je 0x140106945
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14d, r14d
jne 0x140106966
cmp dword [rsp + 0x68], 3
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
cmp qword [rsp + 0x80], rbx
je 0x14010699a
mov rdx, qword [rsp + 0x80]
mov r8d, r15d
mov rcx, rdi
call fcn.14010ac40
mov eax, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1401069b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov rdi, r9
mov rsi, r8
mov r15, rdx
mov r14d, ebx
test r9, r9
je 0x1401069d9
mov r14d, dword [r9]
test rdx, rdx
je 0x140106aa3
test r8, r8
je 0x140106aa3
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140106a94
mov qword [rsp + 0x30], rcx
cmp qword [rsp + 0x80], rbx
je 0x140106a31
mov rdx, qword [rsp + 0x80]
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140106a94
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r15
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
cmp qword [rsp + 0x80], rbx
je 0x140106a71
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15d, r15d
jne 0x140106a94
mov eax, dword [rsp + 0x78]
cmp eax, 4
je 0x140106a8b
cmp eax, 3
jne 0x140106a90
cmp dword [rsp + 0x68], 4
jne 0x140106a90
mov ebx, 1
mov eax, ebx
jmp 0x140106aa5
test rdi, rdi
je 0x140106aa3
mov dword [rsi], r14d
mov eax, 1
jmp 0x140106aa5
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140106ac0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x80]
mov r12, r9
mov rsi, r8
mov r15, rdx
mov rdi, rcx
cmp r8, rbx
jne 0x140106b08
lea rdx, str.RegistryEx.cpp
lea rcx, str.pszValue___pszDefaultValue
mov r8d, 0x126
call fcn.1400be660
xor ebp, ebp
mov r13d, ebp
test r15, r15
je 0x140106ca0
test rsi, rsi
je 0x140106ca0
test r12, r12
je 0x140106ca0
mov rcx, qword [rdi + 0x10]
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x60], r14
test rcx, rcx
je 0x140106c55
mov r14, qword [rsp + 0x88]
mov r13d, dword [r12]
mov qword [rsp + 0x68], rcx
test r14, r14
je 0x140106b7d
lea rax, [rsp + 0x68]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140106c55
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x80]
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test r14, r14
je 0x140106bae
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rsp + 0x80]
cmp ecx, 2
jne 0x140106c20
mov eax, 2
mul r13
cmovo rax, rdi
mov rcx, rax
call fcn.1401098fc
mov r14, rax
test rax, rax
je 0x140106c19
mov r8d, r13d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rdx, rsi
mov rcx, r14
sub rdx, r14
nop
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x140106bf0
mov rax, rdi
inc rax
cmp word [rsi + rax*2], bp
jne 0x140106c04
mov rcx, r14
mov dword [r12], eax
call fcn.14010e850
mov ecx, dword [rsp + 0x80]
test r15d, r15d
jne 0x140106c55
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140106c32
cmp ecx, 7
jne 0x140106c37
mov ebp, 1
mov eax, ebp
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
test rbx, rbx
je 0x140106c9c
nop word [rax + rax]
cmp word [rbx + rdi*2 + 2], bp
lea rdi, [rdi + 1]
jne 0x140106c60
lea ecx, [rdi*2 + 2]
cmp ecx, r13d
ja 0x140106c9c
sub rsi, rbx
nop word [rax + rax]
movzx eax, word [rbx]
lea rbx, [rbx + 2]
mov word [rsi + rbx - 2], ax
test ax, ax
jne 0x140106c80
mov dword [r12], ecx
mov eax, 1
jmp 0x140106c39
xor eax, eax
jmp 0x140106c39
xor eax, eax
jmp 0x140106c3e
Function at 0x140106f90
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push r14
sub rsp, 0x60
mov rcx, qword [rcx + 0x10]
mov rsi, r9
mov r14d, r8d
mov rbp, rdx
test rcx, rcx
je 0x140107073
test rdx, rdx
je 0x140107073
test r9, r9
je 0x140107073
mov qword [r11 + 0x10], rbx
xor ebx, ebx
mov qword [r11 - 0x18], rcx
cmp qword [rsp + 0x98], rbx
je 0x140107034
mov rdx, qword [rsp + 0x98]
lea rax, [r11 + 8]
xor r9d, r9d
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x18]
xor r8d, r8d
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14010702f
xor eax, eax
mov rbx, qword [rsp + 0x78]
lea r11, [rsp + 0x60]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rcx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x90]
mov r9d, r14d
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp qword [rsp + 0x98], rbx
je 0x14010706a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete bl
mov eax, ebx
jmp 0x140107017
lea r11, [rsp + 0x60]
xor eax, eax
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x140107b50
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edx, edx
mov r8d, 0x840
add rcx, 0x38
call fcn.14010a9a0
xor eax, eax
lea rcx, str.DXVA2.DLL
mov qword [rbx + 0x878], rax
mov qword [rbx + 0x880], rax
mov dword [rbx + 0x888], eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
je 0x140107c30
lea rdx, str.GetNumberOfPhysicalMonitorsFromHMONITOR
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.GetPhysicalMonitorsFromHMONITOR
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.DestroyPhysicalMonitors
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.GetMonitorBrightness
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.SetMonitorBrightness
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rbx + 0x10], 0
mov qword [rbx + 0x30], rax
je 0x140107c23
cmp qword [rbx + 0x18], 0
je 0x140107c23
cmp qword [rbx + 0x20], 0
je 0x140107c23
cmp qword [rbx + 0x28], 0
je 0x140107c23
test rax, rax
jne 0x140107c30
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140107cf0
add rsp, 0x20
pop rbx
ret
Function at 0x1401085a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp 0x1401085f0
mov rax, rsp
mov dword [rax + 0x20], r9d
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r15d, r9d
mov rbx, r8
xor r9d, r9d
mov r8, rdx
lea rdx, [0x140177398]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1401087d0
xor esi, esi
mov dword [rbp - 0x10], esi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp - 8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.1.6.28
call fcn.1401306f0
mov qword [rbp - 0x30], rax
mov rcx, rax
call fcn.140132c70
mov qword [rbp - 0x28], rax
lea r8, [0x1401085b0]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp - 0x30]
call fcn.140138f90
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140130ad0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140138ff0
movzx ecx, al
sub ecx, 2
je 0x1401086d1
dec ecx
jne 0x1401086e5
mov rcx, qword [rbp - 0x30]
call fcn.140138840
lea r8d, [rsi + 0x10]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140139040
test eax, eax
jne 0x1401086e5
mov r8d, 1
mov edx, 0xff
mov rcx, qword [rbp - 0x30]
call fcn.140138e50
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.1401311c0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140139030
mov r13d, eax
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140139010
mov r12d, eax
mov edi, eax
mov eax, 8
mul r12
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1401098fc
mov r14, rax
test r12d, r12d
je 0x14010875d
lea r15d, [r13*4]
mov rbx, rax
mov esi, r12d
mov rcx, r15
call fcn.1401098fc
mov qword [rbx], rax
lea rbx, [rbx + 8]
dec rsi
jne 0x140108745
mov r15d, dword [rbp + 0x48]
mov rdx, r14
mov rcx, qword [rbp - 0x30]
call fcn.140130a00
mov ecx, SafeArrayAllocDescriptor
call fcn.14010a7e4
mov qword [rbp - 0x18], rax
test rax, rax
je 0x14010879c
mov ecx, dword [rbp + 0x50]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r15d
mov r9d, r12d
mov r8d, r13d
mov rdx, r14
mov rcx, rax
call fcn.140108d00
mov rsi, rax
test r12d, r12d
je 0x1401087b5
mov rbx, r14
mov rcx, qword [rbx]
call fcn.14010e850
lea rbx, [rbx + 8]
dec rdi
jne 0x1401087a4
mov rcx, r14
call fcn.14010e850
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140130780
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1401085f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp 0x1401085f0
mov rax, rsp
mov dword [rax + 0x20], r9d
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r15d, r9d
mov rbx, r8
xor r9d, r9d
mov r8, rdx
lea rdx, [0x140177398]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1401087d0
xor esi, esi
mov dword [rbp - 0x10], esi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp - 8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.1.6.28
call fcn.1401306f0
mov qword [rbp - 0x30], rax
mov rcx, rax
call fcn.140132c70
mov qword [rbp - 0x28], rax
lea r8, [0x1401085b0]
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp - 0x30]
call fcn.140138f90
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140130ad0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140138ff0
movzx ecx, al
sub ecx, 2
je 0x1401086d1
dec ecx
jne 0x1401086e5
mov rcx, qword [rbp - 0x30]
call fcn.140138840
lea r8d, [rsi + 0x10]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140139040
test eax, eax
jne 0x1401086e5
mov r8d, 1
mov edx, 0xff
mov rcx, qword [rbp - 0x30]
call fcn.140138e50
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.1401311c0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140139030
mov r13d, eax
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140139010
mov r12d, eax
mov edi, eax
mov eax, 8
mul r12
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1401098fc
mov r14, rax
test r12d, r12d
je 0x14010875d
lea r15d, [r13*4]
mov rbx, rax
mov esi, r12d
mov rcx, r15
call fcn.1401098fc
mov qword [rbx], rax
lea rbx, [rbx + 8]
dec rsi
jne 0x140108745
mov r15d, dword [rbp + 0x48]
mov rdx, r14
mov rcx, qword [rbp - 0x30]
call fcn.140130a00
mov ecx, SafeArrayAllocDescriptor
call fcn.14010a7e4
mov qword [rbp - 0x18], rax
test rax, rax
je 0x14010879c
mov ecx, dword [rbp + 0x50]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r15d
mov r9d, r12d
mov r8d, r13d
mov rdx, r14
mov rcx, rax
call fcn.140108d00
mov rsi, rax
test r12d, r12d
je 0x1401087b5
mov rbx, r14
mov rcx, qword [rbx]
call fcn.14010e850
lea rbx, [rbx + 8]
dec rdi
jne 0x1401087a4
mov rcx, r14
call fcn.14010e850
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140130780
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x1401147d4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401147ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1401147ec
xor eax, eax
test eax, eax
je 0x1401147fc
mov ecx, eax
call fcn.140114484
or eax, 0xffffffff
jmp 0x1401147fe
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400010d6
push r9
push r8
push rdx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
push rcx
mov rdx, qword [rdx + 0x18]
push rsi
mov rdx, qword [rdx + 0x20]
xor r9, r9
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140001037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000102d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400010cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400010cb
add rax, rdx
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
push rax
add r8, rdx
jrcxz 0x1400010ca
dec rcx
mov esi, dword [r8 + rcx*4]
xor r9, r9
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140001081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140001072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140001021