joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009e5e0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1009e5f8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1009e600
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1009e610
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1009e65c
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x1009e653
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x1009e65e
add rax, 0x28
cmp rax, r9
jne 0x1009e640
xor eax, eax
ret

Function at 0x1009e660
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sub.msvcrt.dll_strlen
cmp rax, 8
ja 0x1009e6f0
mov rdx, qword [0x100f88a0]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x1009e6de
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1009e6de
cmp word [rax + 0x18], 0x20b
jne 0x1009e6de
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x1009e6f0
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x1009e6c9
add r12, 0x28
cmp r12, rsi
je 0x1009e6f0
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x1009e6c0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x1009e700
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x100f88a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1009e720
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1009e728
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1009e720
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1009e775
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1009e76c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1009e720
add rax, 0x28
cmp rax, r9
jne 0x1009e758
xor eax, eax
ret

Function at 0x1009e780
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x100f88a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1009e7a0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1009e7a8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1009e7a0
movzx r8d, word [rax + 6]
mov eax, r8d
ret
Function at 0x1009e7c0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x100f88a0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1009e7e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1009e7e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1009e7e0
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1009e828
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1009e81f
test rcx, rcx
je 0x1009e7e0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1009e810
xor eax, eax
ret

Function at 0x1009e830
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x100f88a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1009e850
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1009e858
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1009e870
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x100f88a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1009e890
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1009e898
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1009e890
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1009e890
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1009e8d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1009e8e8
add rax, 0x28
cmp r9, rax
jne 0x1009e8c0
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

Function at 0x1009e900
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x100f88a0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1009e922
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1009e930
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1009e922
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1009e922
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x1009e922
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1009e97d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1009e990
add rdx, 0x28
cmp r10, rdx
jne 0x1009e968
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1009e99f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1009e9af
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1009e986
test ecx, ecx
jg 0x1009e998
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140006c20
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
invalid
invalid
invalid
invalid
invalid
invalid

Function at 0x1400070e4
Capabilities:
Copy file

Disassembly:
mov rdi, rax
test rbx, rbx
je 0x140007105
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x28]
test rax, rax
je 0x140007105
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x28]
jmp 0x140007107
xor eax, eax
mov r8, rdi
lea rdx, [0x1400cdca8]
mov rcx, rax
call fcn.14009edd0
mov rax, qword [r15]
mov rdx, qword [r14 + rax + 0x10]
lea rcx, [rsp + 0x58]
call fcn.14000eab0
mov rdi, rax
test rbx, rbx
je 0x14000714c
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x28]
test rax, rax
je 0x14000714c
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x28]
jmp 0x14000714e
xor eax, eax
mov r8, rdi
lea rdx, [0x1400cdc98]
mov rcx, rax
call fcn.14009edd0
mov rax, qword [r15]
cmp dword [rax + r14 + 0x1c], 0
je 0x1400071a1
test rbx, rbx
je 0x140007189
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test rax, rax
je 0x140007189
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
jmp 0x14000718b
xor eax, eax
lea r8, [0x1400cdca4]
lea rdx, [0x1400cdd10]
mov rcx, rax
call fcn.14009edd0
test rsi, rsi
je 0x1400071bf
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
test rax, rax
je 0x1400071bf
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
jmp 0x1400071c1
xor eax, eax
mov rdx, rbx
mov rcx, rax
call fcn.14009e2f0
mov rdi, qword [r15]
add rdi, r14
mov rax, qword [rbp + 0x60]
mov rax, qword [rax + 0x150]
mov rcx, qword [rsp + 0x50]
add rcx, 0xe8
add rcx, rax
mov rdx, rdi
call fcn.140006730
mov rbx, rax
mov rdx, rdi
mov rcx, rax
call fcn.1400063d0
lea rdx, [rdi + 8]
lea rcx, [rbx + 8]
call fcn.1400063d0
lea rdx, [rdi + 0x10]
lea rcx, [rbx + 0x10]
call fcn.1400063d0

Function at 0x1400072ac
Capabilities:
Copy file

Disassembly:
mov rdi, qword [rsp + 0x48]
test eax, eax
je 0x140007308
add rbx, rbx
lea eax, [r14 + 1]
movsxd rdx, eax
add rdx, rdx
mov r9, rbx
mov r8, qword [rsp + 0x28]
and al, 0x28
mov rcx, rdi
call fcn.1400029b0
movsxd rax, dword [rbp + 0x78]
mov r8, rax
inc eax
movsxd rdx, eax
add rdx, rdx
lea rcx, [rbx + rdi]
add r8, r8
Function at 0x140007d80
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov qword [rsp + 0x40], 0xfffffffffffffffe
xor r8d, r8d
mov r13d, r8d
mov rax, qword [0x140104018]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xb8], eax
mov r15d, r8d
mov rdx, qword [rcx + 0xf0]
lea r12d, [r8 - 1]
test edx, edx
jle 0x140007fb1
nop dword [rax]
test r15d, r15d
js 0x140007e4b
cmp r15d, edx
jge 0x140007e4b
mov rax, qword [rcx + 0xe8]
mov rax, qword [rax]
test r15d, r15d
jle 0x140007e45
mov r8d, r15d
nop dword [rax]
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], 0
je 0x140007e1c
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x140007e17
cmp rax, qword [rcx + 0x10]
jne 0x140007e17
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x140007e04
mov rax, rcx
jmp 0x140007e3f
mov rax, rcx
mov rdx, qword [rcx]
cmp byte [rdx + 0x19], 0
jne 0x140007e3f
nop dword [rax + rax]
mov rax, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], 0
je 0x140007e30
sub r8, 1
jne 0x140007df0
lea rdi, [rax + 0x30]
jmp 0x140007e50
mov edi, 8
mov rsi, qword [rdi]
lea rbx, [rsi - 0xc]
cmp dword [rbx], 1
jg 0x140007e62
cmp dword [rsi - 4], 0
jge 0x140007ed2
mov ebp, dword [rsi - 8]
mov r14d, ebp
test ebp, ebp
cmovle r14d, r8d
mov edx, r14d
mov rcx, rdi
call fcn.140001970
test eax, eax
jne 0x140007e91
mov rbx, qword [0x140104018]
mov qword [rsp + 0xa8], rbx
jmp 0x140007f11
lea eax, [rbp + 1]
movsxd r9, eax
add r9, r9
lea eax, [r14 + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rsi
mov rcx, qword [rdi]
call fcn.1400029b0
mov rax, qword [rdi]
mov dword [rax - 8], ebp
cmp rbx, qword [0x140104010]
je 0x140007ed2
mov eax, r12d
lock xadd dword [rbx], eax
sub eax, 1
jg 0x140007ed2
mov rcx, rbx
call fcn.1400bf5e4
mov rdi, qword [rdi]
mov rbx, qword [0x140104018]
mov qword [rsp + 0xa8], rbx
test rdi, rdi
je 0x140007f11
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x140007fe2
movzx edx, di
lea rcx, [rsp + 0xa8]
call fcn.140001ff0
mov rbx, qword [rsp + 0xa8]
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rax + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140007f68
lea rdx, [rsp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
test eax, eax
je 0x140007f62
add r13, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140104010]
je 0x140007f86
mov eax, r12d
lock xadd dword [rcx], eax
sub eax, 1
jg 0x140007f86
call fcn.1400bf5e4
inc r15d
mov rcx, qword [rsp + 0xa0]
and al, 0xa0
add byte [rax], al
add byte [rax - 0x75], cl
xor eax, 0x8b000000
lock add byte [rax], al
invalid
mov edx, eax
invalid
invalid
Function at 0x140009420
Capabilities:
Get file size
Get file system object information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x320
mov rax, qword [0x140104508]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rdi, rcx
xor ebp, ebp
lea rcx, [0x1400cdb20]
mov qword [rdx], rbp
mov r14, r9
mov rsi, r8
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [0x1400cdb20]
mov rcx, rsi
mov edx, eax
call fcn.140001a10
mov qword [r14], rbp
lea r8, [rsp + 0x50]
mov rcx, qword [rdi + 8]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x701
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rax, qword [rsp + 0x50]
lea rcx, [rsp + 0x268]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [rsp + 0x268]
mov rcx, rsi
mov edx, eax
call fcn.140001a10
mov rcx, qword [rdi + 8]
lea r8d, [rbp + 1]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], ebp
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000950c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140009503
mov rcx, qword [rsp + 0x40]
mov qword [r14], rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400bf680
add rsp, 0x320
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140009c80
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
xor r8d, r8d
Function at 0x140013770
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
mov ecx, dword [rcx + 0x90]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x1400137e5
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x30], rcx
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
movsxd rcx, eax
mov qword [rsp + 0x38], rcx
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x40], 0xfffffffe
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov rcx, qword [rdi + 8]
movsxd rbx, eax
call qword [sym.imp.USER32.dll_GetParent]
mov r8, rbx
lea r9, [rsp + 0x30]
mov rcx, rax
mov edx, 0x4e
call qword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
shr ecx, 2
test cl, 1
je 0x140013826
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov rcx, qword [rdi + 8]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetParent]
mov r9, qword [rdi + 8]
mov edx, VarUI4FromDisp
mov rcx, rax
movzx r8d, bx
call qword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov r8, qword [rdi + 0x50]
lea rdx, [0x1400ce860]
mov dword [rsp + 0x28], 1
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
seta bl
jbe 0x14001386d
or byte [rdi + 0x94], 2
xor edx, edx
mov rcx, qword [rdi + 8]
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
movzx eax, bl
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140013d50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140104508]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0x80]
mov rdi, rcx
mov rcx, qword [rcx + 8]
xor r8d, r8d
movsx eax, r9w
mov edx, 0x1012
mov dword [rsp + 0x20], eax
shr r9, 0x10
movsx eax, r9w
lea r9, [rsp + 0x28]
mov dword [rsp + 0x24], eax
xor eax, eax
mov qword [rsp + 0x2c], rax
mov qword [rsp + 0x34], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x140013ddd
cmp dword [rsp + 0x30], 8
jne 0x140013ddd
mov ecx, send
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x140013ddd
mov edx, dword [rsp + 0x34]
mov rcx, rdi
call fcn.140010970
mov eax, 1
mov dword [rbx], 0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400bf680
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140018fc0
Capabilities:
Check os version

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x1a8], rbx
mov rax, qword [0x140104508]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, r9
mov r12, r8
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor r13d, r13d
mov qword [rcx + 8], r13
mov qword [rcx + 0x28], r13
mov qword [rcx + 0x30], r13
mov dword [rcx + 0x38], r13d
xor edx, edx
mov r8d, 0x98
add rcx, 0x40
call sub.VCRUNTIME140.dll_memset
lea rsi, [rdi + 0x2dc]
mov word [rsi], r13w
lea r15, [rdi + 0xdc]
mov word [r15], r13w
mov dword [rdi + 0xd8], ebx
mov dword [rdi + 0x40], 0x98
mov dword [rsp + 0x30], VarUI4FromDisp
xor edx, edx
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x34]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14001908b
mov eax, dword [rsp + 0x34]
cmp eax, 5
jae 0x140019092
cmp eax, 4
jne 0x14001908b
cmp dword [rsp + 0x38], 0x5a
jae 0x140019092
mov dword [rdi + 0x40], 0x88
mov qword [rdi + 0x70], rsi
mov dword [rdi + 0x78], 0x104
mov qword [rdi + 0xa8], r12
mov qword [rdi + 0x80], r15
mov dword [rdi + 0x88], 0x100
mov eax, dword [rsp + 0x1c0]
or eax, 0x880020
mov dword [rdi + 0xa0], eax
mov rax, qword [rsp + 0x1c8]
mov qword [rdi + 0x58], rax
mov rax, qword [0x1401058e0]
mov qword [rdi + 0x50], rax
lea rax, [0x140017af0]
mov qword [rdi + 0xb8], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rdi + 0x48], rax
test rbp, rbp
je 0x14001912d
mov r9, 0xffffffffffffffff
mov r8, rbp
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
test eax, eax
je 0x14001912d
cmp eax, 0xc
je 0x140019165
cmp eax, 0x16
je 0x14001917b
cmp eax, 0x22
je 0x14001917b
cmp eax, 0x50
jne 0x140019170
lea rax, [0x1400cebf8]
mov qword [rdi], rax
mov rax, rdi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400bf680
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140001ac0
int3
mov ecx, 0x80004005
call fcn.140001ac0
int3
mov ecx, 0x80070057
call fcn.140001ac0
int3
Function at 0x14001a940
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, dword [r8 + 0x18]
mov rdi, rcx
call fcn.14002afb0
mov rcx, rax
call fcn.14002af80
test ebx, ebx
js 0x14001aa14
mov edx, dword [rdi + 0x5e0]
mov rcx, rax
call fcn.140009b60
mov rcx, rax
mov edx, ebx
call fcn.140009530
test rax, rax
je 0x14001aa14
mov rbx, qword [rax + 8]
cmp dword [rbx - 0xc], 0
jl 0x14001a99c
mov qword [rsp + 0x50], rbx
lock inc dword [rbx - 0xc]
jmp 0x14001a9c9
mov rax, qword [0x140104018]
mov qword [rsp + 0x50], rax
test rbx, rbx
jne 0x14001a9b1
xor eax, eax
jmp 0x14001a9ba
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
lea rcx, [rsp + 0x50]
mov edx, eax
call fcn.140001a10
mov rbx, qword [rsp + 0x50]
lea rdx, [0x1400ce860]
mov r8, rbx
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140104010]
je 0x14001aa14
mov eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x14001aa14
call fcn.1400bf5e4
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x14001bf20
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbp, rcx
call fcn.14002afb0
mov rcx, rax
call fcn.14002af80
mov rcx, qword [rbp + 0x70]
mov edi, 0xffffffff
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov r14d, edi
mov r15, rax
xor esi, esi
xor ebx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x14001c06d
mov rcx, qword [rbp + 0x70]
mov edx, 0x102c
movsxd r8, ebx
mov r9d, 2
call qword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [rsi + 1]
mov edx, 0x1004
test eax, eax
cmove ecx, esi
mov esi, ecx
mov ecx, ebx
cmove ecx, r14d
xor r9d, r9d
mov r14d, ecx
xor r8d, r8d
mov rcx, qword [rbp + 0x70]
inc ebx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, eax
jl 0x14001bf74
cmp esi, 1
jne 0x14001c06d
mov edx, dword [rbp + 0x5e0]
mov rcx, r15
call fcn.140009b60
mov rcx, rax
mov edx, r14d
call fcn.140009530
test rax, rax
je 0x14001c06d
mov rbx, qword [rax + 8]
cmp dword [rbx - 0xc], 0
jl 0x14001bffa
mov qword [rsp + 0x50], rbx
lock inc dword [rbx - 0xc]
jmp 0x14001c027
mov rax, qword [0x140104018]
mov qword [rsp + 0x50], rax
test rbx, rbx
jne 0x14001c00f
xor eax, eax
jmp 0x14001c018
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
lea rcx, [rsp + 0x50]
mov edx, eax
call fcn.140001a10
mov rbx, qword [rsp + 0x50]
lea rdx, [0x1400ce860]
mov r8, rbx
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140104010]
je 0x14001c06d
lock xadd dword [rcx], edi
sub edi, 1
jg 0x14001c06d
call fcn.1400bf5e4
mov rbx, qword [rsp + 0x58]
xor eax, eax
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400286e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov dword [rcx + 0x7f8], edx
lea r8, [0x1400308f0]
xor edi, edi
mov rbx, rcx
mov r9, rcx
mov qword [rsp + 0x28], rdi
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov qword [rbx + 0x5c8], rax
mov rbx, qword [rsp + 0x40]
setne dil
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14002c290
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x98], 0
mov rbx, rcx
je 0x14002c2dd
xor eax, eax
mov dword [rcx + 0x7f8], 0x10
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x1400308f0]
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x5c8], rax
mov eax, 1
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rcx + 0x5c8]
test rcx, rcx
je 0x14002c2f4
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [rbx + 0x84], 0
je 0x14002c3be
mov rax, qword [0x140104018]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
lea rsi, [0x1400cd920]
mov rax, rsi
shr rax, 0x10
test ax, ax
jne 0x14002c334
movzx edx, si
lea rcx, [rsp + 0x40]
call fcn.140001ff0
jmp 0x14002c37a
mov rcx, rsi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rdi, eax
test eax, eax
je 0x14002c375
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140001970
test eax, eax
je 0x14002c375
mov rcx, qword [rsp + 0x40]
lea eax, [rdi + 1]
movsxd rdx, eax
mov r9, rdi
add rdx, rdx
add r9, r9
mov r8, rsi
call fcn.1400029b0
mov rdi, qword [rsp + 0x50]
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, rbx
call fcn.14002fbf0
xor eax, eax
mov dword [rbx + 0x7f8], 0xe
mov qword [rsp + 0x28], rax
lea r8, [0x1400308f0]
mov r9, rbx
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, qword [rsp + 0x48]
mov qword [rbx + 0x5c8], rax
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x140032790
Capabilities:
Read file via mapping

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r14d, r8d
mov ebp, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x90], eax
xor edx, edx
mov eax, ebp
div dword [rsi + 0x10]
mov r12d, edx
sub ebp, edx
lea rdi, [rsi + 0x20]
mov qword [rsp + 0x98], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea r15, [rsi + 0x48]
mov r8, qword [r15]
mov rbx, r8
mov rax, qword [r8 + 8]
cmp byte [rax + 0x19], 0
jne 0x140032821
mov ecx, dword [rsp + 0x90]
nop word [rax + rax]
cmp dword [rax + 0x20], ecx
jae 0x14003280b
mov rax, qword [rax + 0x10]
jmp 0x140032811
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140032800
cmp rbx, r8
je 0x140032821
cmp ecx, dword [rbx + 0x20]
jae 0x140032824
mov rbx, r8
cmp rbx, r8
je 0x140032833
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [r12 + r14]
mov qword [rsp + 0x20], rcx
mov r9d, ebp
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
mov rdx, qword [r15]
cmp rbx, rdx
jne 0x1400328e7
mov rbx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x140032894
mov ecx, dword [rsp + 0x90]
cmp dword [rax + 0x20], ecx
jae 0x14003287e
mov rax, qword [rax + 0x10]
jmp 0x140032884
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140032873
cmp rbx, rdx
je 0x140032894
cmp ecx, dword [rbx + 0x20]
jae 0x1400328e7
lea rax, [rsp + 0x90]
mov qword [rsp + 0x80], rax
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x80]
lea rdx, [0x1400d2310]
mov rcx, r15
call fcn.1400312c0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x80]
mov rcx, r15
call fcn.1400319c0
mov rbx, qword [rsp + 0x80]
mov qword [rbx + 0x28], rsi
lea rbx, [rsi + r12]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rbx
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret