joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032ec0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_ZwQueryValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000023
je 0x140032f11
cmp dword [rsp + 0x30], 0x80000005
jne 0x140032f17
mov eax, dword [rsp + 0x34]
jmp 0x140032f19
xor eax, eax
add rsp, 0x48
ret

Function at 0x140033160
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x14004ab00]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x1400331ba
cmp dword [rsp + 0x90], 0x7c
jge 0x1400331ba
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x140049790]
call fcn.140033664
nop
lea rcx, [rsp + 0x50]
call fcn.14002b36c
nop
cmp qword [rsp + 0x30], 0
jne 0x1400331e1
lea rdx, [0x140042a70]
lea rcx, [rsp + 0x50]
call fcn.14002c338
nop
jmp 0x1400331f1
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14002c338
nop
cmp dword [rsp + 0xa0], 1
jne 0x14003320d
lea rdx, [0x140042a80]
lea rcx, [rsp + 0x50]
call fcn.14002c338
nop
movss xmm2, dword [0x140041d40]
movss xmm1, dword [0x140043618]
lea rcx, [rsp + 0x48]
call fcn.14002b870
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.140036148
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140021d3c
movzx eax, al
test eax, eax
je 0x140033282
cmp dword [rsp + 0xa0], 0
jne 0x140033282
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.14002be18
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14003a220
add rsp, 0x88
ret
Function at 0x140033524
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x140042f88]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140042f78]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400335ad
lea rcx, [0x140042fa0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserSendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400335ad
lea rcx, [0x140042fb4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.SendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400335ad
xor al, al
jmp 0x14003365f
lea rcx, str.win32u
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140042fc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003362f
lea rcx, [0x140042ff8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserGetAsyncKeyState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003362f
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140043000]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003362f
xor al, al
jmp 0x14003365f
mov r8d, 0x1e
mov rdx, qword [rsp + 0x20]
lea rcx, [0x14004b888]
call fcn.14003aebe
mov r8d, 0x1e
mov rdx, qword [rsp + 0x28]
lea rcx, [0x14004b8a8]
call fcn.14003aebe
mov al, 1
add rsp, 0x38
ret

Function at 0x140034188
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400341ba
xor eax, eax
jmp 0x140034210
mov r8d, 0x1e
lea rdx, [0x14004b8a8]
mov rcx, qword [rsp + 0x28]
call fcn.14003aebe
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
call qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x140034df4
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 0xc0000001
mov dword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x68], 0x240
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwOpenKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140034ecb
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140034eba
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
nop
jmp 0x140034f5e
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwCreateKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140034f52
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140034f52
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
nop
mov al, byte [rsp + 0x40]
add rsp, 0x88
ret
Function at 0x140036a14
Capabilities:
Delete file
Execute command

Disassembly:
push rdi
sub rsp, 0x210
mov rax, qword [0x14004ab00]
xor rax, rsp
mov qword [rsp + 0x200], rax
lea rcx, str.color_3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140042bb8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str._Updated_by_Payson_Holmes___.gg_subzerofn_n_n
call fcn.140039c1c
lea rcx, str.__1__Load_Cheat_n__2__Load_Driver_n_n__
call fcn.140039c1c
lea rdx, [rsp + 0x28]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
nop
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 2
je 0x140036aa3
jmp 0x140036c02
lea rcx, [0x140042c18]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x20]
call fcn.14002c5b8
mov rcx, rax
call fcn.14002c3e8
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x21]
call fcn.14002c5e4
mov rcx, rax
call fcn.14002c3e8
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x22]
call fcn.14002c610
mov rcx, rax
call fcn.14002c3c8
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x23]
call fcn.14002c63c
mov rcx, rax
call fcn.14002c3a8
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x24]
call fcn.14002c668
mov rcx, rax
call fcn.14002c3a8
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x25]
call fcn.14002c694
mov rcx, rax
call fcn.14002c388
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
xor r9d, r9d
lea r8, str.dsc.gg_red
lea rdx, str.Loaded
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x140036a2f
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.14003a220
add rsp, 0x210
pop rdi
ret
Function at 0x1400381d4
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, [0x1400347e0]
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, [0x140034c9c]
mov qword [rsp + 0x78], rax
lea rax, [0x140042ce8]
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 0x14003828d
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.140028788
nop
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, [0x140042d00]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14004b8f8], rax
mov edx, 5
mov rcx, qword [0x14004b8f8]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x140042cd8]
mov rcx, qword [0x14004b8f8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x14004b8f8]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14004b8f8]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
add rsp, 0xc0
pop rdi
ret
Function at 0x140039a4c
Capabilities:
Create thread
Execute command
Hide graphical window
Set console window title

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x14004ab00]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rcx, [0x140042c34]
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.140033524
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14003412c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, str.REDD_ON_TOPP_t
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.140036a14
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140042c48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140042c4c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140042c50]
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, [0x140042c54]
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]
nop
cmp qword [0x14004b4a0], 0
jne 0x140039b7f
lea rdx, str.Fortnite
lea rcx, [rsp + 0x68]
call fcn.14002ac50
lea rcx, [rsp + 0x68]
call fcn.14003653c
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x14004b4a0], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x140039b3a
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rdx, [0x140042c68]
mov rcx, qword [rsp + 0x30]
call fcn.14002b314
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140035478
mov dword [0x14004b4a8], eax
xor edx, edx
mov rcx, qword [0x14004b880]
call fcn.1400332a4
movzx eax, al
test eax, eax
je 0x140039bf0
mov edx, dword [0x14004b4a8]
mov rcx, qword [0x14004b880]
call fcn.14002c92c
lea rdx, str.FortniteClient_Win64_Shipping.exe
mov rcx, qword [0x14004b880]
call fcn.140032f20
mov qword [0x14004b498], rax
call fcn.1400381d4
call fcn.140038360
call fcn.1400395c4
call fcn.140039934
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14003a220
add rsp, 0x88
ret

Function at 0x14003aa40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003aa8a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003aa8a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003aa8a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003aa8a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003aa8a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003aa8c
xor al, al
add rsp, 0x28
ret
Function at 0x1400021a0
Capabilities:
Access the windows event log

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov ebp, r8d
mov esi, edx
mov rbx, rcx
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.RemoveTasks
mov r8, r14
mov r9d, ebp
call fcn.1400034f0
movsxd r15, eax
lea r12, [r15*2 + 2]
inc r15
mov rcx, r12
call fcn.140002510
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], esi
mov rcx, rdi
mov rdx, r15
call fcn.140003570
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x14000226c
mov rbx, rax
lea rax, [rsp + 0x50]
mov qword [rax], rdi
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rbx
mov dx, 1
xor r8d, r8d
mov r9d, esi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rdi
call fcn.140002500
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003180
nop
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x140002d14
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002d5e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002d5e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002d5e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002d5e
cmp dword [rcx + 0x84], 0xe
jbe 0x140002d5e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002d60
xor al, al
add rsp, 0x28
ret
Function at 0x140001a00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp 0x140023e5c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r13, rdx
mov r12, rcx
call fcn.14002c6ec
mov rbx, qword [rax + 0x18]
mov r8d, 0xf1
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor r14d, r14d
cmp rax, r14
jne 0x140023ea2
xor eax, eax
jmp 0x140023f7b
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
cmp rax, r14
je 0x140023e9b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
cmp rax, r14
je 0x140023e9b
movzx ecx, word [rax + 6]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140011218
mov r9d, r14d
mov rbp, rax
cmp r14w, word [rbx + 6]
jae 0x140023f14
mov rdx, rax
lea r8, [rbx + 8]
movzx ecx, word [r8]
inc r9d
add r8, 2
mov dword [rdx], ecx
movzx eax, word [rbx + 6]
add rdx, 4
cmp r9d, eax
jl 0x140023efa
movzx r8d, word [rbx + 6]
mov rdx, rbp
mov rcx, r12
call fcn.140022670
mov rcx, rbp
mov esi, eax
call fcn.140011264
cmp esi, r14d
je 0x140023f70
movzx ecx, word [rbx + 4]
movzx eax, word [rbx + 2]
mov dword [rsp + 0x60], eax
add eax, 7
mov dword [rsp + 0x64], ecx
mov r8, qword [rsp + 0x60]
mov dword [rsp + 0x68], eax
lea eax, [rcx + 7]
mov dword [rsp + 0x6c], eax
mov rdx, qword [rsp + 0x68]
mov rcx, r12
call fcn.140022ea0
mov rdx, r13
mov rcx, r12
call fcn.140022f74
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140005a30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0xb0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x140267a28]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rcx
xor ecx, ecx
call fcn.140035374
lea rdx, str.Local_AppWizard_Generated_Applications
mov rcx, rbx
call fcn.140034124
mov edx, 4
mov rcx, rbx
call fcn.140030cb4
mov ecx, 0xc8
call fcn.1400019f0
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140005ab7
lea rcx, str.CSTMEditorView
mov qword [rsp + 0x20], rcx
lea r9, str.CMainFrame
lea r8, str.CSTMEditorDoc
mov edx, 0x80
mov rcx, rax
call fcn.140033d20
jmp 0x140005ab9
xor eax, eax
mov rdx, rax
mov rcx, rbx
call fcn.140032d30
mov rcx, rbx
call fcn.14003302c
mov edx, 1
mov rcx, rbx
call fcn.140032af0
lea rcx, [rsp + 0x40]
call fcn.140031ca4
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140030d60
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140032b3c
test eax, eax
jne 0x140005b13
lea rcx, [rsp + 0x40]
call fcn.140031d70
xor eax, eax
jmp 0x140005c2c
mov edx, 5
mov rcx, qword [rbx + 0x40]
call fcn.14001cbac
mov rcx, qword [rbx + 0x40]
call fcn.1400059e0
mov edx, 1
mov rcx, qword [rbx + 0x40]
call fcn.1400059d0
call fcn.1400059a0
mov rbx, qword [rax + 0x40]
mov byte [rsp + 0x80], 0x55
mov byte [rsp + 0x81], 0x73
mov byte [rsp + 0x82], 0x65
mov byte [rsp + 0x83], 0x72
mov byte [rsp + 0x84], 0x33
mov byte [rsp + 0x85], 0x32
mov byte [rsp + 0x86], 0x2e
mov byte [rsp + 0x87], 0x64
mov byte [rsp + 0x88], 0x6c
mov byte [rsp + 0x89], 0x6c
mov byte [rsp + 0x8a], 0
mov byte [rsp + 0x90], 0x53
mov byte [rsp + 0x91], 0x68
mov byte [rsp + 0x92], 0x6f
mov byte [rsp + 0x93], 0x77
mov byte [rsp + 0x94], 0x57
mov byte [rsp + 0x95], 0x69
mov byte [rsp + 0x96], 0x6e
mov byte [rsp + 0x97], 0x64
mov byte [rsp + 0x98], 0x6f
mov byte [rsp + 0x99], 0x77
mov byte [rsp + 0x9a], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov rcx, rbx
call rax
call fcn.1400058c0
nop
lea rcx, [rsp + 0x40]
call fcn.140031d70
mov eax, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14005efb0
add rsp, 0xb0
pop rbx
ret
Function at 0x140011ff8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, r8
mov rbx, rdx
mov r13, rcx
xor edi, edi
call fcn.14002c6ec
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
cmp rax, rdi
je 0x140012054
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.140011a8c
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x1400120e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x140012127
cmp dword [rcx + 0xa8], 0
jne 0x140012127
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14002c6ec
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14001208c
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140014968
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14003ce60
mov rsi, rax
test rax, rax
je 0x1400149e4
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x1400149df
cmp dword [rbx], 0x40
jb 0x1400149df
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x1400149df
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x1400149e8
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret