joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55e740
Capabilities:
Get graphical window text

Disassembly:
push rbp
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rdx
nop
mov dword [rbp + 0x5c], 0
mov rcx, qword [rbp + 0xa8]
xor edx, edx
call sub.user32.dll_GetWindow
mov qword [rbp + 0x60], rax
jmp 0x55e87e
mov rcx, qword [rbp + 0x60]
call sub.user32.dll_GetWindowTextLengthW
add eax, 1
jno 0x55e7ca
call fcn.0040c210
mov dword [rbp + 0x84], eax
lea rcx, [rbp + 0x78]
mov edx, dword [rbp + 0x84]
call fcn.00411160
mov rcx, qword [rbp + 0x78]
call fcn.00410ef0
mov rcx, qword [rbp + 0x60]
mov rdx, rax
mov r8d, dword [rbp + 0x84]
call sub.user32.dll_GetWindowTextW
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jle 0x55e86c
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
call fcn.00432490
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x70]
lea r8, [0x0055e9bc]
lea r9, [0x0055e9cc]
call fcn.0055e9f0
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x40]
call fcn.00410240
lea rcx, [rbp + 0x68]
mov edx, 3
mov r8, qword [rbp + 0x68]
mov r9, qword [rbp + 0x70]
lea rax, [0x0055e9bc]
mov qword [rsp + 0x20], rax
call fcn.00411440
add dword [rbp + 0x5c], 1
jno 0x55e86c
call fcn.0040c210
mov rcx, qword [rbp + 0x60]
mov edx, 2
call sub.user32.dll_GetWindow
mov qword [rbp + 0x60], rax
cmp qword [rbp + 0x60], 0
ja 0x55e7b7
mov qword [rbp + 0x88], 0
nop
lea rcx, [rbp + 0x38]
mov edx, dword [rbp + 0x5c]
call fcn.00432dd0
lea rcx, [rbp + 0x88]
mov edx, 3
lea r8, [0x0055e9dc]
mov r9, qword [rbp + 0x38]
lea rax, [0x0055e9bc]
mov qword [rsp + 0x20], rax
call fcn.00411440
mov dword [rbp + 0x58], 0
cmp qword [rbp + 0x68], 0
je 0x55e8e1
mov rax, qword [rbp + 0x68]
mov eax, dword [rax - 4]
mov dword [rbp + 0x58], eax
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x68]
mov r8d, 1
mov r9d, dword [rbp + 0x58]
sub r9d, 1
jno 0x55e8fe
call fcn.0040c210
call fcn.00411530
mov rcx, qword [rbp + 0xa0]
mov rdx, qword [rbp + 0x88]
mov r8, qword [rbp + 0x30]
call fcn.00411310
nop
lea rcx, [rbp + 0x88]
call fcn.0040fb50
nop
lea rcx, [rbp + 0x30]
mov edx, 3
call fcn.0040fc30
lea rcx, [rbp + 0x68]
mov edx, 3
call fcn.0040fc30
mov rax, qword [rbp + 0xa0]
lea rsp, [rbp + 0x90]
pop rbp
ret
Function at 0x55edb0
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0x2b0
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x2c0], rcx
mov rcx, qword [rbp + 0x2c0]
call fcn.0040fd20
nop
mov dword [rbp + 0x2ac], 0
mov ecx, 2
xor edx, edx
call fcn.0055d2c0
mov qword [rbp + 0x2a0], rax
mov dword [rbp + 0x68], 0x238
mov rcx, qword [rbp + 0x2a0]
lea rdx, [rbp + 0x68]
call fcn.0055d2f0
mov dword [rbp + 0x2a8], eax
jmp 0x55ef11
lea rcx, [rbp + 0x48]
lea rdx, [rbp + 0x94]
mov r8d, 0x104
call fcn.00410fb0
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
call fcn.00433c40
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
call fcn.00431e80
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x2c0]
call fcn.00431e80
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x40]
call fcn.00411520
test eax, eax
je 0x55eedb
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x94]
mov r8d, 0x104
call fcn.00410fb0
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
call fcn.00431e80
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x2c0]
call fcn.00431e80
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x28]
call fcn.00411520
test eax, eax
jne 0x55eefb
mov ecx, 1
xor edx, edx
mov r8d, dword [rbp + 0x70]
call sub.kernel32.dll_OpenProcess
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_TerminateProcess
mov dword [rbp + 0x2ac], eax
mov rcx, qword [rbp + 0x2a0]
lea rdx, [rbp + 0x68]
call fcn.0055d320
mov dword [rbp + 0x2a8], eax
cmp dword [rbp + 0x2a8], 0
jne 0x55ee46
mov rcx, qword [rbp + 0x2a0]
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x28]
mov edx, 7
call fcn.0040fc30
lea rcx, [rbp + 0x2c0]
call fcn.0040fb50
mov eax, dword [rbp + 0x2ac]
lea rsp, [rbp + 0x2b0]
pop rbp
ret

Function at 0x55ef90
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
sub rsp, 0x2a0
mov rbp, rsp
mov qword [rbp + 0x290], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x2b0], rcx
mov rcx, qword [rbp + 0x2b0]
call fcn.0040fd20
nop
mov dword [rbp + 0x34], 0
mov dword [rbp + 0x29c], 0
nop
mov rcx, qword [rbp + 0x2b0]
call fcn.00410ef0
mov rcx, rax
lea rdx, [rbp + 0x38]
call sub.kernel32.dll_FindFirstFileW
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0xffffffffffffffff
je 0x55f03e
lea rcx, [rbp + 0x290]
lea rdx, [rbp + 0x64]
mov r8d, 0x104
call fcn.00410fb0
mov rcx, qword [rbp + 0x290]
call fcn.00433af0
test al, al
je 0x55f02a
add dword [rbp + 0x34], 1
jno 0x55f02a
call fcn.0040c210
mov rcx, qword [rbp + 0x288]
lea rdx, [rbp + 0x38]
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x55eff9
mov rcx, qword [rbp + 0x288]
call sub.kernel32.dll_FindClose
jmp 0x55f05f
mov eax, dword [rbp + 0x34]
mov dword [rbp + 0x29c], eax
nop
lea rcx, [rbp + 0x290]
call fcn.0040fb50
lea rcx, [rbp + 0x2b0]
call fcn.0040fb50
mov eax, dword [rbp + 0x29c]
lea rsp, [rbp + 0x2a0]
pop rbp
ret
Function at 0x55f0e0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
sub rsp, 0x300
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x2f8], 0
mov qword [rbp + 0x2f0], 0
mov qword [rbp + 0x2e8], 0
mov qword [rbp + 0x78], rbp
mov qword [rbp + 0x310], rcx
mov qword [rbp + 0x318], rdx
mov rcx, qword [rbp + 0x318]
call fcn.0040fd20
nop
mov dword [rbp + 0x8c], 0
mov dword [rbp + 0x88], 0
mov rcx, qword [rbp + 0x310]
call fcn.0040fb50
nop
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x318]
lea r8, [0x0055f38c]
call fcn.00411310
mov rcx, qword [rbp + 0x70]
call fcn.00410ef0
mov rcx, rax
lea rdx, [rbp + 0x90]
call sub.kernel32.dll_FindFirstFileW
mov qword [rbp + 0x2e0], rax
cmp qword [rbp + 0x2e0], 0xffffffffffffffff
je 0x55f266
lea rcx, [rbp + 0x2f8]
lea rdx, [rbp + 0xbc]
mov r8d, 0x104
call fcn.00410fb0
mov eax, dword [rbp + 0x90]
test eax, 0x10
je 0x55f216
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x2f8]
lea r8, [0x0055f3a0]
call fcn.00411310
lea rcx, [rbp + 0x2e8]
mov rdx, qword [rbp + 0x68]
call fcn.00411240
add dword [rbp + 0x88], 1
jno 0x55f24b
call fcn.0040c210
jmp 0x55f24b
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x2f8]
lea r8, [0x0055f3a0]
call fcn.00411310
lea rcx, [rbp + 0x2f0]
mov rdx, qword [rbp + 0x60]
call fcn.00411240
add dword [rbp + 0x8c], 1
jno 0x55f24b
call fcn.0040c210
mov rcx, qword [rbp + 0x2e0]
lea rdx, [rbp + 0x90]
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x55f1b8
mov rcx, qword [rbp + 0x2e0]
call sub.kernel32.dll_FindClose
nop
lea rcx, [rbp + 0x58]
mov edx, dword [rbp + 0x88]
call fcn.00432dd0
lea rcx, [rbp + 0x50]
mov edx, dword [rbp + 0x8c]
call fcn.00432dd0
mov rcx, qword [rbp + 0x310]
mov edx, 8
lea r8, [0x0055f3b0]
mov r9, qword [rbp + 0x58]
lea rax, [0x0055f3a0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x2e8]
mov qword [rsp + 0x28], rax
lea rax, [0x0055f3d0]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [0x0055f3a0]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x2f0]
mov qword [rsp + 0x48], rax
call fcn.00411440
nop
lea rcx, [rbp + 0x50]
mov edx, 5
call fcn.0040fc30
lea rcx, [rbp + 0x2e8]
mov edx, 3
call fcn.0040fc30
lea rcx, [rbp + 0x318]
call fcn.0040fb50
mov rax, qword [rbp + 0x310]
lea rsp, [rbp + 0x300]
pop rbp
ret
Function at 0x55f630
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov eax, 0xfa0
sub rax, 0x1000
mov byte [rsp + rax], al
cmp rax, 0xffffffffffff7fa0
ja 0x55f636
sub rsp, 0x8060
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x8070], rcx
mov qword [rbp + 0x8078], rdx
mov qword [rbp + 0x8080], r8
mov qword [rbp + 0x8088], r9
mov rcx, qword [rbp + 0x8078]
call fcn.0040fd20
mov rcx, qword [rbp + 0x8080]
call fcn.0040fd20
mov rcx, qword [rbp + 0x8088]
call fcn.0040fd20
nop
mov rcx, qword [rbp + 0x8078]
call fcn.0055f3e0
mov qword [rbp + 0x8058], rax
lea rcx, [rbp + 0x4e]
mov edx, 0x3fff
xor r8, r8
call fcn.0040b880
mov rcx, qword [rbp + 0x8080]
call fcn.00410ef0
mov rcx, qword [rbp + 0x8058]
mov rdx, rax
xor r8, r8
mov r9d, 1
lea rax, [rbp + 0x8050]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
mov dword [rbp + 0x804c], 0x3fff
mov rcx, qword [rbp + 0x8088]
call fcn.00410ef0
mov rcx, qword [rbp + 0x8050]
mov rdx, rax
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x4e]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x804c]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
mov rcx, qword [rbp + 0x8050]
call sub.advapi32.dll_RegCloseKey
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x4e]
mov r8d, 0x3fff
call fcn.00410fb0
cmp qword [rbp + 0x38], 0
je 0x55f76b
mov rcx, qword [rbp + 0x8070]
lea rdx, [rbp + 0x4e]
mov r8d, 0x3fff
call fcn.00410fb0
nop
lea rcx, [rbp + 0x38]
call fcn.0040fb50
lea rcx, [rbp + 0x8078]
mov edx, 3
call fcn.0040fc30
mov rax, qword [rbp + 0x8070]
lea rsp, [rbp + 0x8060]
pop rbp
ret
Function at 0x55f7d0
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x80], rcx
nop
mov rcx, qword [rbp + 0x80]
call fcn.0040fb50
mov dword [rbp + 0x64], 0
call sub.kernel32.dll_GetLogicalDrives
mov dword [rbp + 0x6c], eax
mov dword [rbp + 0x68], 0
mov eax, 1
movzx rcx, byte [rbp + 0x68]
shl eax, cl
mov ecx, dword [rbp + 0x6c]
test eax, ecx
je 0x55f9a7
lea rcx, [rbp + 0x48]
mov edx, dword [rbp + 0x68]
add edx, 0x41
jno 0x55f85a
call fcn.0040c210
call fcn.00410f30
lea rcx, [rbp + 0x48]
lea rdx, [0x0055fa38]
call fcn.00411240
mov rcx, qword [rbp + 0x48]
call fcn.00410ef0
mov rcx, rax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
jg 0x55f8a3
cmp eax, 3
je 0x55f902
sub eax, 1
cmp eax, 0xffffffff
je 0x55f8ba
test eax, eax
je 0x55f8cc
sub eax, 1
test eax, eax
jne 0x55f936
jmp 0x55f8de
sub eax, 4
test eax, eax
je 0x55f914
sub eax, 1
test eax, eax
je 0x55f8f0
sub eax, 1
test eax, eax
jne 0x55f936
jmp 0x55f926
lea rcx, [rbp + 0x58]
lea rdx, [0x0055fa4c]
call fcn.00410240
jmp 0x55f936
lea rcx, [rbp + 0x58]
lea rdx, [0x0055fa5c]
call fcn.00410240
jmp 0x55f936
lea rcx, [rbp + 0x58]
lea rdx, [0x0055fa6c]
call fcn.00410240
jmp 0x55f936
lea rcx, [rbp + 0x58]
lea rdx, [0x0055fa7c]
call fcn.00410240
jmp 0x55f936
lea rcx, [rbp + 0x58]
lea rdx, [0x0055fa8c]
call fcn.00410240
jmp 0x55f936
lea rcx, [rbp + 0x58]
lea rdx, [0x0055fa9c]
call fcn.00410240
jmp 0x55f936
lea rcx, [rbp + 0x58]
lea rdx, [0x0055faac]
call fcn.00410240
lea rcx, [rbp + 0x40]
mov edx, dword [rbp + 0x68]
add edx, 0x41
jno 0x55f947
call fcn.0040c210
call fcn.00410f30
lea rcx, [rbp + 0x40]
lea rdx, [0x0055fa38]
call fcn.00411240
mov rcx, qword [rbp + 0x40]
call fcn.00410ef0
lea rcx, [rbp + 0x38]
mov rdx, rax
call fcn.00410f80
lea rcx, [rbp + 0x50]
mov edx, 4
mov r8, qword [rbp + 0x50]
mov r9, qword [rbp + 0x38]
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea rax, [0x0055fabc]
mov qword [rsp + 0x28], rax
call fcn.00411440
add dword [rbp + 0x64], 1
jno 0x55f9a7
call fcn.0040c210
add dword [rbp + 0x68], 1
cmp dword [rbp + 0x68], 0x1a
jne 0x55f832
nop
lea rcx, [rbp + 0x30]
mov edx, dword [rbp + 0x64]
call fcn.00432dd0
mov rcx, qword [rbp + 0x80]
mov edx, 4
lea r8, [0x0055facc]
mov r9, qword [rbp + 0x30]
lea rax, [0x0055fabc]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x28], rax
call fcn.00411440
nop
lea rcx, [rbp + 0x30]
mov edx, 6
call fcn.0040fc30
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x560920
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x228
mov rbp, rsp
mov qword [rbp + 0x240], rcx
mov word [rbp + 0x248], dx
lea rcx, [rbp + 0x1b0]
mov edx, 0x68
xor r8, r8
call fcn.0040b880
mov dword [rbp + 0x1b0], 0x68
movzx rax, word [rbp + 0x248]
mov word [rbp + 0x1f0], ax
lea rcx, [rbp + 0xf8]
mov rdx, qword [rbp + 0x240]
call fcn.00433f30
mov rbx, rax
lea rcx, [rbp + 0x58]
xor edx, edx
call fcn.00433f30
mov rcx, rbx
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x198]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
mov dword [rbp + 0x21c], eax
mov rcx, qword [rbp + 0x1a0]
call sub.kernel32.dll_CloseHandle
mov eax, dword [rbp + 0x21c]
lea rsp, [rbp + 0x228]
pop rbx
pop rbp
ret
Function at 0x566f70
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rsi, rcx
mov eax, dword [rsi + 0x24]
cmp eax, 0xcc
je 0x567046
cmp eax, 0xcb
je 0x566fd7
cmp eax, 0xca
jne 0x566fb9
mov rcx, rsi
call fcn.00567730
cmp dword [rsi + 0x58], 0
je 0x566fd0
mov dword [rsi + 0x24], 0xcf
mov eax, 1
jmp 0x567053
mov rcx, qword [rsi]
mov dword [rcx + 0x28], 0x14
mov dword [rcx + 0x2c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
jmp 0x567046
mov dword [rsi + 0x24], 0xcb
mov rax, qword [rsi + 0x240]
cmp dword [rax + 0x20], 0
je 0x56703a
mov rdx, qword [rsi + 0x10]
jmp 0x566ff9
add eax, dword [rsi + 0x1a4]
mov dword [rdx + 0xc], eax
test rdx, rdx
je 0x567003
mov rcx, rsi
call qword [rdx]
mov rax, qword [rsi + 0x240]
mov rcx, rsi
call qword [rax]
test eax, eax
je 0x567051
cmp eax, 2
je 0x56703a
mov rdx, qword [rsi + 0x10]
or eax, 2
cmp eax, 3
jne 0x566ff9
test rdx, rdx
je 0x566ff9
mov ecx, dword [rdx + 8]
mov eax, dword [rdx + 0xc]
inc ecx
mov dword [rdx + 8], ecx
cmp ecx, eax
jl 0x566ff9
jmp 0x566ff0
mov eax, dword [rsi + 0xac]
mov dword [rsi + 0xb4], eax
mov rcx, rsi
add rsp, 0x28
pop rsi
pop rbp
jmp 0x567060
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rcx
cmp dword [rsi + 0x24], 0xcc
je 0x567098
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov dword [rsi + 0x24], 0xcc
mov rdx, qword [rsi + 0x220]
cmp dword [rdx + 0x10], 0
je 0x56713d
lea r14, [rsi + 0xa8]
mov eax, dword [rsi + 0xa8]
mov ecx, dword [rsi + 0x8c]
cmp eax, ecx
jae 0x56710e
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x5670da
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], ecx
mov rcx, rsi
call qword [rdx]
mov eax, dword [rsi + 0xa8]
mov edi, eax
mov rax, qword [rsi + 0x228]
xor ebx, ebx
xor edx, edx
xor r9d, r9d
mov rcx, rsi
mov r8, r14
call qword [rax + 8]
mov eax, dword [rsi + 0xa8]
cmp eax, edi
je 0x567151
mov ecx, dword [rsi + 0x8c]
cmp eax, ecx
jb 0x5670c0
mov rdx, qword [rsi + 0x220]
mov rcx, rsi
call qword [rdx + 8]
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov rdx, qword [rsi + 0x220]
xor eax, eax
cmp dword [rdx + 0x10], 0
jne 0x5670b6
cmp dword [rsi + 0x5c], 1
mov eax, 0xce
sbb eax, 0
mov dword [rsi + 0x24], eax
mov ebx, 1
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x567060
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rsi, rcx
mov eax, dword [rsi + 0x24]
cmp eax, 0xcc
je 0x567046
cmp eax, 0xcb
je 0x566fd7
cmp eax, 0xca
jne 0x566fb9
mov rcx, rsi
call fcn.00567730
cmp dword [rsi + 0x58], 0
je 0x566fd0
mov dword [rsi + 0x24], 0xcf
mov eax, 1
jmp 0x567053
mov rcx, qword [rsi]
mov dword [rcx + 0x28], 0x14
mov dword [rcx + 0x2c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
jmp 0x567046
mov dword [rsi + 0x24], 0xcb
mov rax, qword [rsi + 0x240]
cmp dword [rax + 0x20], 0
je 0x56703a
mov rdx, qword [rsi + 0x10]
jmp 0x566ff9
add eax, dword [rsi + 0x1a4]
mov dword [rdx + 0xc], eax
test rdx, rdx
je 0x567003
mov rcx, rsi
call qword [rdx]
mov rax, qword [rsi + 0x240]
mov rcx, rsi
call qword [rax]
test eax, eax
je 0x567051
cmp eax, 2
je 0x56703a
mov rdx, qword [rsi + 0x10]
or eax, 2
cmp eax, 3
jne 0x566ff9
test rdx, rdx
je 0x566ff9
mov ecx, dword [rdx + 8]
mov eax, dword [rdx + 0xc]
inc ecx
mov dword [rdx + 8], ecx
cmp ecx, eax
jl 0x566ff9
jmp 0x566ff0
mov eax, dword [rsi + 0xac]
mov dword [rsi + 0xb4], eax
mov rcx, rsi
add rsp, 0x28
pop rsi
pop rbp
jmp 0x567060
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rcx
cmp dword [rsi + 0x24], 0xcc
je 0x567098
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov dword [rsi + 0x24], 0xcc
mov rdx, qword [rsi + 0x220]
cmp dword [rdx + 0x10], 0
je 0x56713d
lea r14, [rsi + 0xa8]
mov eax, dword [rsi + 0xa8]
mov ecx, dword [rsi + 0x8c]
cmp eax, ecx
jae 0x56710e
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x5670da
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], ecx
mov rcx, rsi
call qword [rdx]
mov eax, dword [rsi + 0xa8]
mov edi, eax
mov rax, qword [rsi + 0x228]
xor ebx, ebx
xor edx, edx
xor r9d, r9d
mov rcx, rsi
mov r8, r14
call qword [rax + 8]
mov eax, dword [rsi + 0xa8]
cmp eax, edi
je 0x567151
mov ecx, dword [rsi + 0x8c]
cmp eax, ecx
jb 0x5670c0
mov rdx, qword [rsi + 0x220]
mov rcx, rsi
call qword [rdx + 8]
mov rax, qword [rsi + 0x220]
mov rcx, rsi
call qword [rax]
mov dword [rsi + 0xa8], 0
mov rdx, qword [rsi + 0x220]
xor eax, eax
cmp dword [rdx + 0x10], 0
jne 0x5670b6
cmp dword [rsi + 0x5c], 1
mov eax, 0xce
sbb eax, 0
mov dword [rsi + 0x24], eax
mov ebx, 1
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x5672d0
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov edi, edx
mov rsi, rcx
mov eax, dword [rsi + 0x24]
cmp eax, 0xcc
je 0x567307
cmp eax, 0xcf
je 0x567307
mov rcx, qword [rsi]
mov dword [rcx + 0x28], 0x14
mov dword [rcx + 0x2c], eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test edi, edi
mov eax, 1
cmovg eax, edi
mov rcx, qword [rsi + 0x240]
cmp dword [rcx + 0x24], 0
je 0x567329
mov ecx, dword [rsi + 0xac]
cmp eax, ecx
cmovg eax, ecx
mov dword [rsi + 0xb4], eax
mov rcx, rsi
add rsp, 0x20
pop rdi
pop rsi
pop rbp
jmp 0x567060
Function at 0x140003000
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140002fc2
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140003bc0
Capabilities:
Parse pe header

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

Function at 0x140003c91
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1405784d0]
mov r8, rcx
mov rcx, r9
call fcn.140003bc0
test eax, eax
je 0x140003cbd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140003be4
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400085a0
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 0x1400085d2
call fcn.1400432fc
mov dword [rax], 0x16
call fcn.14005a368
jmp 0x1400086f1
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400086f1
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400086f1
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140008601
lock or dword [rcx + 0x14], 0x10
jmp 0x1400086f1
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140008615
call fcn.1400a1668
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140077ea8
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1400686b8
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400086df
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1400086aa
mov rcx, rsi
call fcn.140077ea8
cmp eax, edi
je 0x140008695
mov rcx, rsi
call fcn.140077ea8
cmp eax, 0xfffffffe
je 0x140008695
mov rcx, rsi
call fcn.140077ea8
movsxd rbx, eax
lea r14, [0x1409b2a00]
mov rcx, rsi
sar rbx, 6
call fcn.140077ea8
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14000869c
lea rdx, [0x1406639a0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400086aa
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400086ce
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400086ce
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400086ce
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 0x1400086f4
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 0x140038280
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x14063fa20]
movdqu xmmword [rsp + 0x60], xmm1
xor edi, edi
mov word [rsp + 0x50], di
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
mov word [rsp + 0x30], di
mov qword [rbp + 0xa8], rdi
mov dword [rbp + 0x98], edi
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x70]
call fcn.1405e6460
mov dword [rbp + 0xa0], 0xfe
lea rdx, [rsp + 0x50]
lea ecx, [rdi + 0x13]
call fcn.1400963b0
lea rdx, [rsp + 0x30]
lea ecx, [rdi + 0x14]
call fcn.1400963b0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400383a0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x98]
xor r8d, r8d
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140038392
cmp dword [rbp + 0x98], 1
jne 0x140038392
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.14000c560
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400383de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400383d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038440
call fcn.14005fc58
movdqa xmm0, xmmword [0x14063fa20]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], di
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14003842f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003842a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003843a
call fcn.14005fc58
add rsp, 0x170
pop rdi
pop rbx
pop rbp
ret
call fcn.140070b34
nop
call fcn.140070b34
nop
int3
Function at 0x1400401f0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140040210
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004c46c
or eax, 0xffffffff
jmp 0x140040212
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400426b8
Capabilities:
Parse pe header

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