joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14033d120
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
xor edi, edi
mov r13, rdx
mov dword [rbp + 0xc0], edi
lea rdx, [rbp + 0xc0]
or qword [rbp + 0xc0], 0xffffffffffffffff
mov r14, r9
mov r12, r8
mov rsi, rcx
mov r15d, edi
call fcn.14033cc60
xor eax, eax
mov dword [rsp + 0x50], 0x18
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x60], 1
xor r8d, r8d
mov qword [rsp + 0x58], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [0x14045e268], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [0x14045e270], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rcx, [0x140467258]
mov qword [0x14045e278], rax
call fcn.14036b9a0
lea ecx, [rdi + 8]
call fcn.1402dfa60
mov rbx, rax
test rax, rax
je 0x14033d208
mov rcx, rax
call fcn.140031ba0
mov qword [0x140467238], rbx
jmp 0x14033d20f
mov qword [0x140467238], rdi
lea rcx, [fcn.14033e1a0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x14033d090]
mov ecx, 0x16
call fcn.1402fdf60
mov ecx, 0xd0
call fcn.1402dfa60
mov rcx, rax
test rax, rax
je 0x14033d299
mov rax, qword [rbp + 0xc0]
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x68], rax
mov r9, r14
lea rax, [rsp + 0x68]
mov qword [rbp + 0xc0], rbx
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [rbp + 0xf0]
mov rdx, r13
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x20], rax
call fcn.14033c960
jmp 0x14033d2a3
mov rbx, qword [rbp + 0xc0]
mov rax, rdi
cmp byte [rbp + 0x100], dil
je 0x14033d35f
mov qword [rsp + 0x28], rdi
lea r8, [0x14033cc30]
mov r9, rax
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsi + 0x20]
mov r14, rax
test rcx, rcx
je 0x14033d2eb
cmp rcx, rax
je 0x14033d3a3
call fcn.140332aa0
mov qword [rsi + 0x20], rdi
mov qword [rsi + 0x20], r14
test r14, r14
jne 0x14033d35a
lea ebx, [r14 + 2]
mov ecx, ebx
call fcn.14001ea00
test al, al
je 0x14033d33a
call sub.KERNEL32.dll_GetLastError
mov r9d, ebx
mov dword [rsp + 0x20], eax
mov r8d, 0x272
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rcx, [rsp + 0x78]
call fcn.14001d3a0
lea rdx, [0x14040a178]
lea rcx, [rax + 0x10]
call fcn.14000c340
lea r15d, [r14 + 1]
test r15b, 1
je 0x14033d34a
lea rcx, [rsp + 0x78]
call fcn.14001d920
xchg qword [0x140467250], rbx
mov rbx, qword [rbp + 0xc0]
jmp 0x14033d371
mov dil, 1
jmp 0x14033d371
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rax
call fcn.14033d3b0
mov dil, al
cmp rbx, 0xffffffffffffffff
je 0x14033d37f
mov rcx, rbx
call fcn.140332a90
lea r11, [rsp + 0x190]
mov al, dil
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1402e5e60
int3
Function at 0x14033e1a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x230
xor ebx, ebx
mov rdi, rcx
mov dword [rsp + 0x248], ebx
jmp 0x14033e1cb
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lock or dword [rsp], ebx
mov rax, qword [0x140467250]
test rax, rax
je 0x14033e1c0
mov ebp, 2
cmp eax, ebp
jne 0x14033e22f
mov ecx, ebp
call fcn.14001ea00
test al, al
je 0x14033e21c
mov r9d, ebp
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
mov r8d, 0x82
lea rcx, [rsp + 0x20]
call fcn.14001d270
lea rdx, str.crash_server_failed_to_launch__self_terminating
lea rcx, [rax + 8]
call fcn.14000c340
lea ebx, [rbp - 1]
test bl, 1
je 0x14033e2c8
lea rcx, [rsp + 0x20]
jmp 0x14033e2c3
mov eax, 1
lock xadd qword [0x140467280], rax
inc rax
cmp rax, 1
jle 0x14033e251
xor edx, edx
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [0x14045e268]
mov dword [0x140467230], eax
mov qword [0x140467228], rdi
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebp
call fcn.14001ea00
test al, al
je 0x14033e2b6
mov r9d, ebp
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
mov r8d, 0xae
lea rcx, [rsp + 0x128]
call fcn.14001d270
lea rdx, str.crash_server_did_not_respond__self_terminating
lea rcx, [rax + 8]
call fcn.14000c340
mov ebx, ebp
test bpl, bl
je 0x14033e2c8
lea rcx, [rsp + 0x128]
call fcn.14001d4f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x230]
xor eax, eax
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1403402e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r9, qword [rdx]
or r8, 0xffffffffffffffff
xor edx, edx
movabs rcx, 0xcbf29ce484222325
inc r8
cmp byte [r9 + r8], dl
jne 0x1403402f7
test r8, r8
je 0x140340323
movzx eax, byte [rdx + r9]
movabs r10, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r10
cmp rdx, r8
jb 0x140340305
btr ecx, 0x1f
mov edx, 0x1f31d
call fcn.140366a70
mov qword [rsp + 0x38], rax
shr rax, 0x20
imul ecx, eax, 0x41a7
imul eax, dword [rsp + 0x38], 0xb14
sub ecx, eax
jns 0x140340352
add ecx, 0x7fffffff
movsxd rax, ecx
add rsp, 0x28
ret
Function at 0x14035d0e0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword gs:[0x30]
xor ebx, ebx
mov bpl, r9b
mov dword [rsp + 0x498], ebx
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
mov r10, qword [rax + 0x48]
cmp qword [rdx + 0x4d0], r10
jne 0x14035d148
mov rcx, rdx
mov dword [rdx + 0x4f8], ebx
call fcn.14036b610
mov al, 1
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, eax
cmp eax, 0xffffffff
jne 0x14035d1ae
mov edi, 2
mov ecx, edi
call fcn.14001ea00
test al, al
je 0x14035d19b
call sub.KERNEL32.dll_GetLastError
mov r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, 0x97
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rcx, [rsp + 0x30]
call fcn.14001d3a0
lea rdx, [0x1404234d0]
lea rcx, [rax + 0x10]
call fcn.14000c340
lea ebx, [rdi - 1]
test bl, 1
je 0x14035d1aa
lea rcx, [rsp + 0x30]
call fcn.14001d920
xor al, al
jmp 0x14035d130
mov eax, ebx
cmp r14b, 1
mov r8d, 0x4d0
sete al
xor edx, edx
sub ecx, eax
mov dword [rdi + 0x4f8], ecx
mov rcx, rdi
call fcn.1402e2e70
mov rdx, rdi
mov rcx, rsi
test bpl, bpl
je 0x14035d24a
mov dword [rdi], 0x10001f
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x14035d2b8
lea edi, [rax + 2]
mov ecx, edi
call fcn.14001ea00
test al, al
je 0x14035d234
call sub.KERNEL32.dll_GetLastError
mov r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, 0xa8
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rcx, [rsp + 0x140]
call fcn.14001d3a0
lea rdx, [0x1404234e0]
lea rcx, [rax + 0x10]
call fcn.14000c340
mov ebx, edi
test dil, bl
je 0x14035d1aa
lea rcx, [rsp + 0x140]
jmp 0x14035d1a5
mov dword [rdi + 0x30], 0x10001f
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x14035d2b8
lea edi, [rax + 2]
mov ecx, edi
call fcn.14001ea00
test al, al
je 0x14035d2a2
call sub.KERNEL32.dll_GetLastError
mov r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, 0xb0
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rcx, [rsp + 0x250]
call fcn.14001d3a0
lea rdx, [0x1404234f8]
lea rcx, [rax + 0x10]
call fcn.14000c340
lea ebx, [rdi + 2]
test bl, 4
je 0x14035d1aa
lea rcx, [rsp + 0x250]
jmp 0x14035d1a5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14035d12e
lea edi, [rax + 2]
mov ecx, edi
call fcn.14001ea00
test al, al
je 0x14035d310
call sub.KERNEL32.dll_GetLastError
mov r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, 0xb6
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
lea rcx, [rsp + 0x360]
call fcn.14001d3a0
lea rdx, [0x140423510]
lea rcx, [rax + 0x10]
call fcn.14000c340
lea ebx, [rdi + 6]
test bl, 8
je 0x14035d1aa
lea rcx, [rsp + 0x360]
jmp 0x14035d1a5
Function at 0x140360b50
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
xor edi, edi
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x178], edi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x40]
mov ebx, 0xff
cmp edx, ebx
seta al
test al, al
je 0x140360bd1
lea ecx, [rdi + 1]
call fcn.14001ea00
test al, al
je 0x140360bbd
lea r9d, [rdi + 1]
lea r8d, [rbx - 0x5e]
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rcx, [rsp + 0x50]
call fcn.14001d270
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
lea rcx, [rax + 8]
call fcn.14000c340
mov edi, 1
test dil, 1
je 0x140360bcd
lea rcx, [rsp + 0x50]
call fcn.14001d4f0
mov edx, dword [rsp + 0x40]
cmp edx, ebx
seta cl
test cl, cl
movzx ecx, dl
cmove ebx, ecx
mov al, bl
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
Function at 0x140363dc0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rcx
xor edi, edi
add rcx, 0x20
mov dword [rsp + 0x20], edi
mov r14, r8
mov rbp, rdx
call fcn.14036ee30
lea r9, [rsp + 0x130]
mov rdx, rax
lea r8d, [rdi + 0x40]
mov rcx, rsi
call fcn.140364d10
test al, al
jne 0x140363e6e
lea ebx, [rdi + 1]
mov ecx, ebx
call fcn.14001ea00
test al, al
je 0x140363e58
mov r9d, ebx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x119
lea rcx, [rsp + 0x28]
call fcn.14001d270
lea rdx, str.could_not_read_dos_header_from
lea rcx, [rax + 8]
call fcn.14000c340
mov rcx, rax
mov rdx, rsi
call fcn.1400109e0
mov edi, ebx
test bl, dil
je 0x140363e67
lea rcx, [rsp + 0x28]
call fcn.14001d4f0
xor al, al
jmp 0x140363faf
mov eax, 0x5a4d
cmp word [rsp + 0x130], ax
je 0x140363ecb
mov ebx, 1
mov ecx, ebx
call fcn.14001ea00
test al, al
je 0x140363ec5
mov r9d, ebx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x11f
lea rcx, [rsp + 0x28]
call fcn.14001d270
lea rdx, str.invalid_e_magic_in_dos_header_of
lea rcx, [rax + 8]
call fcn.14000c340
mov rcx, rax
mov rdx, rsi
call fcn.1400109e0
lea edi, [rbx + 1]
test dil, 2
jmp 0x140363e5b
lea rcx, [rsi + 0x20]
call fcn.14036ee30
movsxd rbx, dword [rsp + 0x16c]
mov r9, rbp
add rbx, rax
mov r8d, 0x108
mov rdx, rbx
mov rcx, rsi
call fcn.140364d10
test al, al
jne 0x140363f48
mov ebx, 1
mov ecx, ebx
call fcn.14001ea00
test al, al
je 0x140363f3f
mov r9d, ebx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x127
lea rcx, [rsp + 0x28]
call fcn.14001d270
lea rdx, str.could_not_read_nt_headers_from
lea rcx, [rax + 8]
call fcn.14000c340
mov rcx, rax
mov rdx, rsi
call fcn.1400109e0
lea edi, [rbx + 3]
test dil, 4
jmp 0x140363e5b
cmp dword [rbp], 0x4550
je 0x140363fa2
mov ebx, 1
mov ecx, ebx
call fcn.14001ea00
test al, al
je 0x140363f99
mov r9d, ebx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x12d
lea rcx, [rsp + 0x28]
call fcn.14001d270
lea rdx, str.invalid_signature_in_nt_headers_of
lea rcx, [rax + 8]
call fcn.14000c340
mov rcx, rax
mov rdx, rsi
call fcn.1400109e0
lea edi, [rbx + 7]
test dil, 8
jmp 0x140363e5b
test r14, r14
je 0x140363faa
mov qword [r14], rbx
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1402e0100
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140363fd0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rcx
xor edi, edi
add rcx, 0x20
mov dword [rsp + 0x20], edi
mov r14, r8
mov rbp, rdx
call fcn.14036ee30
lea r9, [rsp + 0x130]
mov rdx, rax
lea r8d, [rdi + 0x40]
mov rcx, rsi
call fcn.140364d10
test al, al
jne 0x14036407e
lea ebx, [rdi + 1]
mov ecx, ebx
call fcn.14001ea00
test al, al
je 0x140364068
mov r9d, ebx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x119
lea rcx, [rsp + 0x28]
call fcn.14001d270
lea rdx, str.could_not_read_dos_header_from
lea rcx, [rax + 8]
call fcn.14000c340
mov rcx, rax
mov rdx, rsi
call fcn.1400109e0
mov edi, ebx
test bl, dil
je 0x140364077
lea rcx, [rsp + 0x28]
call fcn.14001d4f0
xor al, al
jmp 0x1403641bf
mov eax, 0x5a4d
cmp word [rsp + 0x130], ax
je 0x1403640db
mov ebx, 1
mov ecx, ebx
call fcn.14001ea00
test al, al
je 0x1403640d5
mov r9d, ebx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x11f
lea rcx, [rsp + 0x28]
call fcn.14001d270
lea rdx, str.invalid_e_magic_in_dos_header_of
lea rcx, [rax + 8]
call fcn.14000c340
mov rcx, rax
mov rdx, rsi
call fcn.1400109e0
lea edi, [rbx + 1]
test dil, 2
jmp 0x14036406b
lea rcx, [rsi + 0x20]
call fcn.14036ee30
movsxd rbx, dword [rsp + 0x16c]
mov r9, rbp
add rbx, rax
mov r8d, 0xf8
mov rdx, rbx
mov rcx, rsi
call fcn.140364d10
test al, al
jne 0x140364158
mov ebx, 1
mov ecx, ebx
call fcn.14001ea00
test al, al
je 0x14036414f
mov r9d, ebx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x127
lea rcx, [rsp + 0x28]
call fcn.14001d270
lea rdx, str.could_not_read_nt_headers_from
lea rcx, [rax + 8]
call fcn.14000c340
mov rcx, rax
mov rdx, rsi
call fcn.1400109e0
lea edi, [rbx + 3]
test dil, 4
jmp 0x14036406b
cmp dword [rbp], 0x4550
je 0x1403641b2
mov ebx, 1
mov ecx, ebx
call fcn.14001ea00
test al, al
je 0x1403641a9
mov r9d, ebx
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
mov r8d, 0x12d
lea rcx, [rsp + 0x28]
call fcn.14001d270
lea rdx, str.invalid_signature_in_nt_headers_of
lea rcx, [rax + 8]
call fcn.14000c340
mov rcx, rax
mov rdx, rsi
call fcn.1400109e0
lea edi, [rbx + 7]
test dil, 8
jmp 0x14036406b
test r14, r14
je 0x1403641ba
mov qword [r14], rbx
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1402e0100
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14036b9a0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword gs:[0x58]
xor ebx, ebx
mov r9d, dword [0x140465358]
mov rbp, rcx
mov ecx, 8
mov edi, r8d
mov esi, edx
mov dword [rsp + 0x168], ebx
mov r10, qword [rax + r9*8]
mov eax, dword [rcx + r10]
cmp dword [0x140467860], eax
jg 0x14036b953
mov r8d, edi
mov edx, esi
mov rcx, rbp
call qword [0x140467858]
test eax, eax
jne 0x14036b938
lea edi, [rax + 2]
mov ecx, edi
call fcn.14001ea00
test al, al
je 0x14036b925
call sub.KERNEL32.dll_GetLastError
mov r9d, edi
mov dword [rsp + 0x20], eax
lea r8d, [rdi + 0x1f]
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
lea rcx, [rsp + 0x30]
call fcn.14001d3a0
lea rdx, str.InitializeCriticalSectionEx
lea rcx, [rax + 0x10]
call fcn.14000c340
lea ebx, [rdi - 1]
test bl, 1
je 0x14036b934
lea rcx, [rsp + 0x30]
call fcn.14001d920
xor al, al
jmp 0x14036b93a
mov al, 1
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rcx, [0x140467860]
call fcn.1402dff10
cmp dword [0x140467860], 0xffffffff
jne 0x14036b8d1
mov r8b, 1
lea rdx, str.::InitializeCriticalSectionEx
lea rcx, [0x1403b1738]
call fcn.14033ab20
lea rcx, [0x140467860]
mov qword [0x140467858], rax
call fcn.1402dfeb0
jmp 0x14036b8d1
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
cmp ecx, 6
jb 0x14036b9d6
jne 0x14036b9c1
shr ax, 8
cmp al, 1
jbe 0x14036b9d6
xor edx, edx
mov r8d, 0x10000000
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14036b880
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140004907
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400123e0
mov r15, qword [0x14002048c]
cmp r15, 1
jne 0x1400049d6
push qword [0x14002057c]
pop rcx
call fcn.14000d5b4
mov r15, rax
and r15, r15
jle 0x14000496c
mov rcx, qword [0x14002057c]
call fcn.14000d5bc
mov rcx, qword [0x14002057c]
call fcn.14000d5d0
or rax, rax
je 0x14000496c
mov rbp, qword [0x140020584]
push qword [rbp + 0x10]
pop rcx
call fcn.14000da6c
jmp 0x140004949
push qword [0x14002056c]
pop rcx
call fcn.14000d5b4
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400049d6
push 5
push 0
push 1
push qword [0x14002056c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009070
mov rcx, qword [0x14002056c]
call fcn.14000d5bc
mov rcx, qword [0x14002056c]
call fcn.14000d5d0
or rax, rax
je 0x1400049d6
mov rbp, qword [0x140020574]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400049b3
mov rax, 1
jmp 0x1400049e2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006a58
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [rsi + 0x44]
call qword [r10 + rcx*2 + 0x4b]
call [rax + rdx*2 + 0x51]
jmp qword [rbx + 0x57]
imul esp, dword [rcx + 0x64], 0xffffffff
jp 0x14003f6a8
jo 0x14003f63b
call [rdi + 0x56]
pop rdi
push rsi
pop rax
inc dword [rax + 0x3a]
cmp edi, edi
and dword [rsi], ebx
invalid
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add byte [rax], al
add bh, bh
add dword [rcx], eax
add edi, edi
or byte [rdi], al
invalid
adc byte [rsi], cl
invalid
adc dl, byte [rax]
adc bh, bh
adc edx, dword [rcx]
adc edi, edi
adc edx, dword [rdx]
adc bh, bh
and eax, 0x4eff2323
ljmp [rdi + 0x6d]
outsb dx, byte [rsi]
jmp qword [rdi + 0x65]
invalid
invalid
Function at 0x14001124e
Capabilities:
Terminate process

Disassembly:
jmp 0x140014950
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011302
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015ca0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015cc0
xor al, al
jmp 0x140015d41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015cd3
xor al, al
jmp 0x140015d41
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140015cfd
xor al, al
jmp 0x140015d41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015d11
xor al, al
jmp 0x140015d41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015d23
xor al, al
jmp 0x140015d41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015d3f
xor al, al
jmp 0x140015d41
mov al, 1
add rsp, 0x38
ret
Function at 0x140001060
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x140042020]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rax, vtable.CDVMFileIO.0
mov qword [rcx], rax
mov qword [rcx + 0x28], 7
xor edi, edi
mov qword [rcx + 0x20], rdi
mov word [rcx + 0x10], di
mov dword [rcx + 8], 0x23
xor r9d, r9d
lea r8d, [rdi + 0x23]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test rbp, rbp
je 0x140001176
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140001e30
nop
mov r8d, 1
lea rdx, [0x14002e908]
lea rcx, [rsp + 0x30]
call fcn.140001cd0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.140001cd0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x10]
call fcn.140001ad0
nop
cmp qword [rsp + 0x48], 8
jb 0x140001174
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
nop
jmp 0x140001176
jmp 0x140001176
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140029670
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003470
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400034fe
cmp word [rcx], 0
je 0x1400034fe
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
test rax, rax
jne 0x1400034ad
mov rbx, qword [rsp + 0x38]
add rsp, 0x28
ret
cmp dword [rsp + 0x30], 1
jne 0x1400034e0
mov rdx, qword [rax]
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
mov rdi, rdx
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [0x140042598]
call fcn.140001e30
mov rdi, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [0x1400425a8], 0
mov rbx, qword [rsp + 0x38]
setne al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret