joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003498c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400349bc
xor eax, eax
jmp 0x140034a7f
mov rbp, rbx
cmp word [rax], si
je 0x1400349e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400349c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400349c4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140032f64
movsxd r14, eax
test eax, eax
jne 0x140034a1f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400349b5
mov rcx, r14
call fcn.14002e4e4
mov rdi, rax
test rax, rax
jne 0x140034a38
xor ecx, ecx
call fcn.14002c66c
jmp 0x140034a14
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140032f64
test eax, eax
jne 0x140034a69
mov rcx, rdi
call fcn.14002c66c
jmp 0x140034a73
xor ecx, ecx
call fcn.14002c66c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140036fac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14002b7f4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14003704d
cmp ebx, dword [rsp + 0x30]
je 0x140037046
test esi, esi
je 0x140037046
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140037021
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14003702e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14003700b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140037032
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14003704f
mov eax, 1
jmp 0x14003704f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003aef8
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14002d3ec
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002d3ec
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14003b048
cmp rax, 0xffffffffffffffff
je 0x14003b048
xor edi, edi
test rbp, rbp
jle 0x14003aff3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002c5f4
mov rbx, rax
test rax, rax
jne 0x14003af80
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14003afe9
mov edx, 0x8000
mov ecx, r14d
call fcn.1400293cc
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140031270
cmp eax, 0xffffffff
je 0x14003afc9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14003af90
mov edx, r15d
mov ecx, r14d
call fcn.1400293cc
jmp 0x14003afe9
cmp byte [rsi + 0x38], dil
je 0x14003afe0
cmp dword [rsi + 0x34], 5
jne 0x14003afe0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14003afe9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002c66c
jmp 0x14003b05c
jns 0x14003b05c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002d3ec
cmp rax, 0xffffffffffffffff
jne 0x14003b014
cmp byte [rsi + 0x30], dil
je 0x14003b05c
mov edi, dword [rsi + 0x2c]
jmp 0x14003b05c
mov ecx, r14d
call fcn.14002f958
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14003b05c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14003b05c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14003b055
mov eax, dword [rsi + 0x2c]
jmp 0x14003b05a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002d3ec
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14003c520
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003c548
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14003c548
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400104f0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [0x14000f150]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14000f138]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140015068], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14000f160]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140015060], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14000f178]
mov rcx, rax

Function at 0x140010948
Capabilities:
Resolve function by parsing pe exports

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
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor r12d, r12d
mov rbx, rcx
mov edi, r12d
cmp dword [rax + rcx + 0x8c], r12d
je 0x1400109d3
mov esi, dword [rax + rcx + 0x88]
mov ebp, r12d
add rsi, rcx
mov r14d, dword [rsi + 0x1c]
mov r15d, dword [rsi + 0x20]
add r14, rcx
add r15, rcx
cmp dword [rsi + 0x14], r12d
jbe 0x1400109d3
mov eax, ebp
lea rdx, [0x14000f6c8]
mov ecx, dword [r15 + rax*4]
add rcx, rbx
call qword [0x140015028]
test eax, eax
je 0x1400109c0
inc ebp
cmp ebp, dword [rsi + 0x14]
jb 0x14001099d
jmp 0x1400109d3
mov ecx, dword [rsi + 0x24]
mov edx, ebp
add rcx, rbx
movzx eax, word [rcx + rdx*2]
mov edi, dword [r14 + rax*4]
add rdi, rbx
call fcn.140011bcc
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
sub eax, dword [0x140015080]
mov rsi, qword [rsp + 0x50]
cmp eax, 0x7fff
cmova rdi, r12
mov rax, rdi
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140010a10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd rdi, dword [rcx + 0x3c]
xor ebx, ebx
mov rbp, rcx
add rdi, rcx
cmp dword [rdi], 0x4550
je 0x140010a5e
movzx eax, word [rcx + 0xa]
mov ecx, 0x111
and ax, 0x11
cmp ax, cx
je 0x140010a5e
lea rdx, [0x14000f750]
jmp 0x140010c9c
mov edx, dword [rdi + 0x50]
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x140010a9d
lea rdx, [0x14000f760]
call fcn.140010804
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8d, [rsi + 0xa]
mov edx, eax
call fcn.140010760
jmp 0x140010c75
mov r8d, dword [rdi + 0x54]
mov rdx, rbp
mov rcx, rax
call qword [0x140015040]
movzx ecx, word [rdi + 6]
movzx eax, word [rdi + 0x14]
test ecx, ecx
je 0x140010afc
lea r15, [rdi + 0x24]
lea r14, [rdi + 0x2c]
add rdi, 0x28
add r15, rax
add r14, rax
add rdi, rax
mov r12d, ecx
cmp dword [r14], ebx
je 0x140010aeb
mov edx, dword [r14]
mov ecx, dword [r15]
mov r8d, dword [rdi]
add rdx, rbp
add rcx, rsi
call qword [0x140015040]
add rdi, 0x28
add r14, 0x28
add r15, 0x28
dec r12
jne 0x140010ad1
movsxd rdi, dword [rsi + 0x3c]
add rdi, rsi
call fcn.140011bcc
sub eax, dword [0x140015080]
cmp eax, 0x7fff
jbe 0x140010b1c
mov edx, dword [rdi + 0xb4]
test edx, edx
je 0x140010b88
mov ecx, dword [rdi + 0xb0]
mov r10, rsi
sub r10, qword [rdi + 0x30]
add rcx, rsi
test edx, edx
je 0x140010b88
mov ebp, dword [rcx]
lea r11, [rcx + 4]
lea rcx, [rcx + 8]
mov r8d, dword [r11]
sub r8d, 8
je 0x140010b77
movzx eax, word [rcx]
mov r9d, eax
shr r9d, 0xc
test r9d, r9d
je 0x140010b6d
cmp r9d, 0xa
jne 0x140010b7c
and eax, 0xfff
add eax, ebp
add qword [rax + rsi], r10
add rcx, 2
add r8d, 0xfffffffe
jne 0x140010b4d
sub edx, dword [r11]
jmp 0x140010b38
lea rdx, [0x14000f778]
jmp 0x140010c9c
cmp dword [rdi + 0x94], ebx
je 0x140010c72
mov edi, dword [rdi + 0x90]
add rdi, rsi
je 0x140010c72
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x140010c72
movabs r13, 0x8000000000000000
Function at 0x1400116c4
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rdi, rcx
lea rcx, [rbp - 0x80]
mov dword [rbp - 0x80], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp - 0x7c], 6
jb 0x140011702
mov eax, 2
jmp 0x1400117d9
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor ebx, ebx
xor ecx, ecx
lea rdx, [rsp + 0x20]
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001179f
mov ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x20]
xor edx, edx
div rcx
test rdx, rdx
jne 0x14001176f
cmp qword [rsp + 0x38], 0x1000
jne 0x14001176f
cmp dword [rsp + 0x40], 0x1000
jne 0x14001176f
cmp dword [rsp + 0x48], 0x20000
jne 0x14001176f
cmp dword [rsp + 0x44], 4
jne 0x14001176f
movabs rax, 0x74636a6e696d7678
cmp qword [rbx], rax
je 0x140011786
add rbx, qword [rsp + 0x38]
cmp rbx, 0x7fff0000
jae 0x1400116f8
mov rcx, rbx
jmp 0x140011711
mov r8d, 0x20
mov rdx, rbx
mov rcx, rdi
call qword [0x140015040]
mov eax, 1
jmp 0x1400117d9
lea rdx, [0x14000f3b0]
call fcn.140010804
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xa
mov edx, eax
call fcn.140010760
lea rdx, [0x14000f3c4]
call fcn.140010804
mov r8d, 0x10
mov edx, ebx
call fcn.140010760
xor eax, eax
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x1400117f4
Capabilities:
Accept command line arguments
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [0x14000f2d8]
mov rcx, rax
call qword [0x140015010]
xor r13d, r13d
mov rdi, rax
test rax, rax
je 0x140011859
lea r14d, [r13 + 0x20]
add rdi, 0x2a
mov edx, r14d
mov rcx, rdi
call qword [0x140015008]
test rax, rax
jne 0x140011878
lea rdx, [0x14000f308]
call fcn.140010804
sub rax, rdi
sar rax, 1
cmp rax, 2
jae 0x14001189b
lea rdx, [0x14000f320]
call fcn.140010804
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
jmp 0x140011854
lea rsi, [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi + 2]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
jne 0x1400118c5
lea rdx, [0x14000f338]
jmp 0x140011854
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [0x140015040]
xor edx, edx
mov r8, r15
lea ecx, [rdx + 4]
mov word [rsi + r15], r13w
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov r12, rax
test rax, rax
jne 0x140011913
lea rdx, [0x14000f350]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
jne 0x14001193c
lea rdx, [0x14000f368]
jmp fcn.1400118f6
mov r8, r14
mov rdx, rax
mov edx, eax
Function at 0x140011b88
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x448
xor eax, eax
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x434], eax
mov word [rsp + 0x20], ax
call fcn.1400106e0
lea rdx, [rsp + 0x20]
lea rcx, [0x14000f280]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x448
ret

Function at 0x140011bcc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rcx, 0x74e1cfaa
jmp 0x14000653e
dec rcx
jmp 0x14000669f
jne 0x14000653e
jmp 0x140006866
jmp 0x1400068ad
jmp 0x140006947
jmp 0x1400069c8
jmp 0x140006a16
jmp 0x140006a44
jmp 0x140006abe
jmp 0x140006acd
jmp 0x140006b47
jmp 0x140006b73
jmp 0x140006bbe
jmp 0x140006c26
jmp 0x140006c99
jmp 0x140006cd3
jmp 0x140006d16
jmp 0x140006d74
jmp 0x140006db9
jmp 0x140006de9
jmp 0x140006e74
jmp 0x140006ea0
jmp 0x140006efb
xor rcx, rcx
mov rdx, 0x727f
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call fcn.140006f1b
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x30]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add rsp, 0x20
pop rbx
xor rcx, rcx
jmp 0x140006512
Function at 0x1400043f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
nop
push rcx
pop rbx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14000a160
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14000a160
push rbx
nop
pop rdx
nop
push rax
pop rcx
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140004460
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140011104]
push rcx
nop
pop rbx
or esi, esi
jle 0x140004590
mov rax, qword [0x140011108]
sub r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400044ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140004535
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140004490
push rbx
nop
pop rcx
call fcn.140004eb0
push rax
nop
pop rdi
or rax, rax
je 0x1400045b2
mov rax, qword [0x140011108]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140004ff0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140011108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
or rax, rax
je 0x140004597
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000452e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140004540
add dword [0x140011104], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140011108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
or eax, eax
jne 0x14000452e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400043f0
nop dword [rax]
sub esi, esi
jmp 0x1400044b8
mov rax, qword [0x140011108]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400043f0
push rbx
nop
pop rdx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400043f0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140004b20
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140011160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140011140]
or rbx, rbx
je 0x140004b7c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
push rax
nop
pop rsi
call rdi
or eax, eax
jne 0x140004b73
or rsi, rsi
je 0x140004b73
mov rax, qword [rbx + 8]
nop
push rsi
pop rcx
call rax
mov rbx, qword [rbx + 0x10]
or rbx, rbx
jne 0x140004b58
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

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

Disassembly:
mov rdx, qword [0x14000ca00]
sub eax, eax
cmp word [rdx], 0x5a4d
jne 0x140004ed0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140004ed8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140004ed0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
or r8w, r8w
je 0x140004f2d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140004f24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140004ed0
add rax, 0x28
cmp rax, r9
jne 0x140004f10
sub eax, eax
ret

Function at 0x140004f30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000ca00]
sub ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140004f4f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140004f58
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140004f4f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140004ff0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000ca00]
sub edx, edx
cmp word [rax], 0x5a4d
jne 0x14000500f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140005018
push rdx
pop rax
nop
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
push rdx
pop rax
nop
ret
Function at 0x140001210
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
xor edi, edi
mov dword [rbp - 0x69], edi
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x59], rcx
lea rsi, vtable.CVolObject.0
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x49], rdi
lea rax, vtable.CWString.0
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x29], rdi
lea r14, vtable.CVolMem.0
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x19], rdi
mov qword [rbp - 9], 0x40
mov qword [rbp - 0x41], rdi
mov qword [rbp - 9], 0xfe
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x19], rdi
mov edx, 0x21a
lea rcx, [rbp - 0x39]
call fcn.140012560
mov rcx, rax
lea rdx, str.435A0000B3A6A6FFA716BF1D5A61A8435ED8C43C2A3FA4AC3D9398E59188C96CC92CC91D7267EA2FEEDC4CE58AF0E026C0EBC2821FE122AD2CCA36FA8E547B7F4A8E6123E25A6B6C012454AB5BC688F73709E13E638B56A8F004C304AEF9FDD74BD9258A4DE170435D1204205F9C6CECCA713FBC7746B616AC44C6BD14F9A477151861706E93
lea eax, [rdi + 4]
nop dword [rax + rax]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x1400012d0
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movzx eax, word [rdx + 0x18]
mov word [rcx + 0x18], ax
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 7]
call fcn.140009e20
mov rbx, rax
mov dword [rbp - 0x69], 1
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x39], r14
mov rdx, qword [rbp - 0x21]
test rdx, rdx
je 0x14000136f
lea rcx, [rbp - 0x39]
mov rax, qword [rbp - 0x39]
call qword [rax + 0x18]
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x59], rsi
mov rcx, rbx
call fcn.1400037c0
cmp eax, 1
sete bl
mov eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x69], eax
mov qword [rbp + 7], r14
mov rdx, qword [rbp + 0x1f]
test rdx, rdx
je 0x1400013b4
lea rcx, [rbp + 7]
mov rax, qword [rbp + 7]
call qword [rax + 0x18]
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x27], rdi
mov qword [rbp + 7], rsi
test bl, bl
je 0x1400013d1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 1
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000bd70
Capabilities:
Check if file exists
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x40], r15d
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x38], rax
lea r13, vtable.CVolObject.0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
lea r12, vtable.CVolMem.0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 8], 0x40
mov dword [rbp - 0x40], 1
movsxd rdx, edx
lea r9d, [r15 + 0xa]
lea r8, [rbp - 0x38]
lea rcx, [0x140044c20]
mov rax, qword [0x140044c20]
call qword [rax + 0x30]
mov rcx, qword [rdi + 0x18]
mov rbx, qword [rbp - 0x10]
mov rsi, qword [rbp - 0x20]
mov rax, rbx
test rcx, rcx
jne 0x14000be1d
cmp qword [rdi + 0x48], rcx
jne 0x14000be14
lea rcx, [0x140036528]
jmp 0x14000be1d
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14000be57
cmp word [rcx], 0
je 0x14000be57
test rax, rax
js 0x14000be57
lea rdx, [0x140039064]
call fcn.140020488
mov r14, rax
test rax, rax
je 0x14000be57
mov r9, rax
mov r8, rbx
mov edx, 1
mov rcx, rsi
call fcn.14001edb0
mov rcx, r14
call fcn.14001e288
mov eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x40], eax
mov qword [rbp - 0x38], r12
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14000be7a
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + 0x18]
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x38], r13
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x50], 0xfffffffffffe7960
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
mov dword [rsp + 0x20], 0xff
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp + 0x40]
lea ecx, [r8 + 1]
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x14000bf65
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14000bf42
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14000bf10
mov dword [rsp + 0x20], 0xff
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp + 0x40]
lea ecx, [r8 + 1]
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
jne 0x14000bef0
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
jne 0x14000bf89
cmp qword [rdi + 0x48], rcx
lea rcx, [0x140036528]
je 0x14000bf89
mov rcx, qword [rdi + 0x38]
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.140011210