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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.140001610
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400020f0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400020d8
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x140002900
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140006060
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140006060
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

Disassembly:
mov rax, qword [0x140034008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x1400061ec
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x1400061ec
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x1400061ec
movzx edx, word [rax + 6]
test edx, edx
je 0x1400061ec
sub rcx, qword [0x140034008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x1400061d8
add rax, 0x28
dec edx
je 0x1400061ec
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x1400061d0
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x1400061d0
jmp 0x1400061ee
xor eax, eax
ret

Function at 0x1400061f0
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140034008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140006225
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140006225
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140006225
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400062a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140034008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400062cc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400062cc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400062ce
xor eax, eax
ret

Function at 0x140006bf0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
call fcn.140007950
test al, al
je 0x140006c43
mov r14, qword [fcn.140006060]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0llx__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.140006bc0
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rcx, rbx
mov edx, edi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140007a60
Function at 0x140006cd0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.140007950
test al, al
je 0x140006d18
mov rbx, qword [fcn.140006060]
mov ecx, 2
call rbx
lea rdx, str.libunwind:__Unwind_SetIP_context_p__value0x_0llx__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.140006bc0
mov ecx, 2
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rcx, rdi
mov edx, 0xffffffff
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140007a60
Function at 0x1400076f0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm12
movaps xmmword [rsp + 0x70], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x50], xmm9
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm6
mov rdi, rdx
mov rsi, rcx
cmp byte [0x14071b03b], 1
jne 0x140007743
cmp byte [0x14071b03a], 0
jne 0x140007762
jmp 0x140007794
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071b03b], 1
test rax, rax
setne byte [0x14071b03a]
je 0x140007794
mov rbx, qword [fcn.140006060]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_init_local_cursor_p__context_p__n
mov rcx, rax
mov r8, rsi
mov r9, rdi
call fcn.140004bb0
mov ecx, 2
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
lea rax, [0x1400352e8]
mov qword [rsi], rax
lea rax, [0x14071b028]
mov qword [rsi + 8], rax
lea rax, [rsi + 0x580]
lea rcx, [rsi + 0xb0]
xorps xmm0, xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x50], xmm0
movaps xmmword [rsi + 0x60], xmm0
movaps xmmword [rsi + 0x70], xmm0
movaps xmmword [rsi + 0x80], xmm0
movaps xmmword [rsi + 0x90], xmm0
mov qword [rsi + 0xa0], 0
movaps xmmword [rsi + 0x580], xmm0
movaps xmmword [rsi + 0x590], xmm0
movaps xmmword [rsi + 0x5a0], xmm0
movaps xmmword [rsi + 0x5b0], xmm0
movaps xmmword [rsi + 0x5c0], xmm0
movaps xmmword [rsi + 0x5d0], xmm0
movaps xmmword [rsi + 0x5e0], xmm0
movaps xmmword [rsi + 0x5f0], xmm0
movaps xmmword [rsi + 0x600], xmm0
movaps xmmword [rsi + 0x610], xmm0
movaps xmmword [rsi + 0x620], xmm0
movaps xmmword [rsi + 0x630], xmm0
movaps xmmword [rsi + 0x640], xmm0
movups xmmword [rsi + 0x649], xmm0
mov qword [rsi + 0x80], rcx
mov qword [rsi + 0x98], rax
mov rbx, qword [rdi]
mov r14, qword [rdi + 8]
mov r15, qword [rdi + 0x80]
movups xmm6, xmmword [rdi + 0x10]
movdqu xmm0, xmmword [rdi + 0x30]
pshufd xmm7, xmm0, 0x4e
movdqu xmm0, xmmword [rdi + 0x20]
pshufd xmm8, xmm0, 0x4e
movups xmm9, xmmword [rdi + 0x40]
movups xmm10, xmmword [rdi + 0x50]
movups xmm11, xmmword [rdi + 0x60]
movups xmm12, xmmword [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov dword [rsi + 0xe0], 0x10000b
mov qword [rsi + 0x128], rbx
movaps xmmword [rsi + 0x130], xmm6
mov qword [rsi + 0x140], r14
movdqu xmmword [rsi + 0x148], xmm7
movdqu xmmword [rsi + 0x158], xmm8
movups xmmword [rsi + 0x168], xmm9
movups xmmword [rsi + 0x178], xmm10
movups xmmword [rsi + 0x188], xmm11
movups xmmword [rsi + 0x198], xmm12
mov qword [rsi + 0x1a8], r15
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
mov rcx, rsi
xor edx, edx
call qword [0x14071f008]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
movaps xmm10, xmmword [rsp + 0x60]
movaps xmm11, xmmword [rsp + 0x70]
movaps xmm12, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140007950
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x14071b03b], 1
jne 0x14000796c
cmp byte [0x14071b03a], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x14071b03a]
mov byte [0x14071b03b], 1
add rsp, 0x28
ret

Function at 0x1400079a0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
cmp byte [0x14071b03b], 1
jne 0x1400079c5
cmp byte [0x14071b03a], 0
jne 0x1400079e4
jmp 0x140007a1d
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071b03b], 1
test rax, rax
setne byte [0x14071b03a]
je 0x140007a1d
mov r14, qword [fcn.140006060]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:___unw_get_reg_cursor_p__regNum_d__value_p__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.140004bb0
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov rcx, rbx
mov edx, edi
call qword [0x14071f008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x140007a51
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov edx, edi
call qword [0x14071f008]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140007a60
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rbx, r8
mov edi, edx
mov rsi, rcx
cmp byte [0x14071b03b], 1
jne 0x140007a86
cmp byte [0x14071b03a], 0
jne 0x140007aa5
jmp 0x140007ade
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071b03b], 1
test rax, rax
setne byte [0x14071b03a]
je 0x140007ade
mov r14, qword [fcn.140006060]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rbx
lea rdx, str.libunwind:___unw_set_reg_cursor_p__regNum_d__value0x_llx__n
mov rcx, rax
mov r8, rsi
mov r9d, edi
call fcn.140004bb0
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
mov rcx, rsi
mov edx, edi
call qword [0x14071f008]
mov ebp, 0xffffe672
test al, al
je 0x140007b7f
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
mov rcx, rsi
mov edx, edi
mov r8, rbx
call qword [0x14071f008]
xor ebp, ebp
cmp edi, 0xffffffff
jne 0x140007b7f
mov rax, qword [rsi]
mov rax, qword [rax + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [0x14071f008]
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
xor ebp, ebp
mov rcx, rsi
xor edx, edx
call qword [0x14071f008]
cmp qword [rsp + 0x48], 0
je 0x140007b7f
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xfffffffe
call qword [0x14071f008]
add rax, qword [rsp + 0x48]
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x20]
mov rcx, rsi
mov edx, 0xfffffffe
mov r8, rax
mov rax, r9
call qword [0x14071f008]
mov eax, ebp
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140007b90
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x14071b03b], 1
jne 0x140007bad
cmp byte [0x14071b03a], 0
jne 0x140007bcc
jmp 0x140007bfb
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071b03b], 1
test rax, rax
setne byte [0x14071b03a]
je 0x140007bfb
mov rdi, qword [fcn.140006060]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_step_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140004bb0
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x40]
mov r8, qword [0x14071f008]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp r8

Function at 0x140007c20
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp byte [0x14071b03b], 1
jne 0x140007c41
cmp byte [0x14071b03a], 0
jne 0x140007c60
jmp 0x140007c92
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071b03b], 1
test rax, rax
setne byte [0x14071b03a]
je 0x140007c92
mov rbx, qword [fcn.140006060]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.140004bb0
mov ecx, 2
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [0x14071f008]
xor ecx, ecx
cmp qword [rsi + 8], 0
mov eax, 0xffffe66b
cmovne eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140007cc0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x14071b03b], 1
jne 0x140007cdd
cmp byte [0x14071b03a], 0
jne 0x140007cfc
jmp 0x140007d2b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071b03b], 1
test rax, rax
setne byte [0x14071b03a]
je 0x140007d2b
mov rdi, qword [fcn.140006060]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_resume_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140004bb0
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x50]
mov rcx, rsi
call qword [0x14071f008]
mov eax, 0xffffe674
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140007d50
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp byte [0x14071b03b], 1
jne 0x140007d7b
cmp byte [0x14071b03a], 0
jne 0x140007d9a
jmp 0x140007dd2
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071b03b], 1
test rax, rax
setne byte [0x14071b03a]
je 0x140007dd2
mov r15, qword [fcn.140006060]
mov ecx, 2
call r15
mov dword [rsp + 0x20], edi
lea rdx, str.libunwind:___unw_get_proc_name_cursor_p__buf_p__bufLen_lu__n
mov rcx, rax
mov r8, r14
mov r9, rbx
call fcn.140004bb0
mov ecx, 2
call r15
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [r14]
mov rax, qword [rax + 0x60]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [0x14071f008]
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140007e10
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x14071b039], 1
jne 0x140007e2c
cmp byte [0x14071b038], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_UNWINDING
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x14071b038]
mov byte [0x14071b039], 1
add rsp, 0x28
ret
Function at 0x140002757
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14002d010]
jne 0x14000212a
rol rcx, 0x10
test cx, 0xffff
jne 0x140002126
repz ret
ror rcx, 0x10
jmp 0x1400026b0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002e6f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14002e7e8]
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 0x140002735
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, [0x14002e6f0]
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 0x140002757
mov rax, qword [rsp + 0x88]
mov qword [0x14002e7e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002e788], rax
mov rax, qword [0x14002e7e8]
mov qword [0x14002e660], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002e770], rax
mov dword [0x14002e650], 0xc0000409
mov dword [0x14002e654], 1
mov rax, qword [0x14002d010]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14002d018]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002e6e8], eax
mov ecx, 1
call fcn.1400052e4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400260e0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002e6e8], 0
jne 0x1400027de
mov ecx, 1
call fcn.1400052e4
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 0x140003d28
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140006578
nop
cmp dword [0x14002ec20], 1
je 0x140003cd4
mov dword [0x14002ec1c], 1
mov byte [0x14002ec18], r12b
test ebx, ebx
jne 0x140003cc0
mov rcx, qword [0x14002f7f0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140003cad
mov rcx, qword [0x14002f7e8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140003c4c
call fcn.140004df4
cmp qword [rdi], rax
jne 0x140003c4c
jmp 0x140003c32
cmp rdi, rsi
jb 0x140003cad
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140004df4
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14002f7f0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14002f7e8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140003c8b
cmp r13, rax
je 0x140003cab
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140003c32
lea rdx, [0x140025778]
lea rcx, [0x140025668]
call fcn.1400039ec
lea rdx, [0x140025998]
lea rcx, [0x140025888]
call fcn.1400039ec
nop
test r12d, r12d
je 0x140003ce3
mov ecx, 8
call fcn.140006458
test r12d, r12d
jne 0x140003d0e
mov dword [0x14002ec20], 1
lea ecx, [r12 + 8]
call fcn.140006458
mov ecx, r15d
call fcn.140003980
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140003b9c

Function at 0x140003d34
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140003b9c
Function at 0x140007678
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140004df4
xor ebx, ebx
mov rdi, rax
cmp qword [0x14002f318], rbx
jne 0x14000777e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140007853
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140007853
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14002f318], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14002f320], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14002f328], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14002f338], rax
test rax, rax
je 0x140007775
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14002f330], rax
jmp 0x140007785
mov rax, qword [0x14002f330]
jmp 0x14000778c
mov rax, qword [0x14002f330]
mov r11, qword [0x14002f338]
cmp rax, rdi
je 0x1400077f4
cmp r11, rdi
je 0x1400077f4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14002f338]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400077f4
test rax, rax
je 0x1400077f4
call rsi
test rax, rax
je 0x1400077ee
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400077ee
test byte [rsp + 0x38], 1
jne 0x1400077f4
bts ebp, 0x15
jmp 0x140007832
mov rcx, qword [0x14002f320]
cmp rcx, rdi
je 0x140007832
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140007832
call rax
mov rbx, rax
test rax, rax
je 0x140007832
mov rcx, qword [0x14002f328]
cmp rcx, rdi
je 0x140007832
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140007832
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14002f318]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140007853
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140007855
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140009cc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140009d1d
lea rbx, [0x1400dfc10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140009d04
cmp r10, 2
jb 0x140009d04
cmp byte [r9], r8b
jne 0x140009d04
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140009ce0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140009d5f
lea rbx, [0x1400dfc10]
cmp r8b, 0x23
jne 0x140009d43
cmp byte [r9], r8b
jne 0x140009d43
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140009d30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140009e60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140009e7a
mov qword [r8], 0
lea rdx, [0x1400e55a8]
call fcn.140009d70
mov rbx, rax
test rax, rax
jne 0x140009e9a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140009f71
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009f71
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009f71
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009f71
cmp rdi, 0xffffffffffffffff
je 0x140009f71
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov rax, qword [0x14015a728]
test rax, rax
je 0x140009f1a
inc dword [rax + 0xf0]
test rsi, rsi
je 0x140009f71
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140009f5e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14015a728]
test rax, rax
je 0x140009f53
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140009f7a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140009f6c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140009f7c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret