joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001c0c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c80], 0
lea rbx, [rcx + 0x5c88]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001c167
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001c11a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001e480
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800068e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c80]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c90]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180085a20]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001c16f
mov rcx, rbx
call fcn.1800068e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001c5f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180085a28]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001c653
mov qword [rsp], rbx
lea rbx, [0x180073570]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001c633
cmp byte [r8], r9b
jne 0x18001c633
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18001c620
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bf8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18001c687
mov r10, qword [r10 + 0x5c00]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001c68e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18001c674
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x180043730
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x1800437bc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180043790
lea r11, [0x180073570]
nop
cmp r9b, 0x23
jne 0x180043773
cmp byte [r8], r9b
jne 0x180043773
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180043760
mov rcx, qword [0x180085a28]
not eax
cmp dword [rcx + 0x3f30], eax
jne 0x1800437a7
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x180043819
mov byte [rcx + 0x3f64], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x180085a28]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ed0]
movsxd rcx, dword [rbx + 0xf0]
mov rax, qword [rbx + 0xf8]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, rdi
call fcn.180006070
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f18], eax
jne 0x180043812
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.18001d790
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180046210
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov ebx, ecx
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
lea rdi, [0x180095e50]
mov ecx, eax
mov r8d, 0x80
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
mov ecx, eax
cmp ebx, 0x26
jne 0x180046258
lea rax, [0x180078860]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 0x28
jne 0x18004626f
lea rax, str.Down
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 0x25
jne 0x180046286
lea rax, str.Left
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 0x27
jne 0x18004629d
lea rax, str.Right
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
lea rax, str.Unknown
test ecx, ecx
cmovne rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1800462c0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180085010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18004630f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180097900]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004634d
cmp rsi, r14
jb 0x180046345
cmp rsi, r15
jae 0x180046345
cmp qword [rsi + 8], 0
jne 0x180046517
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180046330
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800463e2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800463d9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800463d9
cmp dword [rsp + 0x40], 0x10000
je 0x18004645b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800463d9
sub rbx, rbp
cmp rbx, r14
jae 0x1800463a0
test rsi, rsi
jne 0x1800464c0
cmp rdi, r15
ja 0x1800464ff
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800464ff
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800464ff
cmp dword [rsp + 0x40], 0x10000
je 0x180046491
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180046412
jmp 0x1800464ff
test rbx, rbx
je 0x1800463d9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800464c0
cmp rbx, r14
jae 0x180046380
jmp 0x1800463e2
test rdi, rdi
je 0x1800464ff
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800464c0
cmp rdi, r15
jbe 0x1800463f0
jmp 0x1800464ff
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800464d0
mov rax, qword [0x180097900]
mov qword [rsi], rax
mov qword [0x180097900], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18004e500
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180046f30
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180085010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov r14d, edx
xor edx, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
mov ebp, r8d
mov edi, r15d
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800470d9
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180047076
lea edi, [r15 + 1]
nop
cmp dword [rsp + 0x20], 0x10
jb 0x180047030
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180047030
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180047030
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180046ff2
mov rcx, qword [0x180085c58]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180047059
jmp 0x180047023
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180047023
mov rcx, qword [0x180085c58]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180047059
mov qword [rbx], rax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180046fa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180047076
mov r8, qword [rbx]
mov edi, r15d
test r8, r8
je 0x180047076
mov rcx, qword [0x180085c58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1800470d9
cmp qword [rbx], r15
je 0x1800470d4
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x1800470d4
mov rax, qword [rbx]
xor edx, edx
mov ecx, edi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800470cd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180046d80
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180047091
mov eax, r15d
jmp 0x1800470de
mov eax, 9
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18004e500
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180047100
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180085010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x1800978f0]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180047169
mov eax, 0xa
jmp 0x1800471b6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180047185
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004e500
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1800471e0
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov edx, dword [0x1800978fc]
xor ebx, ebx
test edx, edx
je 0x18004720f
mov rcx, qword [0x1800978f0]
add rcx, 0x20
nop dword [rax]
test byte [rcx], 2
je 0x180047217
inc ebx
add rcx, 0x38
cmp ebx, edx
jb 0x180047200
xor eax, eax
add rsp, 0x30
pop rbx
ret
cmp ebx, 0xffffffff
je 0x18004720f
mov edx, 0xffffffff
mov qword [rsp + 0x50], rdi
mov r8d, 1
lea rcx, [rsp + 0x20]
call fcn.180046f30
mov edi, eax
test eax, eax
jne 0x1800472f2
mov eax, dword [0x1800978fc]
cmp ebx, eax
jae 0x18004727d
nop word [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1800978f0]
test byte [rdx + rcx + 0x20], 2
jne 0x180047277
mov ecx, ebx
call fcn.180047100
mov edi, eax
test eax, eax
jne 0x18004727d
mov eax, dword [0x1800978fc]
inc ebx
cmp ebx, eax
jb 0x180047250
cmp qword [rsp + 0x20], 0
je 0x1800472f0
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800472dc
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800472c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800472a0
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180085c58]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
Function at 0x180047680
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x180085c50], esi
je 0x1800476d1
nop
cmp rbx, 0x20
jae 0x1800476ba
xor ecx, ecx
jmp 0x1800476bc
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180085c50], esi
jne 0x1800476b0
cmp qword [0x180085c58], r15
je 0x1800477c4
test rdi, rdi
jne 0x1800476ef
call fcn.1800471e0
mov esi, eax
jmp 0x1800477c9
mov ecx, dword [0x1800978fc]
mov ebx, r15d
test ecx, ecx
je 0x180047715
mov r8, qword [0x1800978f0]
mov rax, r8
cmp rdi, qword [rax]
je 0x18004771f
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180047706
mov esi, 4
jmp 0x1800477c9
cmp ebx, 0xffffffff
je 0x180047715
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x1800477bd
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180046f30
mov esi, eax
test eax, eax
jne 0x1800477c9
mov ecx, ebx
call fcn.180047100
mov esi, eax
cmp qword [rsp + 0x20], r15
je 0x1800477c9
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800477a7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180047798
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180047770
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180085c58]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800477c9
mov esi, 5
jmp 0x1800477c9
mov esi, 2
xchg dword [0x180085c50], r15d
mov rbx, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1400039f8
Capabilities:
Delete directory

Disassembly:
xor rax, rax
push rax
push rax
sub rsp, 0x28
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
push qword [0x14001d6a0]
push qword [0x14001d6a0]
pop rcx
sub rsp, 0x20
call fcn.140010a2c
add rsp, 0x20
inc qword [0x14001d6a0]
push qword [0x14001cc50]
mov rdx, qword [0x14001d6b0]
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400099d8
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400145c0
mov rcx, qword [rsp + 0x28]
xor rdx, rdx
call fcn.140014680
or rax, rax
jne 0x140003afb
mov rcx, qword [rsp + 0x28]
push qword [0x14001d6a0]
sub rsp, 0x28
call fcn.1400146e0
add rsp, 0x28
lea rcx, [0x14001cbd8]
pop rdx
call fcn.1400145c0
push qword [0x14001cbd8]
pop rcx
call fcn.1400109f4
mov rcx, qword [0x14001cb08]
xor rdx, rdx
call fcn.140014680
or rax, rax
jne 0x140003ac7
push qword [0x14001cb08]
pop rcx
call fcn.140004068
push qword [0x14001cbf0]
push 1
pop rcx
pop rdx
call fcn.140010fc0
and rax, rax
je 0x140003afb
push qword [0x14001cbe8]
push 1
pop rcx
pop rdx
call fcn.140011350
push 1
pop rcx
call fcn.140010bc0
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
push qword [0x14001d6a0]
push qword [0x14001d6a0]
pop rcx
sub rsp, 0x20
call fcn.14000a70c
add rsp, 0x20
mov rdx, qword [0x14001d6b0]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010958
add rsp, 0x28
mov rdx, qword [0x14001d6b0]
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.1400109f4
add rsp, 0x28
pop qword [0x14001d6a0]
push qword [0x14001ccb8]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
xor rax, rax
mov qword [0x14001cab0], rax
jmp 0x140002216
Function at 0x140003d18
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
push 0x400
pop rcx
call fcn.140010560
mov qword [rsp + 0x28], rax
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
pop rcx
sub rsp, 0x20
call fcn.140010804
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400145c0
push qword [rsp + 0x28]
push 0
movabs rax, 0x14001b01e
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
pop r9
call sub.KERNEL32.dll_GetTempFileNameA
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
push qword [rsp + 0x40]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010630
add rsp, 0x28
lea rcx, [0x14001ccb8]
pop rdx
call fcn.1400145c0
push qword [rsp + 0x28]
pop rcx
call fcn.1400106b0
push qword [0x14001ccb8]
pop rcx
call fcn.1400108d0
push qword [0x14001ccb8]
pop rcx
call fcn.1400108d8
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
pop rcx
sub rsp, 0x20
call fcn.140010a2c
add rsp, 0x28
lea rcx, [0x14001cbd8]
pop rdx
call fcn.1400145c0
push qword [rsp + 0x50]
pop rcx
call fcn.140010580
mov rax, rax
push rax
xor r15, r15
cmp r15, qword [rsp]
jne 0x140003e53
mov rcx, qword [0x14001ccb8]
push qword [0x14001d6a0]
sub rsp, 0x20
call fcn.1400146e0
add rsp, 0x20
lea rcx, [0x14001cbd8]
pop rdx
sub rsp, 0x28
call fcn.1400145c0
add rsp, 0x28
mov qword [rsp + 0x40], 2
jmp 0x140003e69
mov r15, 1
cmp r15, qword [rsp]
jne 0x140003e69
mov qword [rsp + 0x40], 1
pop rax
mov r15, qword [rsp + 0x50]
add r15, qword [rsp + 0x38]
mov rax, r15
push rax
pop rcx
call fcn.140010580
mov qword [0x14001cc40], rax
mov r15, qword [rsp + 0x50]
add r15, qword [rsp + 0x38]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.140010580
mov qword [0x14001cab8], rax
mov rax, 1
jmp 0x140003eaf
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400147c0
add rsp, 0x28
pop rax
add rsp, 0x40
pop r15
ret
Function at 0x140003eca
Capabilities:
Accept command line arguments

Disassembly:
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
mov rax, qword [rsp + 0x80]
mov qword [0x14001d6a0], rax
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
sub rsp, 8
sub rsp, 0x20
call sub.KERNEL32.dll_GetCommandLineA
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010630
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400145c0
mov rcx, qword [rsp + 0x28]
push qword [0x14001d6a0]
sub rsp, 0x28
call fcn.1400146e0
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400145c0
mov rax, qword [rsp + 0x30]
mov rax, rax
push rax
pop rcx
call sub.SHLWAPI.DLL_PathRemoveArgsA
mov qword [rsp + 0x38], rax
push qword [rsp + 0x30]
pop rcx
call fcn.140006310
mov qword [rsp + 0x40], rax
mov r15, qword [rsp + 0x40]
and r15, r15
jle 0x140003ff6
push qword [0x14001d6a0]
movabs rcx, str.__BFINOPSX
sub rsp, 0x28
call fcn.1400146e0
add rsp, 0x28
push qword [0x14001d6a0]
push qword [0x14001d6a0]
push qword [0x14001d6a0]
push qword [0x14001d6a0]
mov r15, qword [rsp + 0x68]
inc r15
mov rax, r15
push rax
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140006400
add rsp, 0x20
mov rdx, qword [0x14001d6b0]
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140006150
add rsp, 0x20
pop rax
lea rcx, [rsp + 0x50]
pop rdx
call fcn.1400145c0
mov rcx, qword [rsp + 0x48]
push qword [0x14001d6a0]
sub rsp, 0x28
call fcn.1400146e0
add rsp, 0x28
pop rax
add rax, qword [0x14001d6b0]
jmp 0x140004029
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400147c0
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400147c0
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.1400147c0
add rsp, 0x28
pop rax
add rsp, 0x50
pop r15
ret
Function at 0x1400055f4
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
mov r15, qword [0x14001cc40]
cmp r15, 1
jne 0x1400056da
push qword [0x14001cd18]
pop rcx
call fcn.14000c1c0
mov r15, rax
and r15, r15
jle 0x140005670
mov rcx, qword [0x14001cd18]
call fcn.14000c1c8
mov rcx, qword [0x14001cd18]
call fcn.14000c1dc
or rax, rax
je 0x140005670
mov rbp, qword [0x14001cd20]
push qword [rbp + 0x10]
pop rcx
call fcn.140012a40
mov r15, rax
movsxd rax, dword [rbp + 0x18]
cmp r15, rax
jne 0x14000566e
mov rbp, qword [0x14001cd20]
push qword [rbp + 0x10]
pop rcx
call fcn.1400108d0
jmp 0x140005631
push qword [0x14001cd28]
pop rcx
call fcn.14000c1c0
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400056da
push 5
push 0
push 1
push qword [0x14001cd28]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009280
mov rcx, qword [0x14001cd28]
call fcn.14000c1c8
mov rcx, qword [0x14001cd28]
call fcn.14000c1dc
or rax, rax
je 0x1400056da
mov rbp, qword [0x14001cd30]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
jmp 0x1400056b7
mov rax, 1
jmp 0x1400056e6
add rsp, 0x38
pop r15
pop rbp
ret
Function at 0x1400056ee
Capabilities:
Accept command line arguments
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
push qword [0x14001cbf0]
push 1
pop rcx
pop rdx
call fcn.140010fc0
and rax, rax
je 0x14000594d
push qword [0x14001cc18]
push 1
pop rcx
pop rdx
call fcn.140011400
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
push qword [0x14001d6a0]
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
sub rsp, 8
sub rsp, 0x20
call sub.KERNEL32.dll_GetCommandLineA
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010630
add rsp, 0x28
mov rdx, qword [0x14001d6b0]
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call sub.SHLWAPI.DLL_PathGetArgsA
add rsp, 0x20
pop qword [0x14001d6a0]
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010630
add rsp, 0x28
inc qword [0x14001d6a0]
push qword [0x14001cc80]
mov rdx, qword [0x14001d6b0]
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14000a03c
add rsp, 0x28
pop qword [0x14001d6a0]
push qword [0x14001cbe8]
push 1
pop rcx
pop rdx
call fcn.140011400
mov r15, qword [0x14001cae0]
cmp r15, 1
jne 0x140005940
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
movabs rbp, 0x14001b13d
mov r15, rbp
movabs rbp, 0x14001b090
sub r15, rbp
mov rax, r15
push rax
movabs rbp, 0x14001b090
mov rax, rbp
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400105a0
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400145c0
push qword [rsp + 0x28]
pop rcx
call fcn.140006310
mov qword [rsp + 0x30], rax
push qword [rsp + 0x30]
pop rcx
call fcn.140010560
mov qword [rsp + 0x38], rax
push qword [rsp + 0x30]
pop rcx
call fcn.140010560
mov qword [rsp + 0x40], rax
push qword [rsp + 0x28]
push qword [rsp + 0x40]
pop rcx
pop rdx
call fcn.1400107c0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x30]
cmp rax, qword [rsp + 0x48]
jl 0x1400058e6
mov r15, qword [rsp + 0x38]
add r15, qword [rsp + 0x48]
mov rax, r15
push rax
pop rcx
call fcn.140010580
mov r15, rax
imul r15, r15, 0xffffffffffffffff
mov rax, r15
push rax
mov r15, qword [rsp + 0x48]
add r15, qword [rsp + 0x50]
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.140010590
inc qword [rsp + 0x48]
jno 0x14000589f
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
sub rsp, 8
push qword [0x14001d6a0]
push qword [rsp + 0x68]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140010630
add rsp, 0x28
inc qword [0x14001d6a0]
push 1
mov rdx, qword [0x14001d6b0]
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140011400
add rsp, 0x28
pop qword [0x14001d6a0]
push 1
pop rcx
call fcn.140010bc0
jmp 0x140005997
push qword [0x14001cbf0]
pop rcx
call fcn.1400108d0
call fcn.1400055f4
push 0x10
push qword [0x14001cc00]
push qword [0x14001ccc0]
pop rcx
pop rdx
pop r8
call fcn.140009924
push qword [0x14001ccb8]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryA
mov rax, 1
mov qword [0x14001cab0], rax
jmp 0x140002216
xor rax, rax
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400147c0
add rsp, 0x28
pop rax
add rsp, 0x58
pop r15
pop rbp
ret