joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f138
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14000f264
test rbx, rbx
je 0x14000f264
lea rdi, [rcx + 4]
lea rcx, [rax - 0x50]
mov r8d, 0x10
mov rdx, rdi
mov qword [rsp + 0x20], rdi
call fcn.140020900
shr rbx, 4
mov qword [rsp + 0x88], rbx
test rbx, rbx
je 0x14000f248
mov r13d, dword [rsp + 0x34]
mov r14d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x2c]
mov edi, dword [rsp + 0x28]
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, rbp
call fcn.14000e8d8
mov r11d, dword [rsp + 0x38]
mov r9d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
xor r11d, edi
mov edi, dword [rsi]
xor r9d, r15d
mov r15d, dword [rsi + 4]
xor edx, r14d
mov r14d, dword [rsi + 8]
xor eax, r13d
mov r13d, dword [rsi + 0xc]
mov dword [r12], r11d
mov dword [r12 + 4], r9d
mov dword [r12 + 8], edx
mov dword [r12 + 0xc], eax
add rsi, 0x10
add r12, 0x10
sub rbx, 1
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x2c], r15d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], eax
jne 0x14000f1b5
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov r8d, 0x10
mov rcx, rdi
call fcn.140020900
shl rbx, 4
mov rax, rbx
jmp 0x14000f266
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14000f3dc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rsp + 0x50]
mov rax, r8
mov rcx, r9
cmp rax, rbx
mov r8, rbx
mov rdi, r9
cmovb r8, rax
add r8, r8
call fcn.140020900
mov r8b, byte [rsp + 0x58]
lea rdx, [rbx + rbx]
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14000f284

Function at 0x14000f5e8
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x170
xor ebp, ebp
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp qword [0x1400340f8], rbp
jne 0x14000f652
lea r9d, [rbp + 0x64]
lea r8, [rax - 0xd8]
lea edx, [rbp + 0xf]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx r11d, word [rsp + 0xa0]
lea rax, [0x140051934]
mov word [0x140051934], r11w
mov word [0x140051936], bp
mov qword [0x1400340f8], rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140014254
lea r9, [0x1400340e0]
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x400
mov dword [rsp + 0x28], edi
mov word [rbx], bp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea r11, [rsp + 0x170]
mov word [rbx + rdi*2 - 2], bp
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000f6d4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rcx, [rsp + 0x48]
mov ebx, edx
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x40]
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x40]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140010028
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
mov eax, 0x2020
call fcn.14002ac70
sub rsp, rax
xor r12d, r12d
mov rsi, r8
mov rbx, rcx
cmp r9, r12
je 0x14001005b
mov byte [r9], r12b
mov rcx, qword [rsp + 0x2050]
cmp rcx, r12
je 0x14001006b
mov byte [rcx], r12b
cmp rbx, r12
je 0x140010122
movzx eax, word [rbx]
cmp ax, r12w
je 0x140010122
movsxd rbp, dword [rsp + 0x2058]
mov rdi, r12
mov r8d, r12d
add rbx, 2
cmp ax, 0x3d
jne 0x1400100b1
cmp rsi, r12
je 0x1400100bd
cmp rdi, r12
jne 0x1400100bd
cmp r9, r12
je 0x1400100ac
mov byte [r9], 1
mov rdi, rdx
jmp 0x1400100cc
cmp ax, 0xd
je 0x1400100df
cmp ax, 0xa
je 0x1400100e3
mov word [rdx], ax
lea eax, [rbp - 2]
add rdx, 2
cmp r8d, eax
jg 0x1400100da
mov ax, word [rbx]
inc r8d
cmp ax, r12w
jne 0x14001008f
jmp 0x1400100e3
mov byte [rcx], 1
jmp 0x1400100e3
add rbx, 2
mov word [rdx], r12w
cmp rsi, r12
je 0x14001011d
mov word [rsi], r12w
cmp rdi, r12
je 0x14001011d
lea rdx, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rsp + 0x20]
mov r8, rbp
mov rcx, rsi
call fcn.1400141cc
mov word [rdi], r12w
mov rax, rbx
jmp 0x140010124
xor eax, eax
lea r11, [rsp + 0x2020]
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 0x140010144
Capabilities:
Delete file

Disassembly:
push rbx
mov eax, 0x1060
call fcn.14002ac70
sub rsp, rax
lea rcx, [rsp + 0x60]
mov edx, 0x800
call fcn.14001fbcc
xor ebx, ebx
cmp byte [0x140046061], bl
jne 0x1400101dd
lea rcx, [rsp + 0x60]
call fcn.14000be04
mov rdx, qword [str.RarSFX]
lea r8d, [rbx + 6]
mov rcx, rax
call fcn.140015220
cmp eax, ebx
jne 0x1400101dd
lea rcx, [0x14002cf40]
call fcn.14001fbb4
lea rcx, [rsp + 0x60]
call fcn.1400204bc
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x20]
xor edx, edx
mov word [rsp + rax*2 + 0x62], bx
call fcn.140020540
lea eax, [rbx + 0x14]
lea rcx, [rsp + 0x20]
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
add rsp, 0x1060
pop rbx
ret
Function at 0x140010304
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
and dword [0x140046044], 0
mov edx, 1
mov rbx, rcx
mov byte [0x140046041], 1
mov byte [0x140046040], 1
call qword [sym.imp.USER32.dll_ShowWindow]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 2]
call fcn.140006d00
cmp qword [0x140046080], 0
jne 0x14001034f
cmp byte [0x140046060], 0
je 0x140010358
cmp dword [0x140046048], 0
jne 0x14001036d
xor r9d, r9d
mov edx, 0x111
mov rcx, rbx
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x20
pop rbx
ret

Function at 0x1400103c4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1050
call fcn.14002ac70
sub rsp, rax
xor edi, edi
mov rbx, rcx
cmp byte [0x1400460a8], dil
je 0x14001048d
cmp word [0x14003d020], di
je 0x14001048d
lea rdx, [rsp + 0x50]
lea rcx, [0x14003d020]
call fcn.140010374
lea r11, [rsp + 0x1068]
lea rax, [rsp + 0x1070]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rdx, str.SoftwareWinRAR_SFX
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x14001048d
mov rcx, rbx
call fcn.1400204bc
lea r9d, [rdi + 1]
lea rdx, [rsp + 0x50]
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x1070]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x1070]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1050
pop rdi
ret

Function at 0x1400104a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x2040
call fcn.14002ac70
sub rsp, rax
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp byte [0x1400460a8], sil
je 0x140010588
lea rdx, [rsp + 0x1040]
call fcn.140010374
lea r11, [rsp + 0x30]
lea r9d, [rsi + 1]
lea rdx, str.SoftwareWinRAR_SFX
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x140010588
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x2060]
lea r9, [rsp + 0x2068]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x1040]
xor r8d, r8d
mov dword [rsp + 0x2060], 0x1000
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x14001057d
mov edx, dword [rsp + 0x2060]
mov ecx, 0x7ff
mov r8, rdi
shr edx, 1
cmp edx, ecx
mov eax, edx
mov dword [rsp + 0x2060], edx
cmovb rcx, rax
lea rdx, [rsp + 0x40]
mov word [rsp + rcx*2 + 0x40], si
mov rcx, rbx
call fcn.1400141cc
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x2040]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140011438
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
cmp byte [0x140046036], 0
mov qword [0x140046038], rsi
mov dword [0x140046030], edi
je 0x14001146d
mov eax, 1
jmp 0x1400114a4
cmp byte [0x140046037], 0
je 0x14001147d
mov eax, 2
jmp 0x1400114a4
mov r8, qword [0x140046058]
mov rcx, qword [0x140037d78]
lea r9, [0x14001092c]
lea rdx, str.REPLACEFILEDLG
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
sub rax, 1
je 0x14001151d
sub rax, 1
je 0x14001153a
sub rax, 1
je 0x140011516
sub rax, 1
jne 0x1400114f4
mov r8, qword [0x140046058]
mov rcx, qword [0x140037d78]
lea r9, [0x14000fbb0]
lea rdx, str.RENAMEDLG
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test rax, rax
je 0x140011450
mov al, 0x52
jmp 0x14001152a
sub rax, 1
je 0x14001150b
sub rax, 1
mov al, 0x4e
jne 0x14001152a
mov byte [0x140046037], 1
jmp 0x14001152a
mov byte [0x140046042], 1
mov al, 0x43
jmp 0x14001152a
mov byte [0x140046036], 1
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 0x59
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov al, 0x4e
jmp 0x14001152a
Function at 0x1400139f0
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x140013c5c
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x140013ffc
Capabilities:
Hash data using sha256

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, 0x140
mov rsi, qword [rcx + 0x20]
mov edi, dword [rcx + 0x20]
lea rbp, [rcx + 0x30]
shl rsi, 3
and edi, 0x3f
mov qword [rcx + 0x28], rbp
mov r12, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x30], 0x80
jmp 0x14001404d
and edi, 0x3f
jne 0x140014048
mov rcx, rbx
call fcn.140013c9c
mov byte [rdi + rbx + 0x30], 0
inc edi
cmp edi, 0x38
jne 0x14001403b
movsxd rax, edi
lea edx, [rdi - 0x30]
lea rcx, [rax + rbx + 0x30]
mov rax, rsi
shl rsi, 8
shr rax, 0x38
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14001405f
mov rcx, rbx
call fcn.140013c9c
xor r11d, r11d
xor r8d, r8d
mov eax, r11d
mov ecx, 3
inc r11d
and eax, 3
sub ecx, eax
mov rax, r8
inc r8
shr rax, 2
shl ecx, 3
mov edx, dword [rbx + rax*4]
shr edx, cl
mov byte [r12], dl
inc r12
cmp r11d, 0x20
jb 0x140014083
and qword [rbx + 0x20], 0
lea rcx, [rsp + 0x20]
mov edx, 0x20
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call fcn.14000f3c4
lea rcx, [rsp + 0x40]
mov edx, 0x100
call fcn.14000f3c4
mov edx, 0x40
mov rcx, rbp
lea r11, [rsp + 0x140]
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
jmp fcn.14000f3c4
Function at 0x140014950
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
sub rsp, 0x30
mov r8d, 0x20
mov rbx, rcx
mov dword [rcx], edx
cmp edx, r8d
jbe 0x140014975
mov dword [rcx], r8d
cmp dword [rcx], 0
jne 0x140014980
mov dword [rcx], 1
cmp dword [rcx], r8d
jbe 0x140014988
mov dword [rcx], r8d
mov byte [rcx + 0x318], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor r9d, r9d
xor ecx, ecx
lea edx, [r9 + 1]
mov qword [rbx + 0x320], rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rcx, [rbx + 0x330]
mov qword [rbx + 0x328], rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp qword [rbx + 0x320], 0
lea r13, [0x140037d88]
je 0x1400149e4
cmp qword [rbx + 0x328], 0
jne 0x140014a00
lea rdx, str._nThread_pool_initialization_failed.
mov rcx, r13
call fcn.140007210
mov edx, 2
mov rcx, r13
call fcn.140007348
xor edi, edi
cmp dword [rbx], edi
jbe 0x140014a7a
lea rsi, [rbx + 8]
lea rax, [rsp + 0x58]
lea r8, [0x140014900]
mov r9, rbx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
jne 0x140014a5a
lea rdx, str.CreateThread_failed
mov rcx, r13
call fcn.140007210
mov rcx, r13
call fcn.14000a464
lea edx, [rbp + 2]
mov rcx, r13
call fcn.140007348
mov qword [rsi], rbp
mov edx, dword [0x140053fb4]
test edx, edx
je 0x140014a70
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
add rsi, 8
cmp edi, dword [rbx]
jb 0x140014a0a
and dword [rbx + 0x310], 0
and dword [rbx + 0x314], 0
and dword [rbx + 0x108], 0
mov rbp, qword [rsp + 0x60]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r13
pop rdi
pop rsi
ret
Function at 0x14001ed38
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
xor ebx, ebx
mov rbp, rdx
mov rdi, rcx
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov rax, qword [rdi]
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [rax + 0x90]
cmp eax, ebx
jl 0x14001ed80
cmp qword [rsp + 0x80], rbx
jne 0x14001edd5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x2710
ja 0x14001edd5
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, ebx
je 0x14001ed5e
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14001ed5e
mov rax, qword [rdi]
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [rax + 0x90]
cmp eax, ebx
mov edi, eax
jl 0x14001ee54
mov rcx, qword [rsp + 0x80]
lea r8, [rsp + 0x90]
lea rdx, [0x14002dd80]
mov rax, qword [rcx]
call qword [rax]
cmp eax, ebx
mov edi, eax
jl 0x14001ee46
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp eax, ebx
mov edi, eax
jl 0x14001ee38
mov rcx, qword [rsp + 0x90]
mov rdx, rbp
mov rax, qword [rcx]
call qword [rax + 0x28]
mov edi, eax
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
cmp edi, ebx
mov rbx, qword [rsp + 0x88]
setge al
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001efe4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
jmp 0x14001f063
mov rcx, qword [rdi + 0x18]
lea rdx, [rsp + 0x90]
mov r8, qword [rcx]
call qword [r8 + 0x1c0]
cmp dword [rsp + 0x90], 4
je 0x14001f072
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14001f063
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x2710
jbe 0x14001effe
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x18]
and qword [rsp + 0x20], 0
mov r11d, 3
mov dword [rsp + 0x38], 0x96
lea r9, [rsp + 0x30]
mov word [rsp + 0x30], r11w
mov rax, qword [rcx]
lea edx, [r11 + 0x3c]
lea r8d, [r11 - 1]
call qword [rax + 0x1b0]
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret

Function at 0x14001fbb4
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor ecx, ecx
cmp eax, ecx
setne al
add rsp, 0x28
ret
Function at 0x14001fbcc
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor ecx, ecx
cmp eax, ecx
setne al
add rsp, 0x28
ret

Function at 0x140024f00
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.140027838
nop
cmp dword [0x1400542d8], 1
je 0x140024eac
mov dword [0x1400542d4], 1
mov byte [0x1400542d0], r12b
test ebx, ebx
jne 0x140024e98
mov rcx, qword [0x140056330]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140024e85
mov rcx, qword [0x140056328]
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 0x140024e24
call fcn.140021f88
cmp qword [rdi], rax
jne 0x140024e24
jmp 0x140024e0a
cmp rdi, rsi
jb 0x140024e85
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140021f88
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140056330]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140056328]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140024e63
cmp r13, rax
je 0x140024e83
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 0x140024e0a
lea rdx, [0x14002c7e0]
lea rcx, [0x14002c7c8]
call fcn.140024c54
lea rdx, [0x14002c7f0]
lea rcx, [0x14002c7e8]
call fcn.140024c54
nop
test r12d, r12d
je 0x140024ebb
mov ecx, 8
call fcn.140027738
test r12d, r12d
jne 0x140024ee6
mov dword [0x1400542d8], 1
lea ecx, [r12 + 8]
call fcn.140027738
mov ecx, r15d
call fcn.140024be8
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 0x140024d74

Function at 0x140024f0c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140024d74
Function at 0x140028ff4
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.140021f88
xor ebx, ebx
mov rdi, rax
cmp qword [0x140054a70], rbx
jne 0x1400290fa
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400291cf
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400291cf
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140054a70], 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 [0x140054a78], 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 [0x140054a80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140054a90], rax
test rax, rax
je 0x1400290f1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140054a88], rax
jmp 0x140029101
mov rax, qword [0x140054a88]
jmp 0x140029108
mov rax, qword [0x140054a88]
mov r11, qword [0x140054a90]
cmp rax, rdi
je 0x140029170
cmp r11, rdi
je 0x140029170
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140054a90]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140029170
test rax, rax
je 0x140029170
call rsi
test rax, rax
je 0x14002916a
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 0x14002916a
test byte [rsp + 0x38], 1
jne 0x140029170
bts ebp, 0x15
jmp 0x1400291ae
mov rcx, qword [0x140054a78]
cmp rcx, rdi
je 0x1400291ae
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400291ae
call rax
mov rbx, rax
test rax, rax
je 0x1400291ae
mov rcx, qword [0x140054a80]
cmp rcx, rdi
je 0x1400291ae
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400291ae
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140054a70]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400291cf
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400291d1
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 0x14002a447
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400353f0]
jne 0x1400289da
rol rcx, 0x10
test cx, 0xffff
jne 0x1400289d6
repz ret
ror rcx, 0x10
jmp 0x14002a3a0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140054b50]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140054c48]
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 0x14002a425
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, [0x140054b50]
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 0x14002a447
mov rax, qword [rsp + 0x88]
mov qword [0x140054c48], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140054be8], rax
mov rax, qword [0x140054c48]
mov qword [0x140054ac0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140054bd0], rax
mov dword [0x140054ab0], 0xc0000409
mov dword [0x140054ab4], 1
mov rax, qword [0x1400353f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400353f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140054b48], eax
mov ecx, 1
call fcn.140028568
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14002faf8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140054b48], 0
jne 0x14002a4ce
mov ecx, 1
call fcn.140028568
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 0x1400114dd
Capabilities:
Terminate process

Disassembly:
jmp 0x140027ad0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
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, 0x28
ret