joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009a00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xd0004
mov dword [rbp - 0x1c], 0x1e0007
mov dword [rbp - 0x18], 0x400009
mov dword [rbp - 0x14], 0x5b005d
mov dword [rbp - 0x10], 0xf0016
mov dword [rbp - 0xc], 0x90009
call fcn.1400029c0
mov rcx, rax
call rbx
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400161a0], rax
mov dword [rbp - 0x20], 0xc0000
mov dword [rbp - 0x1c], 0x1b000c
mov dword [rbp - 0x18], 0x16000b
mov dword [rbp - 0x14], 0x5b001b
mov dword [rbp - 0x10], 0xf0016
mov dword [rbp - 0xc], 0x90009
call fcn.1400029c0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x1400148a0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400161b0], rax
mov word [rbp - 0x10], 0x301f
mov byte [rbp - 0xe], 0x73
call fcn.140004620
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1e070d04
mov dword [rbp - 0x1c], 0x10173609
mov dword [rbp - 0x18], 0x6c111611
mov word [rbp - 0x14], 0x6f34
call fcn.140001180
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x17160b1e
mov dword [rbp - 0x1c], 0x10a1d17
mov dword [rbp - 0x18], 0x6700133d
mov word [rbp - 0x14], 0x6f22
call fcn.140001180
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400149c0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e8], rax
mov byte [rbp - 0x10], 0x69
call fcn.140004330
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014900]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160f0], rax
mov dword [rbp - 0x10], 0x9160b0d
call fcn.140002660
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400148b0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e0], rax
mov byte [rbp - 0x10], 0x69
call fcn.140004330
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014960]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160d8], rax
mov dword [rbp - 0x10], 0x481d0800
mov byte [rbp - 0xc], 0x72
call fcn.140003130
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014910]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x2607
mov byte [rbp - 0xe], 0x73
call fcn.140004620
mov rcx, qword [0x1400161b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000baf0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x65
mov dword [rbp - 0x20], 0x20001c
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3c0030
mov dword [rbp - 0x18], 0x3f0020
mov dword [rbp - 0x14], 0x34002d
mov dword [rbp - 0x10], 0x260021
call fcn.140004fd0
mov rcx, rax
call 0x14000baf0
mov qword [0x1400161b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x72
mov dword [rbp - 0x20], 0x20001c
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3c0030
mov dword [rbp - 0x18], 0x3f0020
mov dword [rbp - 0x14], 0x47005c
call fcn.1400022a0
mov rcx, rax
call 0x14000baf0
lea rcx, [rbp - 0x20]
mov qword [0x1400161a8], rax
mov dword [rbp - 0x20], 0x110039
mov dword [rbp - 0x1c], 0x1e0006
mov dword [rbp - 0x18], 0x730009
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000baf0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000bb52
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.1400095b0
test al, al
jne 0x14000bb64
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000bb20
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x401cb8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x401ce9
xor eax, eax
jmp 0x401eed
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
test rax, rax
jne 0x401d33
xor eax, eax
jmp 0x401eed
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
add rax, qword [rsp + 0x80]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x1c], eax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x20], eax
mov qword [rsp + 8], 0
jmp 0x401d98
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 8], rax
jae 0x401eeb
mov eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 8]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 8]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp], 0
mov qword [rsp], 0
jmp 0x401e42
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
je 0x401ea0
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
je 0x401ea0
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x28]
add rdx, rcx
mov rcx, rdx
movsx ecx, byte [rcx]
cmp eax, ecx
je 0x401e9e
jmp 0x401ea0
jmp 0x401e37
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
jne 0x401ee6
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax]
test eax, eax
jne 0x401ee6
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
jmp 0x401eed
jmp 0x401d8b
xor eax, eax
add rsp, 0x78
ret
Function at 0x401ef2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x30], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov rdi, rax
lea rsi, [rcx + 0x10]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0
je 0x40211c
mov rax, qword [rsp + 0x18]
cmp qword [rax + 0x30], 0
je 0x40211c
mov rax, qword [rsp + 0x18]
cmp qword [rax + 0x60], 0
jne 0x401f78
jmp 0x401f4e
mov rax, qword [rsp + 0x18]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x10], rax
mov qword [rsp], 0
mov qword [rsp], 0
jmp 0x401fa3
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
test eax, eax
je 0x4020da
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
test eax, eax
je 0x4020da
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
cmp eax, 0x5a
jg 0x402034
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
cmp eax, 0x41
jl 0x402034
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
sub eax, 0x41
add eax, 0x61
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp]
movzx edx, word [rsp + 0x20]
mov word [rax + rcx*2], dx
movzx eax, word [rsp + 0x20]
mov dword [rsp + 0x24], eax
jmp 0x402048
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x24], eax
movzx eax, word [rsp + 0x24]
mov word [rsp + 8], ax
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
cmp eax, 0x5a
jg 0x4020aa
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
cmp eax, 0x41
jl 0x4020aa
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
sub eax, 0x41
add eax, 0x61
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx edx, word [rsp + 0x28]
mov word [rax + rcx*2], dx
movzx eax, word [rsp + 0x28]
mov dword [rsp + 0x2c], eax
jmp 0x4020bb
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x2c], eax
movzx eax, word [rsp + 0x2c]
mov word [rsp + 0xc], ax
movzx eax, word [rsp + 8]
movzx ecx, word [rsp + 0xc]
cmp eax, ecx
je 0x4020d5
jmp 0x4020da
jmp 0x401f98
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
test eax, eax
jne 0x40210a
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp]
movzx eax, word [rax + rcx*2]
test eax, eax
jne 0x40210a
mov rax, qword [rsp + 0x18]
mov rax, qword [rax + 0x30]
jmp 0x40211e
mov rax, qword [rsp + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x18], rax
jmp 0x401f4e
xor eax, eax
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x1400015e4
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x1400015fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400015fc
xor eax, eax
test eax, eax
je 0x14000160c
mov ecx, eax
call fcn.1400051cc
or eax, 0xffffffff
jmp 0x14000160e
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400019f8
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.140006938
nop
cmp dword [0x140067650], 1
je 0x1400019a4
mov dword [0x14006764c], 1
mov byte [0x140067648], r12b
test ebx, ebx
jne 0x140001990
mov rcx, qword [0x14109ffc8]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000197d
mov rcx, qword [0x14109ffc0]
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 0x14000191c
call fcn.140006168
cmp qword [rdi], rax
jne 0x14000191c
jmp 0x140001902
cmp rdi, rsi
jb 0x14000197d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140006168
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14109ffc8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14109ffc0]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000195b
cmp r13, rax
je 0x14000197b
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 0x140001902
lea rdx, [0x140058530]
lea rcx, [0x140058518]
call fcn.14000174c
lea rdx, [0x140058540]
lea rcx, [0x140058538]
call fcn.14000174c
nop
test r12d, r12d
je 0x1400019b3
mov ecx, 8
call fcn.140006838
test r12d, r12d
jne 0x1400019de
mov dword [0x140067650], 1
lea ecx, [r12 + 8]
call fcn.140006838
mov ecx, r15d
call fcn.1400016e0
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 0x14000186c

Function at 0x140001a04
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000186c
Function at 0x140001ed8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x140001f12
call fcn.1400051ac
and dword [rax], 0
call fcn.14000518c
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.1400060d8
mov eax, ebx
jmp 0x140001f62
test edx, 0xfffffff9
jne 0x140001ee5
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140001f3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400051cc
call fcn.14000518c
mov eax, dword [rax]
jmp 0x140001f62
test al, 0x10
jne 0x140001f60
test al, 1
je 0x140001f60
test bl, 2
je 0x140001f60
call fcn.1400051ac
mov dword [rax], 5
call fcn.14000518c
mov dword [rax], 0xd
jmp 0x140001f32
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140002240
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140002256
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140002258
xor eax, eax
test eax, eax
je 0x140002268
mov ecx, eax
call fcn.1400051cc
or eax, 0xffffffff
jmp 0x14000226a
xor eax, eax
add rsp, 0x28
ret
Function at 0x140004e10
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140004e99
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x140004e5b
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140004ea9
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x140004e71
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140004ea9
cmp dword [rax + 0x84], 0xe
ja 0x140004e85
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140004ea9
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x140004ea9
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, [0x140000000]
mov ecx, 1
call fcn.140007c3c
test eax, eax
jne 0x140004ed9
cmp dword [0x140067688], 1
jne 0x140004ec5
call fcn.1400066e4
mov ecx, 0x1c
call fcn.1400064bc
mov ecx, 0xff
call fcn.14000171c
call fcn.140006438
test eax, eax
jne 0x140004f04
cmp dword [0x140067688], 1
jne 0x140004ef0
call fcn.1400066e4
mov ecx, 0x10
call fcn.1400064bc
mov ecx, 0xff
call fcn.14000171c
call fcn.140006ae0
nop
call fcn.14000d7e0
test eax, eax
jns 0x140004f1d
mov ecx, 0x1b
call fcn.1400016b0
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [0x14109ffb0], rax
call fcn.14000e0ac
mov qword [0x140067678], rax
call fcn.14000dfb4
test eax, eax
jns 0x140004f49
mov ecx, 8
call fcn.1400016b0
call fcn.14000dcb4
test eax, eax
jns 0x140004f5c
mov ecx, 9
call fcn.1400016b0
mov ecx, 1
call fcn.1400017bc
test eax, eax
je 0x140004f71
mov ecx, eax
call fcn.1400016b0
call fcn.14000dc38
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.1400567b0
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x140004fa8
mov ecx, eax
call fcn.1400019f8
call fcn.140001a10
jmp 0x140004fc9
mov eax, edi
jmp 0x140004fd2
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.14000e260
add rsp, 0x28
jmp 0x140004e10
Function at 0x14000509f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400600c0]
jne 0x14000129a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001296
repz ret
ror rcx, 0x10
jmp 0x140004ff8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140067730]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140067828]
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 0x14000507d
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, [0x140067730]
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 0x14000509f
mov rax, qword [rsp + 0x88]
mov qword [0x140067828], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400677c8], rax
mov rax, qword [0x140067828]
mov qword [0x1400676a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400677b0], rax
mov dword [0x140067690], 0xc0000409
mov dword [0x140067694], 1
mov rax, qword [0x1400600c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400600c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140067728], eax
mov ecx, 1
call fcn.14000e314
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140059980]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140067728], 0
jne 0x140005126
mov ecx, 1
call fcn.14000e314
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 0x14000ea7c
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.140006168
xor ebx, ebx
mov rdi, rax
cmp qword [0x140068348], rbx
jne 0x14000eb82
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14000ec57
lea rdx, [0x14005a3a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000ec57
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140068348], 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 [0x140068350], 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 [0x140068358], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140068368], rax
test rax, rax
je 0x14000eb79
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140068360], rax
jmp 0x14000eb89
mov rax, qword [0x140068360]
jmp 0x14000eb90
mov rax, qword [0x140068360]
mov r11, qword [0x140068368]
cmp rax, rdi
je 0x14000ebf8
cmp r11, rdi
je 0x14000ebf8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140068368]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14000ebf8
test rax, rax
je 0x14000ebf8
call rsi
test rax, rax
je 0x14000ebf2
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 0x14000ebf2
test byte [rsp + 0x38], 1
jne 0x14000ebf8
bts ebp, 0x15
jmp 0x14000ec36
mov rcx, qword [0x140068350]
cmp rcx, rdi
je 0x14000ec36
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000ec36
call rax
mov rbx, rax
test rax, rax
je 0x14000ec36
mov rcx, qword [0x140068358]
cmp rcx, rdi
je 0x14000ec36
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000ec36
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140068348]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000ec57
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14000ec59
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 0x14004b5d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push rdi
mov eax, 0x1090
call fcn.140057910
sub rsp, rax
mov rax, qword [0x1400600c0]
xor rax, rsp
mov qword [rsp + 0x1080], rax
lea rax, [0x1400684d0]
mov qword [rsp + 0x1070], rax
movzx eax, byte [0x14005b831]
mov byte [rsp + 0x70], al
lea rdi, [rsp + 0x71]
xor eax, eax
mov ecx, 0xfff
rep stosb byte [rdi], al
mov r8d, 0x12bd1
xor edx, edx
mov rcx, qword [rsp + 0x1070]
call fcn.140002560
movsd xmm5, qword [0x14005c410]
movsd qword [rsp + 0x30], xmm5
movsd xmm0, qword [0x14005c410]
movsd qword [rsp + 0x38], xmm0
movsd xmm0, qword [0x14005c410]
movsd qword [rsp + 0x40], xmm0
xorpd xmm0, xmm0
movsd qword [rsp + 0x48], xmm0
xorpd xmm0, xmm0
movsd qword [rsp + 0x50], xmm0
xorpd xmm0, xmm0
movsd qword [rsp + 0x58], xmm0
mov rcx, qword [rsp + 0x1070]
add rcx, 0x405d
mov r8d, 0x30
lea rdx, [rsp + 0x30]
call fcn.1400012b0
mov dword [rsp + 0x1078], 0
jmp 0x14004b6b3
mov eax, dword [rsp + 0x1078]
add eax, 1
mov dword [rsp + 0x1078], eax
cmp dword [rsp + 0x1078], 3
jge 0x14004b6ee
movsxd rcx, dword [rsp + 0x1078]
imul rcx, rcx, 0x4e6c
mov rax, qword [rsp + 0x1070]
lea rcx, [rax + rcx + 0x609d]
mov r8d, 0x30
lea rdx, [rsp + 0x30]
call fcn.1400012b0
jmp 0x14004b6a2
mov rdx, qword [rsp + 0x1070]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x14004b709
mov al, 1
jmp 0x14004b753
lea rax, str.programs_
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1070]
lea r8, [0x14005bc4c]
mov edx, 0x1000
lea rcx, [rsp + 0x70]
call fcn.140002190
mov edx, 4
lea rcx, [rsp + 0x70]
call fcn.140001f68
test eax, eax
jne 0x14004b751
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov al, 1
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.140001280
add rsp, 0x1090
pop rdi
ret