joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a870
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140007ae0
xor ebx, ebx
cmp qword [0x140014268], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14000a99c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14000aaaf
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000aaaf
mov rcx, rax
call fcn.140007a10
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140014268], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007a10
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140014270], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007a10
lea rcx, [rsp + 0x98]
mov qword [0x140014278], rax
call fcn.140006520
test eax, eax
je 0x14000a94f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140006100
cmp dword [rsp + 0x98], 2
jne 0x14000a99c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007a10
test rax, rax
mov qword [0x140014288], rax
je 0x14000a99c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007a10
mov qword [0x140014280], rax
mov rcx, qword [0x140014280]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x14000aa48
cmp qword [0x140014288], rbp
je 0x14000aa48
call fcn.140007bd0
mov rcx, qword [0x140014288]
mov rsi, rax
call fcn.140007bd0
test rsi, rsi
mov r12, rax
je 0x14000aa48
test rax, rax
je 0x14000aa48
call rsi
test rax, rax
je 0x14000aa13
lea rcx, [rsp + 0x34]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000aa13
test byte [rsp + 0x40], 1
jne 0x14000aa48
lea rcx, [rsp + 0x30]
call fcn.140006570
test eax, eax
je 0x14000aa35
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140006100
cmp dword [rsp + 0x30], 4
jb 0x14000aa42
bts edi, 0x15
jmp 0x14000aa86
bts edi, 0x12
jmp 0x14000aa86
mov rcx, qword [0x140014270]
cmp rcx, rbp
je 0x14000aa86
call fcn.140007bd0
test rax, rax
je 0x14000aa86
call rax
test rax, rax
mov rbx, rax
je 0x14000aa86
mov rcx, qword [0x140014278]
cmp rcx, rbp
je 0x14000aa86
call fcn.140007bd0
test rax, rax
je 0x14000aa86
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140014268]
call fcn.140007bd0
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x14000aaaf
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14000aab1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000dde0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140012090]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14000de27
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140004780
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.14000e0e0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140004780
add rsp, 0x38
ret
Function at 0x1400032d0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140003344
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x14000335f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x14000335f
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je case.default.0x14000335f
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x140003540
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140003580
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
jne 0x1400035b3
lea eax, [r8 + 0xd]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rbx, [rbx + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x1400035c2
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x140003c60
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14001a360]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rsp + 0x48]
or r9d, 0x2001f
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
call fcn.140003440
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140003d93
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140003d51
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140003c60
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x140003d93
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140003d00
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140003d66
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rcx, qword [rdi + 0x10]
mov dword [rsp + 0x50], ebp
test rcx, rcx
je 0x140003d80
mov rdx, qword [rdi]
mov r8, rsi
call fcn.1400032d0
jmp 0x140003d8c
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x140003d9e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000a1a0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x14001a360]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebp, ebp
mov rax, rdx
mov rbx, r8
mov qword [rsp + 0x38], rcx
lea r8d, [rbp + 2]
xor edx, edx
mov rcx, rax
mov rsi, r9
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x14000575e
call fcn.1400032a0
mov ebx, eax
jmp 0x14000585f
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000577f
call fcn.1400032a0
jmp 0x140005854
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
jne 0x14000579d
call fcn.1400032a0
jmp 0x140005854
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
inc eax
cmp eax, ebx
jae 0x1400057bb
mov ebx, 0x8007000e
jmp 0x140005856
mov ecx, eax
test eax, eax
je 0x140005803
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400057f8
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140005803
lea rcx, [rsp + 0x40]
call fcn.140003c30
mov r11, qword [rsp + 0x40]
test r11, r11
jne 0x14000580d
mov ebx, 0x8007000e
jmp 0x140005856
mov ecx, 0x80070216
call fcn.140003000
int3
lea r11, [rsp + 0x48]
mov qword [rsp + 0x40], r11
xor edx, edx
mov r9d, ebx
mov r8, rsi
lea ecx, [rdx + 3]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r11
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140005832
call fcn.1400032a0
jmp 0x140005854
mov r8d, dword [rsp + 0x4a0]
mov ecx, eax
mov rax, qword [rsp + 0x40]
mov word [rax + rcx*2], bp
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140005450
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x40], rax
je 0x140005880
lea rcx, [rsp + 0x40]
call fcn.140003c20
nop word [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14000a1a0
mov rbx, qword [rsp + 0x480]
add rsp, 0x460
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400062a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400062d3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140006316
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140006311
cmp rbx, r11
jae 0x140006316
dec edi
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140006300
cmp rbx, r11
jb 0x14000631a
xor eax, eax
jmp 0x140006326
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007520
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rcx, qword [rdx]
xor ebp, ebp
mov eax, 1
mov qword [rsp + 0x68], rbp
sub eax, dword [rcx - 8]
mov esi, r8d
or eax, dword [rcx - 0xc]
mov rbx, rdx
mov edi, ebp
jge 0x140007555
xor edx, edx
mov rcx, rbx
call fcn.140006eb0
mov rdx, qword [rbx]
lea r8, [0x1400149f0]
lea rcx, [rsp + 0x68]
call fcn.140006be0
cmp eax, 1
jne 0x1400075a5
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea rdx, str.Buysupplies_Connection
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], esi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete dil
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400075b1
mov eax, ebp
jmp 0x1400075be
movsxd rdx, dword [rcx - 0xc]
call fcn.14000b274
test eax, eax
js 0x140007611
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140007611
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400075e3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbx]
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140007602
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140003000
int3
Function at 0x140007ca0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rax, qword [0x14001a2c0]
mov rsi, rcx
lea rcx, [0x14001a2c0]
call qword [rax + 0x18]
lea rbp, [0x140014d26]
add rax, 0x18
mov rbx, rbp
shr rbx, 0x10
mov qword [rsp + 0x48], rax
test rbx, rbx
jne 0x140007cff
movzx edi, bp
xor edx, edx
mov ecx, edi
call fcn.140006340
test rax, rax
je 0x140007d0c
lea rcx, [rsp + 0x48]
mov r8d, edi
mov rdx, rax
call fcn.1400072a0
jmp 0x140007d0c
lea rcx, [rsp + 0x48]
mov rdx, rbp
call fcn.140007170
mov rax, qword [0x14001a2c0]
lea rcx, [0x14001a2c0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
test rbx, rbx
jne 0x140007d4e
movzx ebx, bp
xor edx, edx
mov ecx, ebx
call fcn.140006340
test rax, rax
je 0x140007d5b
lea rcx, [rsp + 0x50]
mov r8d, ebx
mov rdx, rax
call fcn.1400072a0
jmp 0x140007d5b
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.140007170
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
lea rcx, [rsp + 0x48]
xor edx, edx
movzx r9d, ax
mov r8d, 0x3ed
movzx ebx, ax
call fcn.140007890
lea rcx, [rsp + 0x50]
movzx r9d, bx
xor edx, edx
mov r8d, 0x3ee
call fcn.140007890
mov rdi, qword [rsp + 0x48]
cmp dword [rdi - 0x10], 0
jne 0x140007db1
lea rdx, [0x140014d08]
lea rcx, [rsp + 0x48]
call fcn.140007c70
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0x10], 0
jne 0x140007dd2
lea rdx, [0x140014d00]
lea rcx, [rsp + 0x50]
call fcn.140007c70
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsi + 8]
mov edx, 1
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsi + 8]
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140007e17
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x140007e34
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007e50
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14001a360]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [0x14001a2c0]
mov rsi, rcx
lea rcx, [0x14001a2c0]
mov rdi, rdx
call qword [rax + 0x18]
lea rcx, [rsp + 0x42]
lea rbx, [rax + 0x18]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x30], rbx
mov word [rsp + 0x40], bp
call fcn.14000a2c0
mov r11, qword [rdi]
cmp dword [r11 - 0x10], ebp
je 0x140007f22
lea rdx, [rsp + 0x40]
lea rcx, str._ProgramFiles_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp bp, word [rsp + 0x40]
je 0x140007f22
cmp bp, word [rsp + 0x42]
je 0x140007f22
lea r8, [rsp + 0x40]
lea rdx, str._sInternet_Exploreriexplore.exe
lea rcx, [rsp + 0x30]
call fcn.140007c70
mov rbx, qword [rsp + 0x30]
mov r9, qword [rdi]
mov rcx, qword [rsi + 8]
lea rdx, str.open
mov r8, rbx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbp
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140007f3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x140007f5a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14000a1a0
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400098a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x14001b748]
test rcx, rcx
jne 0x1400097f7
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x1400097f0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140009822
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
jmp 0x14000977c

Function at 0x14000bcb0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000bb20

Function at 0x14000c29f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001a360]
jne 0x14000a1ba
rol rcx, 0x10
test cx, 0xffff
jne 0x14000a1b6
repz ret
ror rcx, 0x10
jmp 0x14000c1f8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14001bfb0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14001c0a8]
mov qword [rsp + 0x58], rax
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 0x14000c27d
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, [0x14001bfb0]
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 0x14000c29f
mov rax, qword [rsp + 0x88]
mov qword [0x14001c0a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14001c048], rax
mov rax, qword [0x14001c0a8]
mov qword [0x14001bf20], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14001c030], rax
mov dword [0x14001bf10], 0xc0000409
mov dword [0x14001bf14], 1
mov rax, qword [0x14001a360]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001a368]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14001bfa8], eax
mov ecx, 1
call fcn.140010770
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140015bd8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14001bfa8], 0
jne 0x14000c326
mov ecx, 1
call fcn.140010770
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 0x140010484
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14001a360]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000e14c
xor ebx, ebx
cmp qword [0x14001c9a0], rbx
mov rdi, rax
jne 0x140010597
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14001066e
lea rdx, [0x140016a88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001066e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x140016a78]
mov rcx, rsi
mov qword [0x14001c9a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14001c9a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14001c9b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14001c9c0], rax
test rax, rax
je 0x14001058e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14001c9b8], rax
jmp 0x14001059e
mov rax, qword [0x14001c9b8]
jmp 0x1400105a5
mov rax, qword [0x14001c9b8]
mov r11, qword [0x14001c9c0]
cmp rax, rdi
je 0x14001060c
cmp r11, rdi
je 0x14001060c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14001c9c0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14001060c
test rax, rax
je 0x14001060c
call rsi
test rax, rax
je 0x140010606
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140010606
test byte [rsp + 0x40], 1
jne 0x14001060c
bts ebp, 0x15
jmp 0x14001064c
mov rcx, qword [0x14001c9a8]
cmp rcx, rdi
je 0x14001064c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001064c
call rax
mov rbx, rax
test rax, rax
je 0x14001064c
mov rcx, qword [0x14001c9b0]
cmp rcx, rdi
je 0x14001064c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001064c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14001c9a0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14001066e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140010670
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000a1a0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1409ce058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409ce1df
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 0x1409ce089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ce06f
add dl, dl
jne 0x1409ce096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ce0f6
xor eax, eax
add dl, dl
jne 0x1409ce0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409ce1ad
add dl, dl
jne 0x1409ce0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ce0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ce0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ce0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409ce0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409ce07e
mov eax, 1
add dl, dl
jne 0x1409ce106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409ce113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ce0fb
sub eax, ebx
mov ebx, 1
jne 0x1409ce14c
mov ecx, 1
add dl, dl
jne 0x1409ce12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409ce13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ce123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ce07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409ce168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409ce175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409ce15d
cmp eax, 0x7d00
jae 0x1409ce19b
cmp eax, 0x500
jb 0x1409ce196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ce07e
cmp eax, 0x7f
ja 0x1409ce19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409ce07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409ce1d2
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 0x1409ce07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20