joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000270c
Capabilities:
Get common file path
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x250
mov rax, qword [0x140064270]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x32]
xor r14d, r14d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], r14w
call fcn.140010930
mov edi, 0x104
lea rcx, [rsp + 0x30]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, r14d
je 0x140002855
lea r8, str.kernel32.dll
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.140010b08
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r13b, r14b
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x24], r14d
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x20], eax
cmp eax, r14d
je 0x140002855
mov ecx, eax
call fcn.1400104f8
mov r8d, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, r14d
je 0x14000280a
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, [0x140058628]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
cmp eax, r14d
je 0x14000280a
mov rax, qword [rsp + 0x28]
mov r13b, 1
movzx esi, word [rax + 0xa]
movzx ebp, word [rax + 8]
movzx r12d, word [rax + 0xe]
jmp 0x14000281a
mov r12w, word [rsp + 0x2c]
mov bp, word [rsp + 0x2a]
mov si, word [rsp + 0x28]
cmp rdi, r14
je 0x140002827
mov rcx, rdi
call fcn.1400102e4
cmp r13b, r14b
je 0x140002855
movzx ecx, si
mov dword [rbx], 0x114
mov dword [rbx + 0x10], 2
mov dword [rbx + 4], ecx
movzx ecx, bp
mov word [rbx + 0x14], r14w
mov dword [rbx + 8], ecx
movzx ecx, r12w
mov al, 1
mov dword [rbx + 0xc], ecx
jmp 0x140002857
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000fd20
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140002918
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x7b0
mov rax, qword [0x140064270]
xor rax, rsp
mov qword [rsp + 0x7a0], rax
lea rax, [rsp + 0x68]
mov r12, rcx
lea rdx, str.SystemCurrentControlSetControlKeyboard_Layouts
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002b75
and qword [rsp + 0x58], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
and dword [rsp + 0x60], eax
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x68]
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140002b6a
mov eax, dword [rsp + 0x60]
mov ecx, 0xfa
cmp eax, ecx
cmova eax, ecx
xor esi, esi
xor ebx, ebx
mov dword [rsp + 0x60], eax
test eax, eax
jle 0x140002a75
lea rdi, [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x480]
mov edx, ebx
mov dword [rsp + 0x70], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140002a39
cmp eax, 0xea
jne 0x140002a69
lea r8, [rsp + 0x64]
lea rdx, [0x140058740]
lea rcx, [rsp + 0x480]
call fcn.140010ad0
test eax, eax
je 0x140002a69
mov ecx, dword [rsp + 0x64]
cmp cx, 0x804
jne 0x140002a69
mov dword [rdi], ecx
inc esi
add rdi, 4
inc ebx
cmp ebx, dword [rsp + 0x60]
jl 0x1400029ed
movsxd rsi, esi
xor ebx, ebx
xor edi, edi
test rsi, rsi
jle 0x140002b6a
mov r9d, dword [rsp + rdi*4 + 0x90]
lea r8, str._08x
lea rcx, [rsp + 0x480]
mov edx, 0xc8
call fcn.14000fd9c
mov rcx, qword [rsp + 0x68]
lea r11, [rsp + 0x78]
lea rdx, [rsp + 0x480]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002b5e
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x64]
lea rdx, [0x140057aa0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x610]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x64], 0x190
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002b53
lea r8d, [rax + 4]
lea rdx, str.imsc
lea rcx, [rsp + 0x610]
call fcn.140010450
test eax, eax
jne 0x140002b44
mov ecx, dword [rsp + rdi*4 + 0x90]
lea r8, str.default_user
xor r9d, r9d
mov rdx, r12
call fcn.1400023dc
cmp ebx, dword [rsp + rdi*4 + 0x90]
cmovb ebx, dword [rsp + rdi*4 + 0x90]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, rsi
jl 0x140002a85
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x7a0]
xor rcx, rsp
call fcn.14000fd20
lea r11, [rsp + 0x7b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x140002ba4
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x370
mov rax, qword [0x140064270]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rdi, rcx
xor ebp, ebp
lea rcx, [r11 - 0x226]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x20], rbp
mov word [rsp + 0x150], bp
call fcn.140010930
lea r8d, [rbp + 0x28]
lea rdx, [rsp + 0x150]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebp
je 0x140002d50
lea edx, [rbp + 0x5c]
lea rcx, [rsp + 0x150]
call fcn.1400108f0
mov rbx, rax
cmp rax, rbp
je 0x140002d50
lea rcx, [rsp + 0x34]
xor edx, edx
mov r8d, 0x110
mov dword [rsp + 0x30], 0x114
call fcn.140010930
lea rcx, [rsp + 0x30]
call fcn.14000270c
cmp al, bpl
je 0x140002c65
cmp dword [rsp + 0x34], 5
lea r8, str.default
ja 0x140002c6c
lea r8, str.Default_User
lea rcx, [rsp + 0x150]
lea rax, [rbx + 2]
mov esi, 0x104
sub rax, rcx
mov rdx, rsi
lea rcx, [rbx + 2]
sar rax, 1
sub rdx, rax
call fcn.140010c78
lea r8, str.NTUSER.DAT
lea rcx, [rsp + 0x150]
mov rdx, rsi
call fcn.140010b08
lea rcx, str.SeRestorePrivilege
mov dl, 1
call fcn.140002884
lea rcx, str.SeBackupPrivilege
mov dl, 1
call fcn.140002884
lea rbx, str.default_user
mov rsi, 0xffffffff80000003
lea r8, [rsp + 0x150]
mov rcx, rsi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
cmp eax, ebp
jne 0x140002d50
lea r8, [rsp + 0x20]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, ebp
jne 0x140002d28
mov rdx, qword [rsp + 0x20]
xor r9d, r9d
mov r8, rbx
mov rcx, rdi
call fcn.1400023dc
mov rcx, qword [rsp + 0x20]
call fcn.140002918
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
lea rcx, str.SeRestorePrivilege
xor edx, edx
call fcn.140002884
lea rcx, str.SeBackupPrivilege
xor edx, edx
call fcn.140002884
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14000fd20
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140002d7c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x4f0
mov rax, qword [0x140064270]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rdi, rcx
mov rbp, rdx
xor r12d, r12d
lea rcx, [r11 - 0x426]
xor edx, edx
mov r8d, 0x3fe
mov esi, r12d
mov word [r11 - 0x428], r12w
call fcn.140010930
lea r8d, [r12 + 0x7e]
lea rcx, [rsp + 0x62]
xor edx, edx
mov dword [rsp + 0x44], 0x200
mov word [rsp + 0x60], r12w
call fcn.140010930
xor edx, edx
jmp 0x140002f27
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov r8d, 0x10
mov qword [rsp + 0x50], r12
call fcn.1400102b0
mov ebx, eax
mov dword [rsp + 0x58], eax
cmp eax, r12d
je 0x140002ee7
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xe0]
mov r8d, 0xa
mov qword [rsp + 0x50], r12
call fcn.1400102b0
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x40]
mov r11d, eax
mov dword [rsp + 0x48], eax
mov rcx, r12
cmp rdx, r8
je 0x140002e6a
cmp rcx, r12
jne 0x140002e74
cmp eax, dword [rdx]
jl 0x140002e64
jne 0x140002e5e
mov rcx, rdx
jmp 0x140002e49
mov rdx, qword [rdx + 0x18]
jmp 0x140002e49
mov rdx, qword [rdx + 0x10]
jmp 0x140002e49
cmp rcx, r12
je 0x140002ed5
cmp rcx, r12
je 0x140002ed5
mov rax, qword [rcx + 0x10]
cmp rax, r8
je 0x140002e9a
cmp rax, r12
je 0x140002e95
cmp rax, r8
je 0x140002e95
mov rdx, qword [rax + 0x18]
cmp rdx, r8
je 0x140002ebc
mov rax, rdx
jmp 0x140002e87
mov rax, r12
jmp 0x140002ebc
mov rax, qword [rcx + 0x20]
mov rdx, rcx
cmp rax, r8
je 0x140002eb8
cmp rdx, qword [rax + 0x10]
jne 0x140002eb5
mov rdx, rax
mov rax, qword [rax + 0x20]
jmp 0x140002ea1
cmp rax, r8
cmove rax, r12
cmp rax, r12
je 0x140002ecb
cmp r11d, dword [rax]
jne 0x140002ecb
mov rcx, rax
jmp 0x140002e6f
cmp rcx, r12
je 0x140002ed5
mov dword [rcx + 4], ebx
jmp 0x140002ee7
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140003634
lea rcx, [rsp + 0xe2]
xor edx, edx
mov r8d, 0x3fe
inc esi
mov word [rsp + 0xe0], r12w
call fcn.140010930
xor edx, edx
lea rcx, [rsp + 0x62]
mov dword [rsp + 0x44], 0x200
lea r8d, [rdx + 0x7e]
mov word [rsp + 0x60], r12w
call fcn.140010930
mov edx, esi
mov rbx, qword [rbp]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
lea r8, [rsp + 0xe0]
mov qword [rsp + 0x30], rax
mov rcx, rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x40], 0x40
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, r12d
je 0x140002df2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.14000fd20
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x14000f910
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx], 0
mov rdi, r8
mov ebx, edx
je 0x14000f936
mov ecx, dword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000f936
cmp ebx, dword [rax]
jb 0x14000f943
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rax + 8]
mov rcx, qword [rax + rbx*8]
mov rbx, qword [rsp + 0x30]
mov al, 1
mov qword [rdi], rcx
add rsp, 0x20
pop rdi
ret

Function at 0x14000f960
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx], 0
mov rdi, r8
mov ebx, edx
je 0x14000f986
mov ecx, dword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000f986
cmp ebx, dword [rax]
jb 0x14000f993
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rax + 8]
mov qword [rax + rbx*8], rdi
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x14000f9b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx], 0
mov rbx, rdx
mov rdi, rcx
jne 0x14000f9d2
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test rdx, rdx
je 0x14000f9ec
mov ecx, dword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [rdi + 0x10]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000fb00
Capabilities:
Create thread
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140066eb8], 0
mov rdi, r8
mov ebp, edx
mov rsi, rcx
je 0x14000fb92
mov ecx, 0x18
mov qword [rsp + 0x30], rbx
call fcn.1400104f8
mov rbx, rax
mov qword [rax], rsi
mov qword [rax + 8], rdi
cmp dword [0x140066eb8], 0
jne 0x14000fb46
xor eax, eax
jmp 0x14000fb52
mov ecx, dword [0x140066ec8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14000fb86
lock add dword [rax + 4], 1
lea rcx, [0x14000fa10]
mov r8, rbx
mov edx, ebp
call fcn.1400122bc
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1400102e4
xor eax, eax
jmp 0x14000fb71
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400122bc
Function at 0x1400122bc
Capabilities:
Create thread
Resume thread

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, 0x30
xor ebx, ebx
mov rbp, r8
mov r12d, edx
mov rsi, rcx
test rcx, rcx
jne 0x140012309
call fcn.140012938
and qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], 0x16
call fcn.14001183c
jmp 0x140012390
call fcn.140014ea8
mov edx, 0x2c8
mov ecx, 1
call fcn.140018dc8
mov rdi, rax
test rax, rax
je 0x14001237d
call fcn.140015014
mov rcx, rdi
mov rdx, qword [rax + 0xc0]
call fcn.140014edc
lea r8, [0x140012224]
mov rdx, r12
mov r9, rdi
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0x98], rbp
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
mov qword [rdi + 8], rax
test rax, rax
jne 0x1400123af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.1400102e4
test ebx, ebx
je 0x140012390
mov ecx, ebx
call fcn.140012978
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x140012375
mov rax, rbx
jmp 0x140012394

Function at 0x140015adb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140064270]
jne 0x14000fd3a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000fd36
repz ret
ror rcx, 0x10
jmp 0x140015a34
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140067d00]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140067df8]
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 0x140015ab9
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, [0x140067d00]
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 0x140015adb
mov rax, qword [rsp + 0x88]
mov qword [0x140067df8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140067d98], rax
mov rax, qword [0x140067df8]
mov qword [0x140067c70], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140067d80], rax
mov dword [0x140067c60], 0xc0000409
mov dword [0x140067c64], 1
mov rax, qword [0x140064270]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140064278]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140067cf8], eax
mov ecx, 1
call fcn.140018fa4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400488a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140067cf8], 0
jne 0x140015b62
mov ecx, 1
call fcn.140018fa4
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 0x1400171ac
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14001b55c
nop
cmp dword [0x140068280], 1
je 0x140017158
mov dword [0x14006827c], 1
mov byte [0x140068278], r12b
test ebx, ebx
jne 0x140017144
mov rcx, qword [0x140073690]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140017131
mov rcx, qword [0x140073688]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400170d0
call fcn.140014e84
cmp qword [rdi], rax
jne 0x1400170d0
jmp 0x1400170b6
cmp rdi, rsi
jb 0x140017131
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140014e84
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140073690]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140073688]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14001710f
cmp r13, rax
je 0x14001712f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400170b6
lea rdx, [0x140048630]
lea rcx, [0x140048618]
call fcn.140016f00
lea rdx, [0x140048640]
lea rcx, [0x140048638]
call fcn.140016f00
nop
test r12d, r12d
je 0x140017167
mov ecx, 8
call fcn.14001b45c
test r12d, r12d
jne 0x140017192
mov dword [0x140068280], 1
lea ecx, [r12 + 8]
call fcn.14001b45c
mov ecx, r15d
call fcn.140016e94
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140017020

Function at 0x1400171b8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140017020
Function at 0x140021844
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140014e84
xor ebx, ebx
mov rdi, rax
cmp qword [0x140068b10], rbx
jne 0x14002194a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140021a1f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140021a1f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140068b10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140068b18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140068b20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140068b30], rax
test rax, rax
je 0x140021941
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140068b28], rax
jmp 0x140021951
mov rax, qword [0x140068b28]
jmp 0x140021958
mov rax, qword [0x140068b28]
mov r11, qword [0x140068b30]
cmp rax, rdi
je 0x1400219c0
cmp r11, rdi
je 0x1400219c0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140068b30]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400219c0
test rax, rax
je 0x1400219c0
call rsi
test rax, rax
je 0x1400219ba
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400219ba
test byte [rsp + 0x38], 1
jne 0x1400219c0
bts ebp, 0x15
jmp 0x1400219fe
mov rcx, qword [0x140068b18]
cmp rcx, rdi
je 0x1400219fe
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400219fe
call rax
mov rbx, rax
test rax, rax
je 0x1400219fe
mov rcx, qword [0x140068b20]
cmp rcx, rdi
je 0x1400219fe
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400219fe
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140068b10]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140021a1f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140021a21
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140035170
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x1400351bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400351bd
xor eax, eax
jmp 0x1400351c1
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x1400351d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140035263
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
call fcn.14003cdb0
mov rbx, rax
mov rcx, qword [rsp + 0x58]
call fcn.14003bc30
lea rdx, [0x140052978]
mov rcx, rax
call fcn.14003ba10
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x140035280
cmp qword [rsp + 0x70], 0
je 0x140035276
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x30]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x58]
call fcn.1400010b0
add rsp, 0x40
pop rbx
ret

Function at 0x140035290
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp qword [rsp + 0x68], 0
jne 0x1400352db
cmp qword [rsp + 0x70], 0
je 0x1400352cc
mov rax, qword [rsp + 0x70]
mov dword [rax], 0
mov rcx, qword [rsp + 0x58]
call fcn.1400010b0
jmp 0x1400353a8
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14003534d
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
call fcn.14003cdd0
mov rbx, rax
mov rcx, qword [rsp + 0x58]
call fcn.14003bc30
lea rdx, [0x140052948]
mov rcx, rax
call fcn.14003ba10
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x1400353a8
cmp qword [rsp + 0x70], 0
je 0x140035360
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x30]
mov dword [rcx], eax
cmp dword [rsp + 0x30], 0
jne 0x14003539e
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
call fcn.14003cdd0
mov rbx, rax
lea rdx, [0x140052958]
mov rcx, qword [rsp + 0x58]
call fcn.1400010b4
mov rdx, rbx
mov rcx, rax
call fcn.14003ba10
mov rcx, rax
call fcn.140004608
jmp 0x1400353a8
mov rcx, qword [rsp + 0x58]
call fcn.1400010b0
add rsp, 0x40
pop rbx
ret