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

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d13f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d0d12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f3108]
test eax, eax
je 0x2fc4d0daa
lea rax, [0x2fc4f30e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f3110]
mov qword [rbp - 8], rax
jmp 0x2fc4d0d8e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d0d82
cmp qword [rbp - 0x10], 0
je 0x2fc4d0d82
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d0d48
lea rax, [0x2fc4f30e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d0dab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d0eb0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d0ed8
mov eax, 0
jmp 0x2fc4d0f26
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d0f01
mov eax, 0
jmp 0x2fc4d0f26
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d0f21
mov eax, 0
jmp 0x2fc4d0f26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d0f2c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d0faa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d0fa1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d0fa1
mov rax, qword [rbp - 8]
jmp 0x2fc4d0fbf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d0f74
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x100de24b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100de24bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100de24cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100de24b5
lea eax, [rcx + 1]
jmp 0x100de24db
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100de24ee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100de24d4
sub eax, 3
jb 0x100de250e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100de255d
sar eax, 1
movsxd rbp, eax
jb 0x100de2544
jmp 0x100de251c
add ebx, ebx
jne 0x100de251a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100de2544
inc ecx
add ebx, ebx
jne 0x100de252a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100de2544
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100de253d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100de252c
add ecx, 2
jmp 0x100de2549
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100de2472
jmp 0x100de24bd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x5a6010
mov dl, 0x9c
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x100de25a9
cmp rsi, rcx
jae 0x100de25b1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x100de2590
cmp al, 0x8f
ja 0x100de2590
cmp byte [rsi - 2], 0xf
je 0x100de2596
sub al, 0xe8
cmp al, 1
ja 0x100de257a
cmp rsi, rcx
jae 0x100de25b1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x100de2580
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x100de25b1
lodsb al, byte [rsi]
jmp 0x100de2590
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xdde000]
mov eax, dword [rdi]
or eax, eax
je 0x100de260e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xdf45f8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x100de25be
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100de2608
mov qword [rbx], rax
add rbx, 8
jmp 0x100de25de
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.100de2691], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100de2691
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100de2681
sub rsp, 0xffffffffffffff80
jmp 0x100003460
Function at 0x1400346e0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x140034752
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.advapi32.dll_SystemFunction036]
jmp 0x140034718
add rdi, rbx
sub rsi, rbx
je 0x140034752
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x140034710
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x140034710
add ebp, 0x80000000
jmp 0x140034754
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140037050
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x1400370f0
jmp 0x1400370df
jae 0x1400371b0
cmp r8, 0x201
jae 0x1400370f0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140037148
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x14003711f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14004f9b0
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140037171
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140037218
mov r8d, r14d
cmp r15, r8
jne 0x1400370d0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140037245
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1400370df
jmp 0x1400370f0
cmp rsi, r8
jb 0x14003725f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140039790
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x140037201
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.1400065e0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x1400371e9
jmp 0x140037201
lea rcx, str.internal_error:_entered_unreachable_code_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.140050780
jmp 0x140037274
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140050c30
ud2
Function at 0x14003e880
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1400587b8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14003e8c4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14003e92a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14003e961
test eax, eax
js 0x14003e93b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14003e954
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x140058820]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400393c0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140035410
mov ecx, 7
int 0x29
ud2
Function at 0x14004d050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14004d0ca
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14004d0c0
cmp r11, r10
ja 0x14004d155
cmp r10, rdx
ja 0x14004d167
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14004d0c2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14004d0a0
jmp 0x14004d137
ja 0x14004d0ca
mov r11, r10
cmp rax, r8
jne 0x14004d072
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14004d13b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14004d110
mov r8, r10
sub ecx, r9d
jns 0x14004d12e
jmp 0x14004d13d
cmp r10, rdx
je 0x14004d149
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14004d13d
xor al, 1
cmp r8, rdx
jne 0x14004d0f0
jmp 0x14004d13d
xor eax, eax
jmp 0x14004d13d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140050620
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140050cb0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140050c30
int3

Function at 0x14004eae0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14004eb2a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004eb2a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004eb2a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004eb2a
cmp dword [rcx + 0x84], 0xe
jbe 0x14004eb2a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004eb2c
xor al, al
add rsp, 0x28
ret
Function at 0x180001b60
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180004100]
jne 0x180001b7b
rol rcx, 0x10
test cx, 0xffff
jne 0x180001b77
ret 0
ror rcx, 0x10
jmp 0x180001de4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180004590]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x180004688]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180001e69
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180004590]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180001e8b
mov rax, qword [rsp + 0x88]
mov qword [0x180004688], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180004628], rax
mov rax, qword [0x180004688]
mov qword [0x180004500], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180004610], rax
mov dword [0x1800044f0], 0xc0000409
mov dword [0x1800044f4], 1
mov rax, qword [0x180004100]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180004108]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180001178]
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, 0x88
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, [0x140021200]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020630]
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, [0x140020630]
call fcn.1400123b8
lea rcx, [0x140021200]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov bl, 5
int3
rcr ebp, 1
rcl ah, 1
pop rdx
invalid
movabs eax, dword [0xc202a649a5af9de2]
push 0xfffffffff33a3912
xlatb
add ecx, ebx
sub dl, byte [rbx]
invalid
jle 0x14003f71b
js 0x14003f728
sub edi, dword [0xfdf2a4a7]
movsb byte [rdi], byte [rsi]
mov ecx, 0x75921e8e
or dword [rax + 0x65f74086], eax
add byte [rsi + 0x5a65f740], 0x52
add byte [rsi + 0x5a65f740], 0x52
fsub st(6), st(0)
shr byte [rax + 0xf], 1
out dx, al
int 0x7d
stosd dword [rdi], eax
rcr dword [rax], 1
invalid
ret 0x9ee7
or al, 0xb6
or al, 0xb6
push rcx
invalid
in eax, 0x71
iretd
mov bl, 0x94
loope 0x14003f6a0
sub al, 0x67
or cl, byte [rbx]
xor eax, 0xd14752c3
stc
cmpsd dword [rsi], dword [rdi]
mov al, 0xe5
invalid
mov edx, 0x8663a353
pushfq
jle 0x14003f72f
bnd jl 0x14003f795
int1
enter 0x77c3, 0x3e
ja 0x14003f73c
ret
sub byte [r8 + 0x7279061d], r12b
sub byte [rax + 0x7279061d], ah
movabs al, byte [0xae5cc37d7279061d]
sbb eax, 0x7d727906
ret
jge 0x14003f6f9
pop rsp
scasb al, byte [rdi]
in al, 0xda
pop rsp
imul edx, dword [rdx - 0x15], 0x66
shl byte [rdx - 0x295cc7dc], cl
not dword [rax]
loopne 0x14003f74e
push rdx
jmp 0x14003f7a5
invalid
jp 0x14003f6e9
or dword [rcx], esp
fidiv word [rbx]
cld
xor edi, esp
xlatb
shr r15d, 1
mov ecx, 0xc546c4ed
mov edx, 0x4b5c8e5b
pop rsp
push r9
ror byte gs:[rbx + rdi*4 - 0x7d], 0x8c
mov esi, 0xee96be2b
jp 0x14003f781
mov eax, dword [rax + 0x2d]
fmulp st(5)
push rbp
xor ecx, dword [rbp - 0x31]
invalid
jns 0x14003f72e
sub dl, byte [rax + rdi*4 + 0x79]
jns 0x14003f7ce
cmp byte [rbp + 0x68], dh
rcr dword [rcx - 0x3a], cl
or dword [rdx], ebx
adc al, 0x79
push 0x9c659d3
sbb dl, byte [rcx + rdi*2]
invalid
invalid
lea ebp, [rcx]
jl 0x14003f730
sbb dh, bh
push rsp
or ah, byte [rdi]
shl ch, cl
mov esp, 0xaaafbe4a
mov ebx, 0x92e5eb4d
xchg edx, ebx
movabs dword [0xf5813852828240d1], eax
insb byte [rdi], dx
xchg edx, eax
xchg ebp, eax
xlatb
mov edi, 0x9dddc318
mov dword [0x13b872d55], edx
loope 0x14003f78a
xor al, 0xe3
invalid
Function at 0x1400017b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, rdx
mov ebx, r8d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, rax
test rax, rax
je 0x140001833
movsxd rcx, dword [rax + 0x3c]
xor r8d, r8d
mov edx, dword [rcx + rax + 0x88]
add rdx, rax
mov r9d, dword [rdx + 0x20]
mov edi, dword [rdx + 0x24]
add r9, rax
mov esi, dword [rdx + 0x1c]
add rdi, rax
mov r11d, dword [rdx + 0x18]
add rsi, rax
test r11d, r11d
je 0x140001833
mov edx, dword [r9]
xor eax, eax
add rdx, r10
movzx ecx, byte [rdx]
test cl, cl
je 0x140001823
nop
imul eax, eax, 0x21
lea rdx, [rdx + 1]
movsx ecx, cl
add eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140001810
cmp eax, ebx
je 0x140001845
inc r8d
add r9, 4
cmp r8d, r11d
jb 0x140001800
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx ecx, word [rdi + r8*2]
mov rbx, qword [rsp + 0x30]
mov eax, dword [rsi + rcx*4]
mov rsi, qword [rsp + 0x38]
add rax, r10
add rsp, 0x20
pop rdi
ret

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

Disassembly:
push rdi
sub rsp, 0x140
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov edi, r8d
mov rcx, rdx
mov r8d, 0x104
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14000189d
xor eax, eax
jmp 0x14000195f
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor r9d, r9d
mov r11, rax
test rax, rax
je 0x14000195c
movsxd rax, dword [rax + 0x3c]
mov r8d, r9d
mov qword [rsp + 0x150], rbx
mov qword [rsp + 0x160], rbp
mov qword [rsp + 0x168], rsi
mov ecx, dword [rax + r11 + 0x88]
add rcx, r11
mov r10d, dword [rcx + 0x20]
mov esi, dword [rcx + 0x24]
add r10, r11
mov ebp, dword [rcx + 0x1c]
add rsi, r11
mov ebx, dword [rcx + 0x18]
add rbp, r11
test ebx, ebx
je 0x140001944
nop dword [rax + rax]
mov edx, dword [r10]
mov eax, r9d
add rdx, r11
movzx ecx, byte [rdx]
test cl, cl
je 0x140001923
imul eax, eax, 0x21
lea rdx, [rdx + 1]
movsx ecx, cl
add eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140001910
cmp eax, edi
je 0x140001935
inc r8d
add r10, 4
cmp r8d, ebx
jb 0x140001900
jmp 0x140001944
mov eax, r8d
movzx ecx, word [rsi + rax*2]
mov r9d, dword [rbp + rcx*4]
add r9, r11
mov rbp, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x150]
mov rsi, qword [rsp + 0x168]
mov rax, r9
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400035a0
add rsp, 0x140
pop rdi
ret
Function at 0x1400033d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140003431
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400033f0
mov ecx, dword [r9]
jmp 0x14000351b
cmp ecx, 0x4e0
jb 0x14000351b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140003450
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400034a0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x1400041ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400041f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400041f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400041f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400041f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400041f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400041f8
xor al, al
add rsp, 0x28
ret