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

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
sub rsp, 0x80
cmp qword [rdx + 8], 0xffffffffffffffff
mov rbp, r8
mov rdi, rdx
mov esi, ecx
je 0x1400069ab
cmp qword [rdx], 0xffffffffffffffff
je 0x1400069ab
mov rdx, qword [rdx + 0x10]
xor r8d, r8d
call fcn.14000d1b8
test rax, rax
js 0x1400069ab
mov rcx, qword [rdi + 8]
inc rcx
call fcn.14000c174
mov rbx, rax
test rax, rax
je 0x1400069ab
mov r12, qword [rdi + 8]
mov rdx, rax
mov ecx, esi
mov r8d, r12d
call fcn.140018dc8
movsxd rcx, eax
cmp rcx, r12
jne 0x1400069a3
cmp dword [rdi + 0x18], 0
jne 0x1400068f5
mov byte [r12 + rbx], 0
test rbp, rbp
je 0x1400068ed
mov eax, dword [rdi + 8]
mov dword [rbp], eax
mov rax, rbx
jmp 0x1400069ad
cmp dword [rdi + 0x18], 8
jne 0x1400069a3
mov eax, dword [rdi + 8]
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
mov r9d, 0x58
lea r8, str.1.2.11
lea rcx, [rsp + 0x20]
lea edx, [r9 - 0x67]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], eax
call fcn.140007bec
test eax, eax
js 0x1400069a3
mov rcx, qword [rdi]
inc rcx
call fcn.14000c174
mov rsi, rax
test rax, rax
je 0x1400069a3
mov qword [rsp + 0x30], rax
mov eax, dword [rdi]
lea rcx, [rsp + 0x20]
mov edx, 1
mov dword [rsp + 0x38], eax
call fcn.140007dc4
mov rcx, rbx
test eax, eax
jns 0x14000697a
call fcn.14000aaa4
mov rcx, rsi
jmp 0x1400069a6
mov rax, qword [rdi]
mov byte [rsi + rax], 0
call fcn.14000aaa4
lea rcx, [rsp + 0x20]
call fcn.140009448
test eax, eax
js 0x140006975
test rbp, rbp
je 0x14000699e
mov eax, dword [rdi]
mov dword [rbp], eax
mov rax, rsi
jmp 0x1400069ad
mov rcx, rbx
call fcn.14000aaa4
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret

Function at 0x140006a4c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea rdx, [r8 - 0x14]
xor r8d, r8d
mov edi, ecx
call fcn.14000d1b8
mov rsi, rax
test rax, rax
jns 0x140006a7a
or rax, 0xffffffffffffffff
jmp 0x140006aba
mov r8d, 0x14
mov rdx, rbx
mov ecx, edi
call fcn.140018dc8
test eax, eax
js 0x140006a74
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx]
shl ecx, 8
or ecx, eax
or rax, 0xffffffffffffffff
cmp ecx, 0x7064b50
cmove rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006acc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rsi, rdx
mov edi, 2
mov rdx, 0xffffffffffffffea
mov r8d, edi
mov ebp, ecx
call fcn.14000d1b8
mov rbx, rax
test rax, rax
js 0x140006c5c
lea r8d, [rdi + 0x14]
mov rdx, rsi
mov ecx, ebp
call fcn.140018dc8
test eax, eax
js 0x140006c5c
movzx eax, byte [rsi + 2]
movzx ecx, byte [rsi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x140006b69
mov rcx, rsi
call fcn.1400069cc
test eax, eax
je 0x140006b61
mov r8, rbx
mov rdx, rsi
mov ecx, ebp
call fcn.140006a4c
mov rbx, rax
mov rax, rbx
jmp 0x140006c60
mov r8d, edi
xor edx, edx
mov ecx, ebp
call fcn.14000d1b8
mov r13, rax
test rax, rax
js 0x140006c5c
mov r12d, 0x10015
mov r8d, edi
mov ecx, ebp
cmp rax, r12
mov ebx, r12d
cmovl rbx, rax
mov rdx, rbx
neg rdx
call fcn.14000d1b8
test rax, rax
js 0x140006c5c
mov ecx, r12d
call fcn.14000c174
mov rdi, rax
test rax, rax
je 0x140006c5c
mov r8d, ebx
mov rdx, rax
mov ecx, ebp
call fcn.140018dc8
test eax, eax
js 0x140006c54
movsxd r12, eax
add eax, 0xffffffea
movsxd rbx, eax
add r12, rdi
add rbx, rdi
cmp rbx, rdi
jb 0x140006c54
cmp byte [rbx], 0x50
jne 0x140006c2b
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x140006c2b
movzx eax, byte [rbx + 0x15]
shl eax, 8
movsxd rcx, eax
movzx eax, byte [rbx + 0x14]
or rcx, rax
lea rax, [rcx + rbx + 0x16]
cmp rax, r12
je 0x140006c30
dec rbx
jmp 0x140006be2
mov r8d, 0x16
mov rdx, rbx
mov rcx, rsi
call fcn.14000b010
mov rcx, rdi
call fcn.14000aaa4
sub rbx, r12
add rbx, r13
jmp 0x140006b45
mov rcx, rdi
call fcn.14000aaa4
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x14000a6c0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000a530

Function at 0x14000cec8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x14000cef2
call fcn.14000cc40
and dword [rax], 0
call fcn.14000cc20
mov ebx, 0x16
mov dword [rax], ebx
call fcn.14000dd3c
mov eax, ebx
jmp 0x14000cf42
test edx, 0xfffffff9
jne 0x14000ced5
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000cf1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000cc60
call fcn.14000cc20
mov eax, dword [rax]
jmp 0x14000cf42
test al, 0x10
jne 0x14000cf40
test al, 1
je 0x14000cf40
test bl, 2
je 0x14000cf40
call fcn.14000cc40
mov dword [rax], 5
call fcn.14000cc20
mov dword [rax], 0xd
jmp 0x14000cf12
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400121ef
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400270d0]
jne 0x14000b70a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000b706
repz ret
ror rcx, 0x10
jmp 0x140012148
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400297a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140029898]
mov qword [rsp + 0x58], rax
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 0x1400121cd
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, [0x1400297a0]
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 0x1400121ef
mov rax, qword [rsp + 0x88]
mov qword [0x140029898], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140029838], rax
mov rax, qword [0x140029898]
mov qword [0x140029710], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140029820], rax
mov dword [0x140029700], 0xc0000409
mov dword [0x140029704], 1
mov rax, qword [0x1400270d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400270d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140029798], eax
mov ecx, 1
call fcn.140016874
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140023880]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140029798], 0
jne 0x140012276
mov ecx, 1
call fcn.140016874
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 0x1400168c4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400270d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000dd98
xor ebx, ebx
cmp qword [0x140029ca0], rbx
mov rdi, rax
jne 0x1400169d7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140016aae
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140016aae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140029ca0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140029ca8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140029cb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140029cc0], rax
test rax, rax
je 0x1400169ce
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140029cb8], rax
jmp 0x1400169de
mov rax, qword [0x140029cb8]
jmp 0x1400169e5
mov rax, qword [0x140029cb8]
mov r11, qword [0x140029cc0]
cmp rax, rdi
je 0x140016a4c
cmp r11, rdi
je 0x140016a4c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140029cc0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140016a4c
test rax, rax
je 0x140016a4c
call rsi
test rax, rax
je 0x140016a46
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140016a46
test byte [rsp + 0x40], 1
jne 0x140016a4c
bts ebp, 0x15
jmp 0x140016a8c
mov rcx, qword [0x140029ca8]
cmp rcx, rdi
je 0x140016a8c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140016a8c
call rax
mov rbx, rax
test rax, rax
je 0x140016a8c
mov rcx, qword [0x140029cb0]
cmp rcx, rdi
je 0x140016a8c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140016a8c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140029ca0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140016aae
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140016ab0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b6f0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0xfec000
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xfec00d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xfec01d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xfec005
lea eax, [rcx + 1]
jmp 0xfec02b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xfec03e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xfec024
sub eax, 3
jb 0xfec05e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xfec0ad
sar eax, 1
movsxd rbp, eax
jb 0xfec094
jmp 0xfec06c
add ebx, ebx
jne 0xfec06a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xfec094
inc ecx
add ebx, ebx
jne 0xfec07a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xfec094
call r11
adc ecx, ecx
add ebx, ebx
jne 0xfec08d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xfec07c
add ecx, 2
jmp 0xfec099
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00febfc2
jmp 0xfec00d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x570a00
mov dl, 0xa7
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xfec0f9
cmp rsi, rcx
jae 0xfec101
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xfec0e0
cmp al, 0x8f
ja 0xfec0e0
cmp byte [rsi - 2], 0xf
je 0xfec0e6
sub al, 0xe8
cmp al, 1
ja 0xfec0ca
cmp rsi, rcx
jae 0xfec101
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xfec0d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xfec101
lodsb al, byte [rsi]
jmp 0xfec0e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xbe9000]
mov eax, dword [rdi]
or eax, eax
je 0xfec15e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xbec000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xfec10e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xfec158
mov qword [rbx], rax
add rbx, 8
jmp 0xfec12e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xfec1b6
sub rsp, 0xffffffffffffff80
jmp 0x464ec0
Function at 0x140001240
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x140074248]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edi, edi
mov rsi, rcx
test rcx, rcx
je 0x1400012dd
lea eax, [rdx - 1]
test eax, eax
jne 0x1400012dd
cmp edx, 1
jne 0x1400012d8
xor edx, edx
mov qword [rsp + 0x168], rbx
mov r8d, 0x110
lea rcx, [rsp + 0x24]
call fcn.14000d0d0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400012bc
cmp dword [rsp + 0x24], 6
ja 0x1400012b7
jne 0x1400012bc
cmp dword [rsp + 0x28], ebx
jbe 0x1400012bc
mov ebx, 1
shl ebx, 0xb
xor edx, edx
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, qword [rsp + 0x168]
mov rdi, rax
mov rax, rdi
jmp 0x1400012ea
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140009e50
mov rsi, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret

Function at 0x1400016a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
xor eax, eax
mov r9d, 0x101
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000172c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.EulaAccepted
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x40]
jne 0x14000172c
cmp dword [rsp + 0x60], 0
je 0x14000172c
mov eax, 1
add rsp, 0x48
ret
xor eax, eax
add rsp, 0x48
ret
Function at 0x140001740
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x268
mov rax, qword [0x140074248]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r9, rcx
lea r8, str.SoftwareSysinternals
lea rcx, [rsp + 0x40]
lea rdx, str._s_s
call fcn.140002700
lea rdx, str.SoftwareSysinternals
mov rcx, 0xffffffff80000002
call fcn.1400016a0
test eax, eax
jne 0x140001854
lea rdx, str.SoftwareSysinternals
mov rcx, 0xffffffff80000001
call fcn.1400016a0
test eax, eax
jne 0x140001854
xor eax, eax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov r9d, 0x101
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea rax, [rsp + 0x38]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000183a
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.EulaAccepted
lea rax, [rsp + 0x30]
mov qword [rsp + 0x260], rbx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x34], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x260]
jne 0x14000183a
cmp dword [rsp + 0x30], 0
jne 0x140001854
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140009e50
add rsp, 0x268
ret
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140009e50
add rsp, 0x268
ret
Function at 0x140002540
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov r12, r8
mov r14, rdx
mov r13, rcx
mov edi, r15d
lea eax, [r15 + 1]
test rdx, rdx
je 0x14000256f
test r8, r8
jne 0x1400025b1
mov edx, eax
lea rcx, str.Shell32.dll
call fcn.140001240
mov rcx, rax
lea rdx, [0x14005eb38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140002647
lea r14, [0x140075010]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov rdx, r14
call rbx
mov r12, rax
mov ebx, r15d
cmp dword [r14], ebx
jle 0x140002647
mov qword [rsp + 0x50], rbp
mov rbp, r15
mov qword [rsp + 0x58], rsi
nop word [rax + rax]
mov rcx, qword [r12 + rbp*8]
lea rsi, [r12 + rbp*8]
lea rdx, [0x14005eb68]
call fcn.14001a4c0
test eax, eax
je 0x1400025fe
mov rcx, qword [rsi]
lea rdx, str._accepteula
call fcn.14001a4c0
mov edi, r15d
test eax, eax
jne 0x140002603
mov edi, 1
mov ecx, dword [r14]
test edi, edi
jne 0x140002615
invalid
Function at 0x140003b10
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b8
mov rax, qword [0x140074248]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rsi, qword [rsp + 0x320]
mov r14, rdx
mov r13, qword [rsp + 0x328]
mov rbp, rcx
mov rcx, rsi
xor edx, edx
mov r12, r9
mov r15, r8
call fcn.14000d6c8
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov rbx, rax
mov dil, 1
mov dword [rax], 0x2a
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x140003ba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
test eax, 0xffffffef
sete al
jmp 0x140003cad
movzx ecx, word [rsp + 0x7c]
cmp cx, word [0x14005f0f8]
movzx eax, word [rsp + 0x7e]
jne 0x140003bc0
cmp ax, word [0x14005f0fa]
je 0x140003c81
cmp cx, word [0x14005f0fc]
jne 0x140003be7
cmp ax, word [0x14005f0fe]
jne 0x140003be7
movzx eax, word [rsp + 0x80]
cmp ax, word [0x14005f100]
je 0x140003c81
lea rax, [rsp + 0x7c]
mov rdx, rbx
sub rdx, rax
lea rcx, [rsp + 0x7c]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140003c00
mov eax, dword [rsp + 0x50]
bt eax, 0xa
jb 0x140003c81
shr eax, 4
mov r9, r12
and eax, 1
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], eax
mov r8, r15
mov rdx, r14
mov qword [rsp + 0x20], rsi
mov rcx, rbp
call fcn.140003ce0
test byte [rsp + 0x50], 0x10
movzx edi, al
je 0x140003c81
lea rax, [rbx - 2]
nop dword [rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x140003c50
mov ecx, dword [0x14005f104]
mov r9, r12
mov dword [rax], ecx
mov r8, r15
mov rcx, rbp
mov qword [rsp + 0x28], r13
mov rdx, r14
mov qword [rsp + 0x20], rsi
call fcn.140003b10
movzx edi, al
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140003ba0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov word [rbx], ax
movzx eax, dil
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140009e50
add rsp, 0x2b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007260
Capabilities:
Hide graphical window

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x140
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x188], rbx
mov rax, qword [0x140074248]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, r8
mov rbp, rdx
mov r14, rcx
xor edx, edx
lea r8d, [rdx + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14000d0d0
mov dword [rsp + 0x70], 0x50
mov dword [rsp + 0x74], 3
lea rax, [0x140006f60]
mov qword [rsp + 0x78], rax
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], InitCommonControls
lea r12, str.HyperlinkClass
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xa8], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x31]
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [r14 + 8], rax
lea r8, [rsp + 0xd0]
mov edx, 0x5c
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov byte [rsp + 0xe5], 1
lea rcx, [rsp + 0xd0]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rbp
mov byte [r14], 0
test rdi, rdi
je 0x140007377
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x140007370
mov rcx, qword [rax]
jmp 0x140007372
xor ecx, ecx
cmp rcx, rdi
je 0x1400073d1
lea rcx, [r14 + 0x20]
call fcn.1400054b0
mov ecx, 0x18
call fcn.140009e74
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400073c2
mov qword [rax + 8], 0
mov dword [rax + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x1400073c4
test rdi, rdi
jne 0x1400074bd
jmp 0x1400073c4
xor ebx, ebx
mov qword [r14 + 0x20], rbx
test rbx, rbx
je 0x1400074b2
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rsp + 0xc0]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetParent]
mov rdx, rax
mov r9d, 2
lea r8, [rsp + 0xc0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetParent]
mov r9d, dword [rsp + 0xcc]
mov r10d, dword [rsp + 0xc4]
sub r9d, r10d
mov ecx, dword [rsp + 0xc8]
mov r8d, dword [rsp + 0xc0]
sub ecx, r8d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r8d
mov r9d, 0x50000000
lea r8, [0x14005f6e0]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140009e50
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r14
pop r12
pop rdi
pop rsi
pop rbp
mov ecx, 0x8007000e
call fcn.14000ba90
nop
mov ecx, 0x8007000e
call fcn.14000ba90
int3
Function at 0x14001aa4c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14001a784
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001a784
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001a784
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001a784
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001a784
cmp dword [rcx + 0x84], 0xe
jbe 0x14001a784
cmp dword [rcx + 0xf8], esi
je 0x14001a784
mov ecx, r14d
call fcn.14001a954
mov ecx, 2
call fcn.14003c5a4
nop
cmp byte [0x140175920], 0
jne 0x14001a84e
mov r15d, 1
mov eax, r15d
xchg dword [0x140175910], eax
test ebx, ebx
jne 0x14001a7f7
mov rdi, qword [0x140074248]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140175918]
cmp rcx, rax
je 0x14001a7ee
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x1400587f8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140175ca0]
jmp 0x14001a803
cmp ebx, r15d
jne 0x14001a809
lea rcx, [0x140175cb8]
call fcn.140037140
nop
test ebx, ebx
jne 0x14001a820
lea rdx, [0x1400588f8]
lea rcx, [0x1400588d0]
call fcn.140037940
lea rdx, [0x140058908]
lea rcx, [0x140058900]
call fcn.140037940
movzx eax, byte [0x140175920]
test esi, esi
cmove eax, r15d
mov byte [0x140175920], al
jmp 0x14001a84e
mov ecx, 2
call fcn.14003c5f8
test esi, esi
jne 0x14001a865
mov ecx, r14d
call fcn.14001a880
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14001a714