joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002493c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140030e40
sub rsp, rax
mov rax, qword [0x140041010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140023318
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002498b
mov rax, rbp
jmp 0x140024a93
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x429f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140024580
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x429f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140024a8f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140024a8f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140024580
test rax, rax
js 0x140024a8f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140024a8f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140024a81
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140024a81
cmp byte [rcx], 0xd
jne 0x140024a67
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140024a76
cmp byte [rcx + 1], 0xa
jne 0x140024a76
inc rcx
jmp 0x140024a76
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x41500]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140024a49
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140024a93
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400138e0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140026590
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14002656d
call fcn.140021c2c
mov dword [rax], 0x16
call fcn.140021af0
or eax, 0xffffffff
jmp 0x14002658a
sub dword [rcx + 0x10], 1
jns 0x14002657c
add rsp, 0x28
jmp fcn.1400283b4
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14002654c
Function at 0x1400279a0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400429f0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400279fe
cmp word [rdx], r12w
jne 0x1400279fe
or byte [rax + r8*8 + 0x38], cl
jmp 0x140027a04
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x140027b5f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140027b3a
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140027a3d
mov rcx, r9
jmp 0x140027a60
cmp r9, rdx
jae 0x140027a77
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x140027a21
jmp 0x140027b5f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140027b34
cmp dword [rsp + 0x80], edi
je 0x140027b34
mov rdx, r14
lea r11, [0x1400429f0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140027b0d
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140027ae0
mov word [rbx], r12w
jmp 0x140027b5b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140027ae9
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140027b5b
cmp word [rsp + 0x70], r12w
jne 0x140027b1a
cmp rbx, rsi
je 0x140027ada
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140024588
cmp word [rsp + 0x70], r12w
je 0x140027b5f
mov word [rbx], r13w
jmp 0x140027b5b
lea r11, [0x1400429f0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140027b57
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140027b5f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400283b4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1400283e6
call fcn.140021c2c
mov dword [rax], 0x16
call fcn.140021af0
jmp 0x140028505
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140028505
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140028505
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140028415
lock or dword [rcx + 0x14], 0x10
jmp 0x140028505
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140028429
call fcn.14002dda8
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140023318
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140027e4c
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400284f3
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1400284be
mov rcx, rsi
call fcn.140023318
cmp eax, edi
je 0x1400284a9
mov rcx, rsi
call fcn.140023318
cmp eax, 0xfffffffe
je 0x1400284a9
mov rcx, rsi
call fcn.140023318
movsxd rbx, eax
lea r14, [0x1400429f0]
mov rcx, rsi
sar rbx, 6
call fcn.140023318
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400284b0
lea rdx, [0x1400412e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400284be
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400284e2
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400284e2
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400284e2
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140028508
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140029ef8
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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140029f28
xor eax, eax
jmp 0x140029feb
mov rbp, rbx
cmp word [rax], si
je 0x140029f4d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140029f34
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140029f30
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140029e48
movsxd r14, eax
test eax, eax
jne 0x140029f8b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140029f21
mov rcx, r14
call fcn.140024e30
mov rdi, rax
test rax, rax
jne 0x140029fa4
xor ecx, ecx
call fcn.140021cc4
jmp 0x140029f80
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140029e48
test eax, eax
jne 0x140029fd5
mov rcx, rdi
call fcn.140021cc4
jmp 0x140029fdf
xor ecx, ecx
call fcn.140021cc4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14002a008
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002a08f
mov rsi, rbx
cmp word [rax], bp
je 0x14002a04e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002a038
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002a034
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140024e30
mov rdi, rax
test rax, rax
je 0x14002a07c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400172f0
mov rbp, rdi
xor ecx, ecx
call fcn.140021cc4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002f3c4
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140024588
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140024588
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002f514
cmp rax, 0xffffffffffffffff
je 0x14002f514
xor edi, edi
test rbp, rbp
jle 0x14002f4bf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140021c4c
mov rbx, rax
test rax, rax
jne 0x14002f44c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002f4b5
mov edx, 0x8000
mov ecx, r14d
call fcn.140021408
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140023d1c
cmp eax, 0xffffffff
je 0x14002f495
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002f45c
mov edx, r15d
mov ecx, r14d
call fcn.140021408
jmp 0x14002f4b5
cmp byte [rsi + 0x38], dil
je 0x14002f4ac
cmp dword [rsi + 0x34], 5
jne 0x14002f4ac
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], InitCommonControls
cmp byte [rsi + 0x30], dil
je 0x14002f4b5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140021cc4
jmp 0x14002f528
jns 0x14002f528
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140024588
cmp rax, 0xffffffffffffffff
jne 0x14002f4e0
cmp byte [rsi + 0x30], dil
je 0x14002f528
mov edi, dword [rsi + 0x2c]
jmp 0x14002f528
mov ecx, r14d
call fcn.14002af5c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002f528
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, InitCommonControls
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], InitCommonControls
jmp 0x14002f528
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002f521
mov eax, dword [rsi + 0x2c]
jmp 0x14002f526
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140024588
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140030d80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140030da8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140030da8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001530
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140001543
xor eax, eax
test eax, eax
jne 0x140001543
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140001597
mov eax, dword [rsp + 0x38]
jmp 0x1400015a7
cmp dword [rsp + 0x30], 4
je 0x1400015a5
mov eax, 0xd
jmp 0x1400015a7
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400015b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x1400015c8
xor eax, eax
test eax, eax
jne 0x1400015c8
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shl rax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140001630
mov eax, dword [rsp + 0x38]
jmp 0x1400016b3
cmp dword [rsp + 0x30], 1
je 0x140001645
cmp dword [rsp + 0x30], 2
je 0x140001645
mov eax, 0xd
jmp 0x1400016b3
cmp qword [rsp + 0x60], 0
je 0x140001699
cmp dword [rsp + 0x34], 0
je 0x14000168f
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
test rdx, rdx
jne 0x140001686
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 2]
test eax, eax
je 0x14000168d
mov eax, 0xd
jmp 0x1400016b3
jmp 0x140001699
xor ecx, ecx
mov rax, qword [rsp + 0x60]
mov word [rax], cx
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400030f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140003108
xor eax, eax
test eax, eax
jne 0x140003108
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140003154
mov eax, dword [rsp + 0x34]
jmp 0x140003164
cmp dword [rsp + 0x30], 3
je 0x140003162
mov eax, 0xd
jmp 0x140003164
xor eax, eax
add rsp, 0x48
ret
Function at 0x14000937b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400430e0]
jne 0x140006e1a
rol rcx, 0x10
test cx, 0xffff
jne 0x140006e16
repz ret
ror rcx, 0x10
jmp 0x1400092d4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140044f90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140045088]
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 0x140009359
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, [0x140044f90]
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 0x14000937b
mov rax, qword [rsp + 0x88]
mov qword [0x140045088], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140045028], rax
mov rax, qword [0x140045088]
mov qword [0x140044f00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140045010], rax
mov dword [0x140044ef0], 0xc0000409
mov dword [0x140044ef4], 1
mov rax, qword [0x1400430e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400430e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140044f88], eax
mov ecx, 1
call fcn.14000f5c4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14002cfa8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140044f88], 0
jne 0x140009402
mov ecx, 1
call fcn.14000f5c4
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 0x14000cbd4
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.14000f2ac
nop
cmp dword [0x140045528], 1
je 0x14000cb80
mov dword [0x140045524], 1
mov byte [0x140045520], r12b
test ebx, ebx
jne 0x14000cb6c
mov rcx, qword [0x140047910]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000cb59
mov rcx, qword [0x140047908]
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 0x14000caf8
call fcn.14000a3d8
cmp qword [rdi], rax
jne 0x14000caf8
jmp 0x14000cade
cmp rdi, rsi
jb 0x14000cb59
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000a3d8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140047910]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140047908]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000cb37
cmp r13, rax
je 0x14000cb57
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 0x14000cade
lea rdx, [0x14002c5a0]
lea rcx, [0x14002c588]
call fcn.14000c928
lea rdx, [0x14002c5b0]
lea rcx, [0x14002c5a8]
call fcn.14000c928
nop
test r12d, r12d
je 0x14000cb8f
mov ecx, 8
call fcn.14000f1ac
test r12d, r12d
jne 0x14000cbba
mov dword [0x140045528], 1
lea ecx, [r12 + 8]
call fcn.14000f1ac
mov ecx, r15d
call fcn.14000c8bc
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 0x14000ca48

Function at 0x14000cbe0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000ca48
Function at 0x140010f58
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.14000a3d8
xor ebx, ebx
mov rdi, rax
cmp qword [0x140045d70], rbx
jne 0x14001105e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140011133
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140011133
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140045d70], 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 [0x140045d78], 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 [0x140045d80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140045d90], rax
test rax, rax
je 0x140011055
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140045d88], rax
jmp 0x140011065
mov rax, qword [0x140045d88]
jmp 0x14001106c
mov rax, qword [0x140045d88]
mov r11, qword [0x140045d90]
cmp rax, rdi
je 0x1400110d4
cmp r11, rdi
je 0x1400110d4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140045d90]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400110d4
test rax, rax
je 0x1400110d4
call rsi
test rax, rax
je 0x1400110ce
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400110ce
test byte [rsp + 0x38], 1
jne 0x1400110d4
bts ebp, 0x15
jmp 0x140011112
mov rcx, qword [0x140045d78]
cmp rcx, rdi
je 0x140011112
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140011112
call rax
mov rbx, rax
test rax, rax
je 0x140011112
mov rcx, qword [0x140045d80]
cmp rcx, rdi
je 0x140011112
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140011112
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140045d70]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140011133
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140011135
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 0x140019da0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140019de5
mov r9d, dword [rsp + 0x30]
lea r8, [0x14002f6b0]
mov edx, 0x5e
lea rcx, [0x14002f6e0]
call fcn.140006790
jmp 0x140019f09
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x40], 0
jne 0x140019e4d
mov rax, qword [rsp + 0x50]
add rax, 0x40
mov qword [rsp + 0x20], rax
lea r9, [0x14003df20]
mov r8d, reloc.OLEAUT32.dll_SafeArrayUnaccessData
xor edx, edx
lea rcx, [0x14003df10]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140019e4d
mov r9d, dword [rsp + 0x30]
lea r8, [0x14002f760]
mov edx, 0x65
lea rcx, [0x14002f790]
call fcn.140006790
jmp 0x140019f09
mov dword [rsp + 0x34], 0
jmp 0x140019e62
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 3
jge 0x140019e8d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
movsxd rcx, dword [rsp + 0x34]
mov rax, qword [rsp + 0x50]
mov qword [rax + rcx*8 + 8], r11
jmp 0x140019e57
mov dword [rsp + 0x38], 0
jmp 0x140019ea2
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 2
jge 0x140019ecd
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
movsxd rcx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov qword [rax + rcx*8 + 0x28], r11
jmp 0x140019e97
mov rax, qword [rsp + 0x50]
add rax, 0x38
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x140019a10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x20], r11
mov al, 1
jmp 0x140019f4e
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x40], 0
je 0x140019f3a
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
mov rax, qword [rax]
call qword [rax + 0x10]
mov r11, qword [rsp + 0x50]
mov qword [r11 + 0x40], 0
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, str.CMMDeviceAPIBase::Init___failed_n
call fcn.140006790
xor al, al
add rsp, 0x48
ret