joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100002c44
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp qword [0x10000ac58], 0
mov rsi, rdx
mov ebp, ecx
jne 0x100002d4e
cmp qword [0x10000ac50], 0
jne 0x100002d4e
lea rdx, [0x100001520]
lea rcx, [0x10000ac60]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [0x100001558]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x100002d08
mov edx, 0x14c2
mov r8d, 5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x100002cff
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x100002cff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x100002cff
lea rcx, [rax + 0x16]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x100
jge 0x100002cff
lea rdx, [rbx + 0x16]
lea rcx, [0x10000ac60]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x10000ac58], rax
test rax, rax
je 0x100002d4e
lea rax, [rsp + 0x50]
lea r8, [0x100001b08]
xor r9d, r9d
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x10000ac50], rax
mov rdx, rsi
mov ecx, ebp
call fcn.100002a44
cmp qword [0x10000ac50], 0
mov ebx, eax
je 0x100002d98
mov rcx, qword [0x10000ac58]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x10000ac50]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x10000ac50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x10000ac50], 0
mov rcx, qword [0x10000ac58]
test rcx, rcx
je 0x100002db2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x10000ac58], 0
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x100005d18
Capabilities:
Check if file exists
Get file attributes

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 r12
sub rsp, 0x260
mov rax, qword [0x10000a100]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x290]
xor r12d, r12d
mov ebx, 2
mov dword [rsp + 0x30], r12d
cmp rdx, r12
je 0x100005d6a
mov eax, 3
jmp 0x100005e6b
cmp r9d, ebx
jl 0x100005d60
mov rcx, qword [rax]
cmp word [rcx], r12w
je 0x100005d60
mov rsi, qword [rax + 8]
cmp word [rsi], r12w
je 0x100005d60
mov edi, 0x104
lea r8, [rsp + 0x40]
xor r9d, r9d
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp eax, edi
jae 0x100005e69
cmp eax, r12d
je 0x100005e69
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100005e69
lea rcx, [0x100001970]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
cmp rax, r12
je 0x100005e69
lea rdx, [0x100001988]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
cmp rax, r12
je 0x100005e60
call qword [sym.imp.msvcrt.dll___iob_func]
lea r9, [rsp + 0x40]
mov r8, rsi
lea rcx, [rax + 0x30]
mov edx, 0xeeae
call fcn.100001b74
lea r11, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov r9d, 1
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x20], r11
call rbp
cmp eax, r12d
jne 0x100005e41
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x1000019b0]
mov edx, eax
call qword [sym.imp.msvcrt.dll_printf]
jmp 0x100005e60
call qword [sym.imp.msvcrt.dll___iob_func]
mov edx, 0xeeb2
lea rcx, [rax + 0x30]
call fcn.100001b74
cmp dword [rsp + 0x30], r12d
mov ebx, r12d
setne bl
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.100007680
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x1000073c8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x10000ae78], rdi
je 0x100007416
cmp rax, rdi
jne 0x100007409
mov edi, 1
mov r12d, edi
jmp 0x10000741b
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000073ed
mov edi, 1
mov eax, dword [0x10000ae70]
cmp eax, edi
jne 0x100007431
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x10000748e
mov eax, dword [0x10000ae70]
test eax, eax
jne 0x100007488
mov dword [0x10000ae70], edi
lea r13, [0x100001488]
lea rsi, [0x100001470]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x10000747a
test eax, eax
jne 0x10000747a
mov rcx, qword [rsi]
test rcx, rcx
je 0x10000746f
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x100007458
test eax, eax
je 0x10000748e
mov eax, 0xff
jmp 0x100007560
mov dword [0x10000a6cc], edi
mov eax, dword [0x10000ae70]
cmp eax, edi
jne 0x1000074b5
lea rdx, [0x100001468]
lea rcx, [0x100001458]
call sub.msvcrt.dll__initterm
mov dword [0x10000ae70], 2
test r12d, r12d
jne 0x1000074c3
xor eax, eax
xchg qword [0x10000ae78], rax
cmp qword [0x10000ae80], 0
je 0x1000074ec
lea rcx, [0x10000ae80]
call fcn.10000785c
test eax, eax
je 0x1000074ec
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10000ae80]
mov r8, qword [0x10000a6b0]
mov rdx, qword [0x10000a6b8]
mov ecx, dword [0x10000a6a8]
call fcn.100002c44
mov dword [0x10000a6c8], eax
cmp dword [0x10000a6ac], 0
jne 0x10000751c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10000a6cc], 0
jne 0x100007531
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10000a6c8]
jmp 0x100007560
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.1000a4000
add rsp, 0x28
jmp 0x1000073c8
Function at 0x100007680
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x10000a100]
jne 0x10000769b
rol rcx, 0x10
test cx, 0xffff
jne 0x100007697
ret 0
ror rcx, 0x10
jmp 0x100007a2c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10000a780]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x10000a878]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x100007ab1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x10000a780]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x100007ad3
mov rax, qword [rsp + 0x88]
mov qword [0x10000a878], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10000a818], rax
mov rax, qword [0x10000a878]
mov qword [0x10000a6f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10000a800], rax
mov dword [0x10000a6e0], 0xc0000409
mov dword [0x10000a6e4], 1
mov rax, qword [0x10000a100]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10000a108]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000014b0]
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, 0x88
ret

Function at 0x1000078c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100007915
cmp rcx, 0xffffffffffffffff
je 0x100007915
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000790d
cmp dword [rcx + 0x3c], edx
jl 0x10000790d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000790d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100007915
mov rax, rdx
add rsp, 0x18
ret
Function at 0x15163c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.15163c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x15163c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x15163c06f
add dl, dl
jne 0x15163c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x15163c0f6
xor eax, eax
add dl, dl
jne 0x15163c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x15163c1ad
add dl, dl
jne 0x15163c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15163c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15163c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15163c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x15163c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x15163c07e
mov eax, 1
add dl, dl
jne 0x15163c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15163c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x15163c0fb
sub eax, ebx
mov ebx, 1
jne 0x15163c14c
mov ecx, 1
add dl, dl
jne 0x15163c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x15163c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x15163c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x15163c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x15163c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x15163c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x15163c15d
cmp eax, 0x7d00
jae 0x15163c19b
cmp eax, 0x500
jb 0x15163c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x15163c07e
cmp eax, 0x7f
ja 0x15163c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x15163c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x15163c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x15163c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x100001100
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100090120]
jne 0x1000192e4
rol rcx, 0x10
test cx, 0xffff
jne 0x1000192e0
ret 0
ror rcx, 0x10
jmp 0x100056120
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100090d70]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x100090e68]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1000561a5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100090d70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1000561c7
mov rax, qword [rsp + 0x88]
mov qword [0x100090e68], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100090e08], rax
mov rax, qword [0x100090e68]
mov qword [0x100090ce0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100090df0], rax
mov dword [0x100090cd0], 0xc0000409
mov dword [0x100090cd4], 1
mov rax, qword [0x100090120]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100090128]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x10006bd80]
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, 0x88
ret
Function at 0x100001f24
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
sub rsp, 0x30
mov rax, rcx
mov rcx, qword [0x100092230]
mov rbx, rdx
test rcx, rcx
je 0x1000214a2
mov rdx, qword [rbx]
lea rax, [rsp + 0x50]
mov r9d, 4
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1000214ba
mov al, 1
jmp 0x100001f71
add rsp, 0x30
pop rbx
ret
mov rcx, rax
call fcn.10000edd8
test al, al
je 0x1000214ba
mov rcx, qword [0x100092230]
jmp 0x100001f44
xor al, al
jmp 0x100001f71

Function at 0x1000056bc
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rdi, rcx
mov rbx, qword [rcx + 0x1c0]
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, rbx
jne 0x1000206f0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rdx, [0x100066a5c]
lea rcx, [rsp + 0x40]
call fcn.100001740
nop
mov edx, 0x9f
lea rcx, [rsp + 0x40]
call fcn.1000017cc
mov r9, rax
mov edx, 0xd
mov r8d, 0xa0
mov rcx, qword [rdi + 0x1c0]
call qword [sym.imp.USER32.dll_SendMessageW]
or edx, 0xffffffff
lea rcx, [rsp + 0x40]
call fcn.100001844
lea rcx, [rsp + 0x40]
call fcn.100002304
mov r11, qword [rsp + 0x40]
cmp dword [r11 - 8], 0
jne 0x10002076b
lea r9, [0x100066a5c]
xor r8d, r8d
lea edx, [r8 + 0xc]
mov rcx, qword [rdi + 0x1c0]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rcx, [rsp + 0x40]
call fcn.1000012a0
nop
jmp 0x1000056e9

Function at 0x100007cc8
Capabilities:
Extract resource via kernel32 functions

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 r12
sub rsp, 0x20
mov eax, edx
mov esi, edx
mov r8d, 6
shr eax, 4
mov rbp, rcx
inc ax
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor ebx, ebx
mov r12, rax
cmp rax, rbx
je 0x100019daa
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, rbx
je 0x100007d67
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
cmp rax, rbx
je 0x100007d67
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and esi, 0xf
jbe 0x100007d56
cmp rdi, r11
jae 0x100007d67
add esi, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x100007d44
cmp rdi, r11
jae 0x100007d67
movzx eax, word [rdi]
neg ax
sbb rbx, rbx
and rbx, rdi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
xor eax, eax
jmp 0x100007d6a
Function at 0x100009728
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x100090148]
test rcx, rcx
je 0x10000ed25
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
je 0x10000c07c
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x100021362
mov eax, dword [rax]
mov rcx, qword [0x100090148]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
jne 0x100021369
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x100090148]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x10000c0be
mov rax, rbx
jmp 0x100009751
call fcn.10000ed44
test eax, eax
je 0x100021362
mov rcx, qword [0x100090148]
jmp 0x100009742
xor eax, eax
jmp 0x100009751
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x100009751

Function at 0x100009cd8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, rcx
mov rcx, qword [0x100092230]
xor ebx, ebx
mov rbp, r9
mov rdi, r8
mov rsi, rdx
cmp rcx, rbx
je 0x100021486
mov rdx, qword [rsi]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x100009d46
cmp dword [rsp + 0x30], 4
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
lea rcx, [0x100090280]
mov r8, rdi
mov rdx, rsi
call fcn.10000a22c
mov rsi, qword [rsp + 0x60]
mov byte [rbp], al
mov rbp, qword [rsp + 0x58]
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, rax
call fcn.10000edd8
cmp al, bl
je 0x100009d46
mov rcx, qword [0x100092230]
jmp 0x100009d0a

Function at 0x10000a1a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, rcx
mov rcx, qword [0x100092230]
mov rbx, r8
mov rdi, rdx
test rcx, rcx
je 0x10000edb3
mov rdx, qword [rdi]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
test eax, eax
jne 0x10002147f
cmp dword [rsp + 0x30], 4
jne 0x10002147f
lea rcx, [0x100090280]
mov r8, rbx
mov rdx, rdi
call fcn.10000a22c
mov al, 1
jmp 0x10000a218
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, rax
call fcn.10000edd8
test al, al
je 0x10002147f
mov rcx, qword [0x100092230]
jmp 0x10000a1c7
xor al, al
jmp 0x10000a218
Function at 0x10000ba20
Capabilities:
Create thread
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
test edx, edx
mov ebx, edx
mov eax, 0xfffffffe
cmove ebx, eax
mov rdi, rcx
test ebx, ebx
js 0x10001dbec
mov r8d, dword [rdi + 0x54]
mov edx, ebx
mov rcx, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp fcn.100001fc8
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r11d, dword [rsp + 0x40]
imul r11d, ebx
mov ebx, r11d
neg ebx
jmp 0x10000ba41

Function at 0x10000c57c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x1010
call fcn.100002240
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1030], rbx
mov rax, qword [0x100090120]
xor rax, rsp
mov qword [rsp + 0x1000], rax
mov rsi, r9
mov rbp, r8
mov rbx, rdx
xor edi, edi
lea rcx, [rsp + 0x48]
call fcn.10000c694
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.100002470
nop
lea rcx, [rsp + 0x48]
call fcn.1000012a0
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, edi
jne 0x10000c65e
mov dword [rsp + 0x30], 0xfa0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rbp]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x10000c652
cmp dword [rsp + 0x34], 1
jne 0x10000c652
mov word [rsp + 0xffe], di
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.100002354
mov dil, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x38]
call fcn.1000012a0
mov al, dil
mov rcx, qword [rsp + 0x1000]
xor rcx, rsp
call fcn.100001100
mov rbx, qword [rsp + 0x1030]
add rsp, 0x1010
pop rdi
pop rsi
pop rbp
ret
Function at 0x10000d244
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
or r9, 0xffffffffffffffff
mov rbp, rcx
mov rcx, qword [rcx + 0xb8]
lea r8d, [r9 + 0xd]
mov edx, 0x432
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0xb8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x431
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x50]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov rcx, rbx
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov rcx, qword [0x1000921e0]
mov edx, 2
mov ebx, 0x2000
lea r8d, [rdx + 0x16]
mov r9d, edx
mov dword [rsp + 0x30], ebx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xff00ff
call qword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
mov r8, qword [rsp + 0x50]
mov rcx, rbp
mov rdx, rax
call fcn.10000d420
mov rcx, qword [0x1000921e0]
mov edx, 0x87
mov dword [rsp + 0x30], ebx
and dword [rsp + 0x28], 0
lea r8d, [rdx - 0x6f]
mov r9d, 2
mov rsi, rax
mov dword [rsp + 0x20], 0xff00ff
call qword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
mov r8, qword [rsp + 0x50]
mov rcx, rbp
mov rdx, rax
call fcn.10000d420
mov rcx, qword [0x1000921e0]
mov r9d, 2
mov dword [rsp + 0x30], 0x2020
and dword [rsp + 0x28], 0
lea r8d, [r9 + 0x16]
mov edx, 0xa1
mov rdi, rax
mov dword [rsp + 0x20], 0xff00ff
call qword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
mov r8, qword [rsp + 0x50]
mov rcx, rbp
mov rdx, rax
call fcn.10000d420
mov rcx, qword [rbp + 0xb8]
mov r9, rdi
xor r8d, r8d
mov edx, 0x434
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0xb8]
mov r9, rsi
xor r8d, r8d
mov edx, 0x430
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0xb8]
mov r9, rbx
xor r8d, r8d
mov edx, 0x436
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0xb8]
or rdi, 0xffffffffffffffff
mov ebx, 0x432
lea r8d, [rdi + 0xd]
mov r9, rdi
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rdi
mov rcx, qword [rbp + 0xb8]
lea r8d, [rdi + 0xe]
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0xb8]
lea r8d, [rdi + 0xf]
mov r9, rdi
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x10000da50
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x110
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x100090120]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rdx
xor esi, esi
mov dword [rsp + 0x28], esi
mov word [rsp + 0x50], si
xor edx, edx
mov r8d, 0xa6
lea rcx, [rsp + 0x52]
call sub.msvcrt.dll_memset
lea rcx, [0x100090238]
mov rax, qword [0x100090238]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x28], 1
mov rcx, rdi
call fcn.10000db98
cmp rax, rsi
je 0x1000239fe
lea rdx, str.GetUserPreferredUILanguages
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
cmp rax, rsi
je 0x1000239fe
mov dword [rsp + 0x24], 0x54
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x20]
lea ecx, [rsi + 8]
call rax
cmp eax, 1
jne 0x1000239fe
mov edx, esi
mov edi, dword [rsp + 0x24]
add edi, 0xfffffffe
cmp edi, esi
jbe 0x10000db45
lea rax, [rsp + 0x50]
mov ecx, dword [rsp + 0x20]
cmp ecx, esi
jbe 0x10000db41
cmp word [rax], si
je 0x1000239ed
inc edx
add rax, 2
cmp edx, edi
jb 0x10000db2a
mov dword [rsp + 0x20], ecx
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.100008590
jmp 0x10000db69
mov rax, rbx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.100001100
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov r8d, 0x5f
mov word [rax], r8w
dec ecx
jmp 0x10000db37
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx r8d, ax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1000558dc
nop
mov rdx, rax
mov rcx, rbx
call fcn.100001c5c
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
cmp ecx, esi
jg 0x10000db69
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x10000db69