joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009950
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 0x1400099ad
lea rbx, [0x140054fd0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140009994
cmp r10, 2
jb 0x140009994
cmp byte [r9], r8b
jne 0x140009994
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 0x140009970
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400099ef
lea rbx, [0x140054fd0]
cmp r8b, 0x23
jne 0x1400099d3
cmp byte [r9], r8b
jne 0x1400099d3
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 0x1400099c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140009b30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140009b4a
mov qword [r8], 0
lea rdx, [0x14005a44c]
call fcn.140009a00
mov rbx, rax
test rax, rax
jne 0x140009b6a
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 0x140009c43
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009c43
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009c43
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 0x140009c43
cmp rdi, 0xffffffffffffffff
je 0x140009c43
mov rax, qword [0x14014e030]
test rax, rax
je 0x140009be0
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140009c43
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140009c30
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14014e030]
test rax, rax
je 0x140009c25
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140009c4c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140009c3e
mov qword [r14], rdi
mov rax, rsi
jmp 0x140009c4e
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
Function at 0x14000d1d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x140054fd0]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14014e030]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x14000d265
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140020cd0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14000d270
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x108]
lea r10, [0x140054fd0]
mov rax, qword [rcx + 0xf0]
movss xmm1, dword [rcx + 0x10c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xe8]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x140019f10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14014e030]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x140019f71
cmp byte [rbx + 0x4a2e], 0
jne 0x140019f71
movsx r9d, word [rbx + 0x5b32]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140009810
test dil, 1
je 0x14001a098
jmp 0x140019ffc
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b32]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14005b334]
mov edx, 0x10
mulss xmm1, dword [0x14005b314]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x14005b240]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.140009810
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001a050
lea r11, [0x140054fd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001a033
cmp byte [r8], r9b
jne 0x14001a033
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001a020
not ecx
call fcn.140011170
test rax, rax
je 0x14001a098
cmp byte [rax + 0xae], 0
je 0x14001a098
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b32]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b32]
call fcn.140009810
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400138c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140051850
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001f570
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c18], 0
lea rbx, [rcx + 0x5c20]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001f617
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001f5ca
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140021a20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000a2c0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c18]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c28]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14014e028]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001f61f
mov rcx, rbx
call fcn.14000a2c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001fb90
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14014e030]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001fbf3
mov qword [rsp], rbx
lea rbx, [0x140054fd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001fbd3
cmp byte [r8], r9b
jne 0x14001fbd3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001fbc0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b90]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001fc27
mov r10, qword [r10 + 0x5b98]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001fc2e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001fc14
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400506c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor esi, esi
lea r8, [0x14004a7c0]
mov rbx, rcx
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rax, [0x14004a360]
mov qword [rsp + 0x70], 0x50
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rdi, [0x14005a63c]
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rdx, rdi
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, rax
mov qword [rbx + 0x50], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 0x50]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x14005b490]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rbx + 0x50]
movdqu xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x50]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.14004a3d0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.14004fe00
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140051850
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400525f4
Capabilities:
Parse pe header

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

Disassembly:
cmp rcx, qword [0x14242e7c0]
jne 0x1400054be
rol rcx, 0x10
test cx, 0xffff
jne 0x1400054ba
repz ret
ror rcx, 0x10
jmp 0x1400079ec
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1424326e0]
call qword [sym.imp.kernel32.dll_RtlCaptureContext]
mov rax, qword [0x1424327d8]
mov qword [rsp + 0x58], rax
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 0x140007a71
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, [0x1424326e0]
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 0x140007a93
mov rax, qword [rsp + 0x88]
mov qword [0x1424327d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x142432778], rax
mov rax, qword [0x1424327d8]
mov qword [0x142432650], rax
mov rax, qword [rsp + 0x90]
mov qword [0x142432760], rax
mov dword [0x142432640], 0xc0000409
mov dword [0x142432644], 1
mov rax, qword [0x14242e7c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14242e7c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1424326d8], eax
mov ecx, 1
call fcn.1400054c4
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
lea rcx, str._CB
call qword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1424326d8], 0
jne 0x140007b1a
mov ecx, 1
call fcn.1400054c4
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 0x140007bb4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14242e7c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140002814
xor ebx, ebx
cmp qword [0x142432bb8], rbx
mov rdi, rax
jne 0x140007cc7
lea rcx, str.USER32.DLL
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140007d9e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140007d9e
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x142432bb8], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x142432bc0], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x142432bc8], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov r11, rax
mov qword [0x142432bd8], rax
test rax, rax
je 0x140007cbe
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov qword [0x142432bd0], rax
jmp 0x140007cce
mov rax, qword [0x142432bd0]
jmp 0x140007cd5
mov rax, qword [0x142432bd0]
mov r11, qword [0x142432bd8]
cmp rax, rdi
je 0x140007d3c
cmp r11, rdi
je 0x140007d3c
mov rcx, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov rcx, qword [0x142432bd8]
mov rsi, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140007d3c
test rax, rax
je 0x140007d3c
call rsi
test rax, rax
je 0x140007d36
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140007d36
test byte [rsp + 0x40], 1
jne 0x140007d3c
bts ebp, 0x15
jmp 0x140007d7c
mov rcx, qword [0x142432bc0]
cmp rcx, rdi
je 0x140007d7c
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140007d7c
call rax
mov rbx, rax
test rax, rax
je 0x140007d7c
mov rcx, qword [0x142432bc8]
cmp rcx, rdi
je 0x140007d7c
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140007d7c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x142432bb8]
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x140007d9e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140007da0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400054a4
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001070
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x858
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rbx, rcx
lea rdi, [r11 + 0x10]
call fcn.140001000
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x40]
xor edi, edi
mov r9, rbx
mov r8d, 0x800
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
or rcx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
test eax, eax
mov rbx, 0xffffffffffffffff
cmovs eax, ebx
cmp eax, ebx
jne 0x1400010e9
mov byte [rsp + 0x83f], dil
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [0x140006668]
cmp rcx, rax
jne 0x140001113
lea rdx, [rsp + 0x40]
lea rcx, [0x1400043c0]
call fcn.140001010
jmp 0x140001141
lea rax, [rsp + 0x40]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x140001120
mov r8, rbx
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140002680
add rsp, 0x858
pop rdi
pop rbx
ret

Function at 0x140001160
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
sub rsp, 0x860
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp dword [0x140006660], 0
mov rbx, rcx
jne 0x140001249
mov qword [r11 - 0x10], rdi
lea rdi, [r11 + 0x10]
call fcn.140001000
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x40]
xor edi, edi
mov r9, rbx
mov r8d, 0x800
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
or rcx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
test eax, eax
mov rbx, 0xffffffffffffffff
cmovs eax, ebx
cmp eax, ebx
jne 0x1400011e9
mov byte [rsp + 0x83f], dil
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [0x140006668]
cmp rcx, rax
jne 0x140001213
lea rdx, [rsp + 0x40]
lea rcx, [0x1400043c0]
call fcn.140001010
jmp 0x140001241
lea rax, [rsp + 0x40]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x140001220
mov r8, rbx
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdi, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140002680
add rsp, 0x860
pop rbx
ret
Function at 0x1400012c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov ebx, ecx
cmp ecx, 1
jle 0x140001352
mov rdx, qword [rdi + 8]
lea rcx, [rdi + 8]
cmp byte [rdx], 0x2d
jne 0x140001352
movzx eax, byte [rdx + 1]
cmp al, 0x63
je 0x140001337
cmp al, 0x69
je 0x14000132b
cmp al, 0x6c
je 0x14000131f
mov rdi, rcx
cmp al, 0x70
jne 0x140001450
mov rcx, qword [rcx + 8]
dec ebx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [0x140006034], eax
jmp 0x140001347
mov dword [0x140006620], 1
jmp 0x140001347
mov dword [0x140006624], 1
jmp 0x140001347
mov rax, qword [rcx + 8]
mov rdi, rcx
mov qword [0x140006648], rax
dec ebx
add rdi, 8
dec ebx
cmp ebx, 1
jg 0x1400012e3
cmp qword [0x140006648], 0
jne 0x140001369
cmp dword [0x140006620], 0
je 0x14000144a
xor eax, eax
mov qword [rsp + 0x70], rbp
xor edi, edi
mov qword [rsp + 0x80], rsi
xorps xmm0, xmm0
mov qword [rsp + 0x48], rax
mov ebx, edi
lea rbp, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
movups xmmword [rsp + 0x38], xmm0
movabs rsi, 0x842108421084211
nop word [rax + rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, rsi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movsx eax, byte [rcx + rbp]
mov word [rsp + rbx*2 + 0x38], ax
inc rbx
cmp rbx, 0xb
jl 0x1400013a0
mov rsi, qword [rsp + 0x80]
lea rdx, [rsp + 0x38]
mov rbp, qword [rsp + 0x70]
lea rcx, str.___Creating_Pipe:__S_n
mov word [rsp + 0x4e], di
mov dword [rsp + 0x30], edi
call fcn.140001010
lea rax, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea r8, [0x1400021d0]
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0x38]
call fcn.140001d40
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140002680
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
call fcn.140001270
int3
lea rcx, str.Wrong_Argument:__s_n
call fcn.140001010
call fcn.140001270
int3
Function at 0x140002570
Capabilities:
Get token privileges

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x9050
call fcn.140003380
sub rsp, rax
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x9040], rax
mov rdi, rcx
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, [0x140004870]
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14000262a
lea rax, [rsp + 0x34]
mov r9d, 0x1000
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14000262a
xor ebx, ebx
cmp dword [rsp + 0x40], ebx
jbe 0x14000262a
nop
lea rcx, [rbx + rbx*2]
mov dword [rsp + 0x30], 0x1000
lea rdx, [rsp + 0x44]
lea rdx, [rdx + rcx*4]
xor ecx, ecx
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x8040]
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeNameA]
lea rdx, str.SeImpersonatePrivilege
lea rcx, [rsp + 0x8040]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14000265b
inc ebx
cmp ebx, dword [rsp + 0x40]
jb 0x1400025e0
test rdi, rdi
je 0x140002638
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x9040]
xor rcx, rsp
call fcn.140002680
mov rbx, qword [rsp + 0x9068]
add rsp, 0x9050
pop rdi
ret
mov eax, 1
jmp 0x14000263a

Function at 0x140002f54
Capabilities:
Parse pe header

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