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

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x20], 0
mov rdi, rdx
mov rbp, rcx
jne 0x1400604bb
cmp qword [rdx + 0x18], 8
mov rcx, rdx
mov dword [rsp + 0x50], 0
jb 0x14006040e
mov rcx, qword [rdx]
lea rdx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x1400604bb
mov r9, qword [rbp + 0x10]
mov ecx, r14d
mov r8, qword [rbp + 8]
mov rdx, r9
sub rdx, r8
mov qword [rsp + 0x58], rsi
cmp r14, rdx
jae 0x140060448
lea rax, [r8 + r14]
mov qword [rbp + 0x10], rax
jmp 0x140060489
jbe 0x140060489
mov rax, qword [rbp + 0x18]
sub rax, r8
cmp rcx, rax
jbe 0x140060469
mov rdx, rcx
lea r8, [rsp + 0x40]
lea rcx, [rbp + 8]
call fcn.14001cc54
jmp 0x140060489
sub rcx, rdx
mov qword [rsp + 0x48], rbx
lea rbx, [rcx + r9]
mov rcx, r9
mov rdx, rbx
call fcn.14001cef8
mov qword [rbp + 0x10], rbx
mov rbx, qword [rsp + 0x48]
cmp qword [rdi + 0x18], 8
jb 0x140060493
mov rdi, qword [rdi]
mov r9, qword [rbp + 8]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoW
mov rsi, qword [rsp + 0x58]
cmp eax, 1
sete al
mov byte [rbp + 0x20], al
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
xor al, al
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14009f798
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14009f7cf
call fcn.140091810
mov dword [rax], 0x16
call fcn.1400916a4
xor eax, eax
jmp 0x14009f85d
mov rdx, r9
mov rcx, r8
call fcn.14009f734
mov rbx, rax
test rax, rax
je 0x14009f85a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14009f660]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14009f847
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140091784
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14009f82e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14009f83d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400abef4
jmp 0x14009f85a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14009f857
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b1e3c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400b1e52
mov al, 1
jmp 0x1400b1eb2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400b1e63
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400b1eb0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400b1bd0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400b1eb0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400b1eb0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b1eb0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400b1eb2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400b4288
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 0x1400b430f
mov rsi, rbx
cmp word [rax], bp
je 0x1400b42ce
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b42b8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b42b4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400abf30
mov rdi, rax
test rax, rax
je 0x1400b42fc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14008c5a0
mov rbp, rdi
xor ecx, ecx
call fcn.1400abef4
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 0x1400b6d68
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400abb90
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400b6e09
cmp ebx, dword [rsp + 0x30]
je 0x1400b6e02
test esi, esi
je 0x1400b6e02
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400b6ddd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400b6dea
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400b6dc7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400b6dee
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400b6e0b
mov eax, 1
jmp 0x1400b6e0b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bbe24
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140102b30]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400bbe7b
cmp word [rdx], r13w
jne 0x1400bbe7b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400bbe80
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400bbfa5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400bbfc6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400bbeb9
mov rdx, r9
mov word [rbx], cx
jmp 0x1400bbee0
cmp r9, r8
jae 0x1400bbef0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400bbe9a
jmp 0x1400bbfa5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400bbf9a
cmp dword [rsp + 0x80], esi
je 0x1400bbf9a
lea r8, [0x140102b30]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400bbf72
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400bbf42
mov word [rbx], r13w
jmp 0x1400bbfa2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400bbf4f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400bbfa2
cmp word [rsp + 0x70], r13w
jne 0x1400bbf7f
cmp rbx, r14
je 0x1400bbf3c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400bab54
cmp word [rsp + 0x70], r13w
je 0x1400bbfa5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140102b30]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400bbf9f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400bbfa5
Function at 0x1400bc8f0
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.1400bab54
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400bab54
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400bca40
cmp rax, 0xffffffffffffffff
je 0x1400bca40
xor edi, edi
test rbp, rbp
jle 0x1400bc9eb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400addc0
mov rbx, rax
test rax, rax
jne 0x1400bc978
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400bc9e1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400a9ca4
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.1400b9bb0
cmp eax, 0xffffffff
je 0x1400bc9c1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400bc988
mov edx, r15d
mov ecx, r14d
call fcn.1400a9ca4
jmp 0x1400bc9e1
cmp byte [rsi + 0x38], dil
je 0x1400bc9d8
cmp dword [rsi + 0x34], 5
jne 0x1400bc9d8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400bc9e1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400abef4
jmp 0x1400bca54
jns 0x1400bca54
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400bab54
cmp rax, 0xffffffffffffffff
jne 0x1400bca0c
cmp byte [rsi + 0x30], dil
je 0x1400bca54
mov edi, dword [rsi + 0x2c]
jmp 0x1400bca54
mov ecx, r14d
call fcn.1400b1bd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400bca54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400bca54
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400bca4d
mov eax, dword [rsi + 0x2c]
jmp 0x1400bca52
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400bab54
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 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
push rcx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
add r8, rdx
push rax
jrcxz 0x1400040ca
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor r9, r9
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
pop rsi
add rax, rdx
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x14000c2a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c2ea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c2ea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c2ea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c2ea
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c2ea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c2ec
xor al, al
add rsp, 0x28
ret

Function at 0x14000e4c0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000e4fa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000e4ff
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000e548
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140026540]
cmp byte [rcx + rax], 0
je 0x14000e548
dec r8
sub rdx, 1
jne 0x14000e52e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140012800
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001265f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001265f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001265f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001265f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001265f
cmp dword [rcx + 0x84], 0xe
jbe 0x14001265f
cmp dword [rcx + 0xf8], 0
je 0x14001265f
mov ecx, ebx
call fcn.14001271c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400124ec
nop
cmp dword [rbp + 0x20], 0
je 0x1400126ad
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400126b8
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400125f0
Function at 0x140018d54
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 0x140018d84
xor eax, eax
jmp 0x140018e47
mov rbp, rbx
cmp word [rax], si
je 0x140018da9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140018d90
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140018d8c
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.140018ca4
movsxd r14, eax
test eax, eax
jne 0x140018de7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140018d7d
mov rcx, r14
call fcn.14001712c
mov rdi, rax
test rax, rax
jne 0x140018e00
xor ecx, ecx
call fcn.140017334
jmp 0x140018ddc
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.140018ca4
test eax, eax
jne 0x140018e31
mov rcx, rdi
call fcn.140017334
jmp 0x140018e3b
xor ecx, ecx
call fcn.140017334
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 0x14001d50c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140017da8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001d596
cmp byte [rbp - 0x21], r15b
je 0x14001d591
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001d5cc
call fcn.14001955c
test eax, eax
jne 0x14001d5b8
cmp byte [rbp - 0x21], r15b
je 0x14001d5b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001d5cc
cmp byte [rbp - 0x21], r15b
je 0x14001d5c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140017384
test eax, eax
jne 0x14001d66c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140017da8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001d60b
cmp byte [rbp - 0x21], r15b
je 0x14001d640
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001d640
call fcn.14001955c
test eax, eax
jne 0x14001d62c
cmp byte [rbp - 0x21], r15b
je 0x14001d625
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001d640
cmp byte [rbp - 0x21], r15b
je 0x14001d63d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140017384
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001d66c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001d66f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001d67d
mov rcx, rdi
call fcn.140017334
cmp byte [rbp + 0x3f], r15b
je 0x14001d68c
mov rcx, qword [rbp + 0x27]
call fcn.140017334
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140022ad0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140022af8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140022af8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001b83
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000b008]
jne 0x14000192a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001926
repz ret
ror rcx, 0x10
jmp 0x140001adc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000c0e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14000c1d8]
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 0x140001b61
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, [0x14000c0e0]
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 0x140001b83
mov rax, qword [rsp + 0x88]
mov qword [0x14000c1d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000c178], rax
mov rax, qword [0x14000c1d8]
mov qword [0x14000c050], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000c160], rax
mov dword [0x14000c040], 0xc0000409
mov dword [0x14000c044], 1
mov rax, qword [0x14000b008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000b010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000c0d8], eax
mov ecx, 1
call fcn.1400033b8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140008280]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000c0d8], 0
jne 0x140001c0a
mov ecx, 1
call fcn.1400033b8
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 0x140001fcc
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.140003610
nop
cmp dword [0x14000c600], 1
je 0x140001f78
mov dword [0x14000c5fc], 1
mov byte [0x14000c5f8], r12b
test ebx, ebx
jne 0x140001f64
mov rcx, qword [0x14000d058]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140001f51
mov rcx, qword [0x14000d050]
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 0x140001ef0
call fcn.140002f64
cmp qword [rdi], rax
jne 0x140001ef0
jmp 0x140001ed6
cmp rdi, rsi
jb 0x140001f51
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140002f64
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14000d058]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14000d050]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140001f2f
cmp r13, rax
je 0x140001f4f
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 0x140001ed6
lea rdx, [0x140008248]
lea rcx, [0x140008240]
call fcn.140001d20
lea rdx, [0x140008258]
lea rcx, [0x140008250]
call fcn.140001d20
nop
test r12d, r12d
je 0x140001f87
mov ecx, 8
call fcn.140003510
test r12d, r12d
jne 0x140001fb2
mov dword [0x14000c600], 1
lea ecx, [r12 + 8]
call fcn.140003510
mov ecx, r15d
call fcn.140001cb4
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 0x140001e40

Function at 0x140001fd8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140001e40
Function at 0x140003e00
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.140002f64
xor ebx, ebx
mov rdi, rax
cmp qword [0x14000ccd8], rbx
jne 0x140003f06
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140003fdb
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003fdb
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000ccd8], 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 [0x14000cce0], 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 [0x14000cce8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14000ccf8], rax
test rax, rax
je 0x140003efd
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14000ccf0], rax
jmp 0x140003f0d
mov rax, qword [0x14000ccf0]
jmp 0x140003f14
mov rax, qword [0x14000ccf0]
mov r11, qword [0x14000ccf8]
cmp rax, rdi
je 0x140003f7c
cmp r11, rdi
je 0x140003f7c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14000ccf8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140003f7c
test rax, rax
je 0x140003f7c
call rsi
test rax, rax
je 0x140003f76
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 0x140003f76
test byte [rsp + 0x38], 1
jne 0x140003f7c
bts ebp, 0x15
jmp 0x140003fba
mov rcx, qword [0x14000cce0]
cmp rcx, rdi
je 0x140003fba
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140003fba
call rax
mov rbx, rax
test rax, rax
je 0x140003fba
mov rcx, qword [0x14000cce8]
cmp rcx, rdi
je 0x140003fba
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140003fba
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000ccd8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140003fdb
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140003fdd
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