joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e3b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp dword [rcx], 0xe06d7363
mov rdi, r9
mov rbp, r8
mov r14, rdx
mov rsi, rcx
jne 0x18000e46c
mov rax, qword [r9 + 0x38]
mov qword [rsp + 0x48], rbx
mov ebx, dword [rax]
add rbx, qword [r9 + 8]
mov eax, dword [rbx]
and eax, 0x1fffffff
sub eax, 0x19930521
cmp eax, 1
ja 0x18000e467
mov eax, 1
xchg dword [0x181776350], eax
cmp eax, 1
jne 0x18000e420
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
xchg dword [0x181776350], eax
cmp eax, 1
je 0x18000e405
mov edx, 4
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8d, [rdx + 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000e45f
and dword [rbx], 0xf9930520
lea r9, [rsp + 0x40]
or dword [rbx], 0x19930520
mov edx, 4
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
xchg dword [0x181776350], eax
mov rbx, qword [rsp + 0x48]
mov r9, rdi
mov r8, rbp
mov rdx, r14
mov rcx, rsi
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
jmp qword [sym.imp.msvcrt.dll___CxxFrameHandler]
Function at 0x1400110b9
Capabilities:
Terminate process

Disassembly:
jmp 0x140011b80
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x108], rax
lea rcx, [0x1400230a4]
call fcn.140011398
lea rcx, str._n
call fcn.1400111ae
lea rax, [0x14001ae60]
mov qword [rbp + 8], rax
lea rax, [0x14001ae88]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x34], 2
mov edx, dword [rbp + 0x34]
lea rcx, [rbp + 8]
call fcn.14001115e
call fcn.140011389
mov dword [rbp + 0x104], eax
cmp dword [rbp + 0x104], 1
je 0x140011c11
cmp dword [rbp + 0x104], 2
je 0x140011c13
jmp 0x140011c1d
jmp 0x140011c22
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x140011c22
call fcn.1400110b9
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad80]
call fcn.14001132f
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x14001112c
Capabilities:
Terminate process

Disassembly:
jmp 0x140011a60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x108], rax
lea rcx, [0x1400230a4]
call fcn.140011398
mov rcx, qword [rbp + 0x130]
call fcn.1400111f4
lea rax, [0x14001ae90]
mov qword [rbp + 8], rax
lea rax, [0x14001ac10]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x34], 2
mov edx, dword [rbp + 0x34]
lea rcx, [rbp + 8]
call fcn.1400113bb
call fcn.140011389
mov dword [rbp + 0x104], eax
cmp dword [rbp + 0x104], 1
je 0x140011afd
cmp dword [rbp + 0x104], 2
je 0x140011aff
jmp 0x140011b09
jmp 0x140011b15
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x140011b15
mov rcx, qword [rbp + 0x130]
call fcn.14001112c
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ae00]
call fcn.14001132f
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x1400134f0
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 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014830
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014850
xor al, al
jmp 0x1400148d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014863
xor al, al
jmp 0x1400148d1
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 0x14001488d
xor al, al
jmp 0x1400148d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400148a1
xor al, al
jmp 0x1400148d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400148b3
xor al, al
jmp 0x1400148d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400148cf
xor al, al
jmp 0x1400148d1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400375e0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400375f0]
mov dword [rax], 1
mov rax, qword [0x140037600]
mov dword [rax], 1
mov rax, qword [0x1400375d0]
mov dword [rax], 1
mov rax, qword [0x140037470]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x1400375c0]
mov dword [0x14004100c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x1400010c0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140037580]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140037560]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140037380]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067
Function at 0x14001c2b0
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x38
mov r9d, 1
mov r8d, 0x1e
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x80040002
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
nop
add rsp, 0x38
ret

Function at 0x140024570
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x1400245e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1400411a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140024790
mov rax, qword [0x1400411a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14002462c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400246b7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140024610
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x1400247ed
mov rax, qword [0x1400411a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1400411a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400247d2
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400246b0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140024740
add dword [0x1400411a4], 1
cmp ebx, 8
jae 0x1400246e8
test bl, 4
jne 0x1400247a0
test ebx, ebx
je 0x1400246d9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x1400247c0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x1400246d9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x14002471a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1400411a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400246b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x140024637
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x1400246d9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x1400246d9
mov rax, qword [0x1400411a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x140024d00
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140041200]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400411e0]
test rbx, rbx
je 0x140024d54
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140024d4b
test r12, r12
je 0x140024d4b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140024d30
lea rcx, [0x140041200]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140024f80
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x140024f90
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x140024fa0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140024fe5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x140024fdc
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140024fe7
add rax, 0x28
cmp rax, r9
jne 0x140024fc8
xor eax, eax
ret

Function at 0x140025090
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140037470]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140025109
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140025109
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140025106
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x1400250fd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140025109
add r8, 0x28
cmp r8, r9
jne 0x1400250e8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x1400251f0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140037470]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14002525f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x14002525f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x14002525d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140025254
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140025268
add rax, 0x28
cmp rax, r9
jne 0x140025240
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x140025280
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x140037470]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x1400252f8
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1400252f8
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x1400252f8
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400252f8
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x1400252ec
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140025300
add rdx, 0x28
cmp rdx, r10
jne 0x1400252d8
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x140025310
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14002531e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400252f5
test r8d, r8d
jg 0x140025308
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret

Function at 0x140025340
Capabilities:
Accept command line arguments

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov dword [rsp + 0x4c], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x4c]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r13, rax
test rax, rax
je 0x1400254a2
mov eax, dword [rsp + 0x4c]
lea ecx, [rax + 1]
movabs rax, 0xfffffffffffffff
movsxd rcx, ecx
cmp rcx, rax
ja 0x1400254aa
shl rcx, 3
call sym.operator_new___unsigned_long_long_
mov edx, dword [rsp + 0x4c]
mov r12, rax
test edx, edx
je 0x14002543e
mov rbp, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ebx, ebx
nop dword [rax]
mov r14, qword [r13 + rbx*8]
mov r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x38], 0
mov r8, r14
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rbp
movsxd rcx, eax
mov rdi, rcx
call sym.operator_new___unsigned_long_long_
mov dword [rsp + 0x28], edi
mov r8, r14
xor edx, edx
mov rsi, rax
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
xor ecx, ecx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
call rbp
mov qword [r12 + rbx*8], rsi
lea eax, [rbx + 1]
add rbx, 1
cmp dword [rsp + 0x4c], ebx
jne 0x1400253b8
cdqe
lea rax, [r12 + rax*8]
mov rcx, r13
mov qword [rax], 0
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x4c]
mov rdx, r12
call sym.qMain_int__char_
mov r13d, eax
mov eax, dword [rsp + 0x4c]
test eax, eax
jne 0x14002547f
jmp 0x140025488
call sym.operator_delete___void_
add rbx, 1
cmp dword [rsp + 0x4c], ebx
je 0x140025488
mov rcx, qword [r12 + rbx*8]
test rcx, rcx
jne 0x140025470
mov rcx, r12
call sym.operator_delete___void_
mov eax, r13d
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov r13d, 0xffffffff
jmp 0x140025490
call sym.__cxa_throw_bad_array_new_length
nop
Function at 0x1400254b0
Capabilities:
Accept command line arguments

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov dword [rsp + 0x4c], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x4c]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r13, rax
test rax, rax
je 0x140025612
mov eax, dword [rsp + 0x4c]
lea ecx, [rax + 1]
movabs rax, 0xfffffffffffffff
movsxd rcx, ecx
cmp rcx, rax
ja 0x14002561a
shl rcx, 3
call sym.operator_new___unsigned_long_long_
mov edx, dword [rsp + 0x4c]
mov r12, rax
test edx, edx
je 0x1400255ae
mov rbp, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ebx, ebx
nop dword [rax]
mov r14, qword [r13 + rbx*8]
mov r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x38], 0
mov r8, r14
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rbp
movsxd rcx, eax
mov rdi, rcx
call sym.operator_new___unsigned_long_long_
mov dword [rsp + 0x28], edi
mov r8, r14
xor edx, edx
mov rsi, rax
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
xor ecx, ecx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
call rbp
mov qword [r12 + rbx*8], rsi
lea eax, [rbx + 1]
add rbx, 1
cmp dword [rsp + 0x4c], ebx
jne 0x140025528
cdqe
lea rax, [r12 + rax*8]
mov rcx, r13
mov qword [rax], 0
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x4c]
mov rdx, r12
call sym.qMain_int__char_
mov r13d, eax
mov eax, dword [rsp + 0x4c]
test eax, eax
jne 0x1400255ef
jmp 0x1400255f8
call sym.operator_delete___void_
add rbx, 1
cmp dword [rsp + 0x4c], ebx
je 0x1400255f8
mov rcx, qword [r12 + rbx*8]
test rcx, rcx
jne 0x1400255e0
mov rcx, r12
call sym.operator_delete___void_
mov eax, r13d
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov r13d, 0xffffffff
jmp 0x140025600
call sym.__cxa_throw_bad_array_new_length
nop
jmp qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
invalid

Function at 0x14002f320
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10, rcx
mov rax, rcx
lea r11, [rcx + 0x38c]
mov rdx, rcx
mov r8d, dword [rdx]
mov ecx, dword [rdx + 4]
and r8d, 0x80000000
and ecx, 0x7fffffff
or r8d, ecx
mov ecx, r8d
shr ecx, 1
xor ecx, dword [rdx + 0x634]
mov r9d, ecx
xor r9d, 0x9908b0df
and r8d, 1
cmovne ecx, r9d
add rdx, 4
mov dword [rdx - 4], ecx
cmp r11, rdx
jne 0x14002f330
lea r9, [r10 + 0x630]
nop word cs:[rax + rax]
mov ecx, dword [rax + 0x38c]
mov edx, dword [rax + 0x390]
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
mov edx, ecx
shr edx, 1
xor edx, dword [rax]
mov r8d, edx
xor r8d, 0x9908b0df
and ecx, 1
cmovne edx, r8d
add rax, 4
mov dword [rax + 0x388], edx
cmp r9, rax
jne 0x14002f380
mov edx, dword [r10 + 0x9bc]
mov eax, dword [r10]
mov qword [r10 + 0x9c0], 0
and eax, 0x7fffffff
and edx, 0x80000000
or edx, eax
mov eax, edx
shr eax, 1
xor eax, dword [r10 + 0x630]
mov ecx, eax
xor ecx, 0x9908b0df
and edx, 1
cmovne eax, ecx
mov dword [r10 + 0x9bc], eax
ret
Function at 0x14002f410
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x9c0]
mov rbx, rcx
cmp rax, 0x26f
ja 0x14002f468
lea rdx, [rax + 1]
mov eax, dword [rbx + rax*4]
mov qword [rbx + 0x9c0], rdx
mov edx, eax
shr edx, 0xb
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor edx, eax
mov eax, edx
shl eax, 0xf
and eax, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret
call fcn.14002f320
mov rax, qword [rbx + 0x9c0]
jmp 0x14002f427

Function at 0x140031600
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
call dbg.__main
mov rax, qword [0x1400374f0]
xor edx, edx
mov r9d, dword [rax]
mov rax, qword [0x1400374e0]
mov r8, qword [rax]
mov rax, qword [0x1400374d0]
mov rcx, qword [rax]
add rsp, 0x28
jmp sym.WinMain
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
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 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
adc al, 0
mov ch, 0x38
xor byte [rbx], dh
adc ecx, ebx
mov esi, 0x715aeb63
pop rdx
jno 0x14003f6be
cmp dword [rbx - 0x4a], ebp
mov ch, byte [rax]
sub byte [rsp + rdx*2], dh
wait
wait
stosb byte [rdi], al
invalid
jp 0x14003f666
test byte [rbp - 0x60fa9b77], bl
fdivr dword [rbp - 0x76]
pop rdi
out 0xaa, al
push 0x6a
shl byte [rbx + rcx*2 + 0x1b56fd41], cl
push rsi
sbb edi, dword [0x11a63a5ea]
fcmovu st(0), st(4)
cmp ch, byte [rbx]
sti
fcmovu st(0), st(4)
cmp ch, byte [rbx]
sti
jmp 0x14003f67c
invalid
push rdx
add esp, dword [rsi]
cld
mov ah, 0x66
adc eax, 0x4a68f5b4
push rsi
mov byte [rdi], dl
in al, dx
enter 0x4b51, 0x26
push rcx
invalid
invalid
invalid
push rcx
invalid
stc
invalid
pop rsi
mov bl, 5
fmul qword [r10 - 0x6ca3dd99]
invalid
fnstsw word [rsi - 0x50707775]
push rsp
cdq
push rsp
invalid
Function at 0x1400039ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss xmm0, dword [r8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jp 0x1400039c8
jne 0x1400039c8
movss xmm0, dword [r8 + 4]
ucomiss xmm0, xmm1
jp 0x1400039c8
je 0x1400039e6
mov rax, qword [0x140122e30]
movsd xmm0, qword [r8]
movsd qword [rax + 0x1af4], xmm0
mov dword [rax + 0x1acc], 4
comiss xmm3, xmm1
jb 0x140003a04
mov rax, qword [0x140122e30]
movss dword [rax + 0x1b28], xmm3
mov dword [rax + 0x1ae0], 1
mov r8d, dword [rsp + 0x28]
jmp fcn.140003a10