joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001a10
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x14000c0a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140001bc0
mov rax, qword [0x14000c0a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x140001a5c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001ae7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140001a40
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x140001c1d
mov rax, qword [0x14000c0a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14000c0a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001c02
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001ae0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001b70
add dword [0x14000c0a4], 1
cmp ebx, 8
jae 0x140001b18
test bl, 4
jne 0x140001bd0
test ebx, ebx
je 0x140001b09
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140001bf0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140001b09
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x140001b4a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x14000c0a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001ae0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x140001a67
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140001b09
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140001b09
mov rax, qword [0x14000c0a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x140002130
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14000c100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000c0e0]
test rbx, rbx
je 0x140002184
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000217b
test r12, r12
je 0x14000217b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002160
lea rcx, [0x14000c100]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400023b0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x1400023c0
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x1400023d0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002415
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x14000240c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140002417
add rax, 0x28
cmp rax, r9
jne 0x1400023f8
xor eax, eax
ret

Function at 0x1400024c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140009720]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140002539
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002539
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140002536
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x14000252d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140002539
add r8, 0x28
cmp r8, r9
jne 0x140002518
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x140002620
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140009720]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000268f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x14000268f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x14000268d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002684
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002698
add rax, 0x28
cmp rax, r9
jne 0x140002670
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x1400026b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x140009720]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x140002728
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002728
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140002728
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002728
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x14000271c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140002730
add rdx, 0x28
cmp rdx, r10
jne 0x140002708
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x140002740
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14000274e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002725
test r8d, r8d
jg 0x140002738
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x140001900
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
add rax, 0x10
mov qword [rsp + 0x50], rax
mov r8, qword [rax]
cmp r8, rax
je 0x140001a8b
nop dword [rax + rax]
mov r14, qword [r8 + 0x30]
mov r8, qword [r8]
mov qword [rsp + 0x48], r8
movsxd r8, dword [r14 + 0x3c]
mov eax, dword [r8 + r14 + 0x88]
test eax, eax
je 0x140001a7b
cmp dword [r14 + rax + 0x18], 0
lea rcx, [r14 + rax]
je 0x140001a7b
mov edx, dword [rcx + 0xc]
mov eax, dword [rdx + r14]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x140001a7b
mov eax, dword [rdx + r14 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
jne 0x140001a7b
movzx eax, word [rdx + r14 + 8]
or ax, 0x20
cmp ax, 0x6c
jne 0x140001a7b
mov eax, dword [r8 + r14 + 0xa0]
test eax, eax
je 0x140001a8b
mov r12d, dword [rcx + 0x1c]
lea r15, [r14 + rax]
mov eax, dword [rcx + 0x24]
add r12, r14
mov r13d, dword [rcx + 0x20]
add rax, r14
add r13, r14
mov qword [rsp + 0x40], rax
xor edi, edi
cmp dword [r15], edi
je 0x140001a7b
mov esi, dword [rcx + 0x14]
nop dword [rax + rax]
xor r11d, r11d
test esi, esi
je 0x140001a6d
mov ebp, dword [r15]
mov rbx, r13
mov r10, rax
movzx eax, word [r10]
cmp dword [r12 + rax*4], ebp
jne 0x140001a58
mov r9d, dword [rbx]
lea rcx, str.NtCreateUserProcess
add r9, r14
movzx edx, byte [r9]
test dl, dl
je 0x140001a47
movzx eax, dl
mov r8, r9
lea rdx, str.NtCreateUserProcess
sub r8, rdx
nop
movzx edx, al
cmp al, byte [rcx]
jne 0x140001a47
movzx eax, byte [r8 + rcx + 1]
inc rcx
movzx edx, al
test al, al
jne 0x140001a30
cmp dl, byte [rcx]
je 0x140001aa1
mov eax, 0x775a
cmp word [r9], ax
jne 0x140001a58
inc edi
inc r11d
add r10, 2
add rbx, 4
cmp r11d, esi
jb 0x140001a00
mov rax, qword [rsp + 0x40]
add r15, 0xc
cmp dword [r15], 0
jne 0x1400019f0
mov r8, qword [rsp + 0x48]
cmp r8, qword [rsp + 0x50]
jne 0x140001940
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x58]
mov eax, edi
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140008bd4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400089c4
Function at 0x14000d9e8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000da18
xor eax, eax
jmp 0x14000dadb
mov rbp, rbx
cmp word [rax], si
je 0x14000da3d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000da24
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000da20
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000d938
movsxd r14, eax
test eax, eax
jne 0x14000da7b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000da11
mov rcx, r14
call fcn.14000a1e8
mov rdi, rax
test rax, rax
jne 0x14000da94
xor ecx, ecx
call fcn.140009574
jmp 0x14000da70
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000d938
test eax, eax
jne 0x14000dac5
mov rcx, rdi
call fcn.140009574
jmp 0x14000dacf
xor ecx, ecx
call fcn.140009574
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140012ddc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000ca3c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140012e66
cmp byte [rbp - 0x21], r15b
je 0x140012e61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140012e9c
call fcn.1400097c8
test eax, eax
jne 0x140012e88
cmp byte [rbp - 0x21], r15b
je 0x140012e80
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140012e9c
cmp byte [rbp - 0x21], r15b
je 0x140012e99
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000c018
test eax, eax
jne 0x140012f3c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000ca3c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140012edb
cmp byte [rbp - 0x21], r15b
je 0x140012f10
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012f10
call fcn.1400097c8
test eax, eax
jne 0x140012efc
cmp byte [rbp - 0x21], r15b
je 0x140012ef5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012f10
cmp byte [rbp - 0x21], r15b
je 0x140012f0d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000c018
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140012f3c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140012f3f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140012f4d
mov rcx, rdi
call fcn.140009574
cmp byte [rbp + 0x3f], r15b
je 0x140012f5c
mov rcx, qword [rbp + 0x27]
call fcn.140009574
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400021c0
Capabilities:
Lock the desktop

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x1400021db
mov al, 1
add rsp, 0x30
pop rdi
ret
cmp dword [0x1402bbf68], 0xffffffff
mov qword [rsp + 0x40], rbx
jae 0x1400021f7
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x1400021fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
test eax, eax
jne 0x14000220d
xor ecx, ecx
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x140002214
mov ecx, eax
call sym.SystemInformer.exe_Ordinal_1670
lea r8, [0x14023c43c]
mov rbx, rax
lea r9, str.Unable_to_lock_the_computer.
mov rcx, rdi
test rax, rax
je 0x140002272
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, 0xfffe
call sym.SystemInformer.exe_Ordinal_1699
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000227c
nop
call fcn.140143da0
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov edx, 0x10
call sym.SystemInformer.exe_Ordinal_1698
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret

Function at 0x1400022a0
Capabilities:
Shutdown system

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x1400022bf
mov al, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400022d7
xor ecx, ecx
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x1400022de
mov ecx, eax
call sym.SystemInformer.exe_Ordinal_1670
lea r8, [0x14023c43c]
mov rbx, rax
lea r9, str.Unable_to_log_off_the_computer.
mov rcx, rdi
test rax, rax
je 0x14000233a
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, 0xfffe
call sym.SystemInformer.exe_Ordinal_1699
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140002345
call fcn.140143da0
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov edx, 0x10
call sym.SystemInformer.exe_Ordinal_1698
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x1400143e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, qword [0x1402c6000]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x28], 5
movups xmmword [rsp + 0x50], xmm0
mov rdi, rcx
mov rcx, rbx
movups xmmword [rsp + 0x60], xmm0
mov qword [r11 - 0x20], 0x95
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x78], rdx
lea rdx, [r11 - 0x28]
mov qword [r11 - 0x70], r8
mov r8d, 3
movups xmmword [r11 - 0x58], xmm0
mov qword [r11 - 0x18], 0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400144ac
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x1400144ac
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140014b80]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401e5e40
mov rbx, qword [rsp + 0xf8]
add rsp, 0xd0
pop rdi
ret

Function at 0x1400144e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, qword [0x1402c6000]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x38], 5
movups xmmword [rsp + 0x60], xmm0
xor eax, eax
mov rdi, r8
movups xmmword [rsp + 0x50], xmm0
mov rsi, rcx
mov r8d, 3
movups xmmword [rsp + 0x70], xmm0
mov rcx, rbx
mov qword [r11 - 0x30], 0x95
movups xmmword [r11 - 0x68], xmm0
mov qword [r11 - 0x28], rax
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
mov qword [rsp + 0x60], rdx
lea rdx, [r11 - 0x38]
mov qword [r11 - 0x80], rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400145be
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x1400145be
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140014b80]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp rax, 1
jne 0x1400145be
mov rax, qword [rsp + 0x70]
mov qword [rdi], rax
mov al, 1
jmp 0x1400145c0
xor al, al
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0xd0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001c4e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14001c529
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14001c529
movzx eax, word ds:[rcx + 0x18]
cmp ax, 0x41
je 0x14001c529
cmp ax, 0x43
jne 0x14001c529
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001c529
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_Ordinal_1004
add rsp, 0x20
pop rbx
ret

Function at 0x14001c540
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14001c5c5
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14001c5c5
movzx eax, word ds:[rcx + 0x18]
cmp ax, 0x41
je 0x14001c592
cmp ax, 0x43
jne 0x14001c5c5
test r8b, 1
je 0x14001c5c5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax]
test ax, ax
jns 0x14001c5c5
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_Ordinal_1004
test r8b, 2
je 0x14001c5c5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001c5c5
mov edx, 2
mov rcx, rbx
mov r8d, edx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_Ordinal_1822
add rsp, 0x20
pop rbx
ret
Function at 0x140021a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xf]
sub rsp, 0xc8
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x1402c6000]
mov rax, r8
mov r8, qword [rbp + 0x6f]
xor esi, esi
mov r10, qword [rbp + 0x77]
mov rdi, rcx
mov rcx, qword [rbp + 0x5f]
mov r11, qword [rbp + 0x7f]
mov qword [rbp - 0x61], rax
mov eax, dword [rbp + 0x57]
mov dword [rbp - 0x51], eax
mov eax, dword [rbp + 0x67]
mov qword [rbp - 0x69], rdx
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x59], r9
lea r9, [rsp + 0x38]
mov qword [rbp - 0x49], rcx
mov rcx, rbx
mov qword [rbp - 0x39], r8
mov r8d, 3
mov dword [rbp - 0x41], eax
mov dword [rbp - 0x4d], esi
mov dword [rbp - 0x3d], esi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x31], r10
mov qword [rbp - 0x29], r11
mov qword [rbp - 0x19], 5
mov qword [rbp - 0x11], 0x9b
mov qword [rbp - 9], rsi
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
nop dword [rax]
test eax, eax
js 0x140021b28
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x79]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
nop
test eax, eax
js 0x140021b28
mov rdx, qword ds:[rbp - 0x79]
lea rax, [rbp - 0x69]
lea r9, [0x140021b60]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
jmp 0x140021b2f
mov rax, 0xffffffffffffffff
cmp rax, 1
sete al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0xc8
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1400231e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xf]
sub rsp, 0xc8
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rbp - 1], rax
mov eax, dword [rbp + 0x57]
xor esi, esi
mov rbx, qword [rbp + 0x7f]
mov rdi, rcx
mov rcx, qword [rbp + 0x5f]
cmp dword [0x1402cad68], esi
mov r10, qword [rbp + 0x6f]
mov r11, qword [rbp + 0x77]
cmovne rdi, rsi
mov qword [rbp - 0x29], rbx
mov rbx, qword [0x1402c6000]
mov qword [rbp - 0x69], rdx
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x61], r8
mov r8d, 3
mov qword [rbp - 0x59], r9
lea r9, [rsp + 0x38]
mov dword [rbp - 0x51], eax
mov eax, dword [rbp + 0x67]
mov qword [rbp - 0x49], rcx
mov rcx, rbx
mov dword [rbp - 0x4d], esi
mov dword [rbp - 0x3d], esi
mov qword [rbp - 0x21], rsi
mov dword [rbp - 0x41], eax
mov qword [rbp - 0x39], r10
mov qword [rbp - 0x31], r11
mov qword [rbp - 0x19], 5
mov qword [rbp - 0x11], 0x113
mov qword [rbp - 9], rsi
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400232cc
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x79]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x1400232cc
mov rdx, qword [rbp - 0x79]
lea rax, [rbp - 0x69]
lea r9, [0x140022760]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
jmp 0x1400232d3
mov rax, 0xffffffffffffffff
cmp rax, 1
sete al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0xc8
pop rdi
pop rsi
pop rbx
pop rbp
ret