joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c780
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rsi, str.NUITKA_ONEFILE_BINARY
mov ebx, ecx
mov rcx, rsi
call fcn.140025780
test rax, rax
je 0x14003c8c0
mov rdx, 0xffffffffffffffff
mov rcx, rax
lea r14, [rsp + 0x40]
mov r15d, 0x4e
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
mov rdi, r14
lea r12, [rsi + 0x28]
lea rbp, [rsp + 0x3e]
mov r13, rax
xor eax, eax
mov word [rsp + 0x40], ax
nop
mov rax, r12
mov rbx, rdi
sub rax, rsi
cmp word [rdi], 0
je 0x14003c7fe
nop
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x14003c7f0
test rax, rax
je 0x14009aee6
mov rcx, rbx
add rsi, 1
add rdi, 2
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, rbp
mov byte [rsp + 0x3e], r15b
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x3f], 0
call sub.msvcrt.dll_mbstowcs
movzx r15d, byte [rsi]
test r15b, r15b
jne 0x14003c7e0
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rdx, qword [0x1400bd718]
mov rsi, qword [rax + 0x1f0]
mov rax, qword [0x1400abae0]
mov rbx, qword [rax + 0x1b0]
test rdx, rdx
je 0x14003c918
mov r8, rbx
mov rcx, rsi
call fcn.1400281f0
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.140039750
sub qword [rbx], 1
jne 0x14003c8a9
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [rdx + 0x30]
mov rax, qword [rsp + 0x28]
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1400bcfe8]
lea rsi, [0x1400bcfe8]
test bl, bl
je 0x14003c8e0
mov rax, qword [0x1400bcff0]
lea rsi, [0x1400bcff0]
test rax, rax
jne 0x14003c8a9
cmp byte [0x1400bd202], 0
jne 0x14003c8f6
movzx ecx, bl
call fcn.1400063b0
mov rdx, 0xffffffffffffffff
lea rcx, [0x1400bd000]
call qword [sym.imp.python310.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x14003c945
add qword [rax], 1
jmp 0x14003c8a9
mov rdx, qword [0x1400bd690]
mov rdi, qword [rax + 0x1a0]
test rdx, rdx
je 0x14003c950
mov r8, rdi
mov rcx, rsi
call fcn.1400281f0
mov qword [0x1400bd718], rax
mov rdx, rax
jmp 0x14003c873
call qword [sym.imp.python310.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x1400a4306]
call qword [sym.imp.python310.dll_PyImport_ImportModule]
mov qword [0x1400bd690], rax
mov rdx, rax
test rax, rax
je 0x14009aee6
jmp 0x14003c92b
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call qword [sym.imp.python310.dll_PyErr_NoMemory]
call sub.msvcrt.dll_abort
nop
Function at 0x14007fe40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1400bcfd1], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x14007fec8
lea rdx, [0x1400a78aa]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14007ff30
mov rbx, qword [0x1400bce88]
jmp 0x14007fe85
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x14007fe80
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14006e4f0
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1400bce88], rax
mov ebx, dword [rax]
mov qword [0x1400bce88], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1400bce88], rdx
call fcn.14007ef70
cmp eax, ebx
jne 0x14007ffb7
mov byte [0x1400bcfd1], 1
jmp 0x14007fe5c
cmp byte [0x1400bcfd0], 0
jne 0x14007fe73
mov rbx, qword [sym.imp.python310.dll_PyDict_New]
call rbx
mov qword [0x1400bd908], rax
call rbx
mov qword [0x1400bd900], rax
call rbx
mov qword [0x1400bd8f8], rax
call rbx
mov qword [0x1400bd8f0], rax
call rbx
mov qword [0x1400bd8e8], rax
call rbx
mov qword [0x1400bd8e0], rax
call rbx
mov qword [0x1400bd8d8], rax
call rbx
mov byte [0x1400bcfd0], 1
mov qword [0x1400bd8d0], rax
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rax, qword [rax + 0x1f0]
mov rax, qword [rax + 0x10]
add rax, 0xda0
mov qword [0x1400bce80], rax
jmp 0x14007fe73
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140088c10
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 fcn.14009a390
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14009a390
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1400898e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400bddc8]
test eax, eax
je 0x14008997a
lea rax, [0x1400bdda0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400bddd0]
mov qword [rbp - 8], rax
jmp 0x14008995e
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 0x140089952
cmp qword [rbp - 0x10], 0
je 0x140089952
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 0x140089918
lea rax, [0x1400bdda0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14008997b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140089a80
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 0x140089aa8
mov eax, 0
jmp 0x140089af6
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 0x140089ad1
mov eax, 0
jmp 0x140089af6
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 0x140089af1
mov eax, 0
jmp 0x140089af6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140089afc
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 0x140089b7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140089b71
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 0x140089b71
mov rax, qword [rbp - 8]
jmp 0x140089b8f
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 0x140089b44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x6dba51
Capabilities:
Execute anti-debugging instructions

Disassembly:
btc r13w, r11w
sbb r8w, 0xcb3b
mov byte [rsp], dil
jmp 0x6db443
xchg r13b, bpl
setge r8b
mov dx, 0x6d7e
xchg di, r15w
bsr r15w, r15w
mov r12b, byte [rsp]
jmp 0x6db413
xchg r9, r14
bsr dx, r9w
lea rsp, [rsp]
call fcn.006db64f
sbb al, 0x6f
jbe 0x6db4b9
movabs al, byte [0x648d48fcc2920f41]
and al, 0xa
setb r10b
cld
lea rsp, [rsp + 0xa]
mov r15, 0xffffffff975d4fe7
add rsp, 0
bt bx, dx
jmp 0x6db429
xchg r11d, r9d
push word [rsp + 5]
mov esi, dword [rsp + 6]
jmp 0x6db4a2
xchg r13, r10
lea r8, [rax + r9]
push r9w
mov r11w, 0x3c85
mov r13, rsi
mov r14d, r15d
jmp 0x6db474
mov r13b, byte [rsp + 7]
mov dword [rsp + 1], r9d
sub rsp, 0x1f
xchg dword [rsp + 0x28], ebx
xchg r8d, r13d
push qword [rsp + 0x2c]
jmp 0x6db596
je 0x6db4df
sub al, 0xe9
invalid
pop rsp
and al, 6
jmp 0x6db48a
mov eax, dword [rsp + 0x18]
lea rsi, [rbp + riz - 0xd3]
mov dword [rsp + 0xf], r10d
lea r10, [0x50f6bb44]
call int.006db514
invalid
mov si, di
mov rax, r9
mov r12b, r15b
or r15d, 0xf24fcb3c
lea r12, [r11 + rbp]
lea r11, [r8 + riz]
jmp 0x6db53b
setp dil
setbe dil
inc r10d
xchg dword [rsp + 8], r15d
lea r11, [rdx + riz - 0x34fd4a88]
mov r8d, 0x41884102
jmp 0x6db569
xchg rdx, r14
bt rbp, rax
mov esi, dword [rsp + 7]
rdtsc
xchg r9, rax
xchg r15d, esi
jmp 0x6db459
mov rdi, 0x72d4da3
rdtsc
bsr rdi, r14
add rsp, 6
jmp 0x6db78c

Function at 0x6dbf04
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor dil, bpl
mov r12b, 0x97
mov r8d, r11d
jmp 0x6dbfd0
xchg byte [rsp], bpl
mov bpl, spl
sub rsp, 0x1f
btc r13d, r14d
mov esi, dword [rsp + 0x42]
mov r14b, bl
jmp 0x6dbf5a
cld
bsf r10, rcx
xchg byte [rsp + 1], r15b
rdtsc
sub rsp, 0x12
xchg qword [rsp + 0x12], rdx
jmp 0x6dbf70
Function at 0x6dc20c
Capabilities:
Execute anti-debugging instructions

Disassembly:
btr r12w, r11w
pop qword [rsp + 3]
rdtsc
mov r12d, dword [rsp]
jmp 0x6dc229
mov byte [rsp + 1], r9b
jmp 0x6dc1f6
lea rsp, [rsp + 4]
mov r8w, 0x5ff1
xchg qword [rsp + 5], r8
jmp 0x6dc28a
neg r12b
lea r15, [rbp*8]
not r11d
sub rsp, 0x13
shl r8b, 5
mov byte [rsp + 0x18], r14b
jmp 0x6dc213
mov r12d, 0xf7ddffab
setl bl
pop word [rsp + 0x13]
mov r15, 0xffffffff896e6e9b
xchg qword [rsp + 0x10], rdi
not esi
jmp 0x6dc26b

Function at 0x6dcc0a
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [rsp + 0x38]
mov dword [rsp + 0x21], esi
push qword [rsp + 0x18]
lea rsp, [rsp + 4]
mov qword [rsp + 0x16], rdx
mov byte [rsp + 0x30], r15b
push word [rsp + 0x24]
jmp 0x6dcbee

Function at 0x6dfe62
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bx, word [rsp + 1]
setns bl
jmp 0x6dfe90

Function at 0x6e0158
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [rsp + 0x17], al
mov r12b, byte [rsp + 6]
pop rdi
jmp 0x6e0177
lea rsp, [rsp + 2]
rdtsc
jmp 0x6e0142
xchg r12d, r11d
cmc
lea rsp, [rsp + 4]
pop word [rsp + 1]
jmp 0x6e0191
mov r10d, 0x93a5b80c
bswap eax
xchg byte [rsp + 0x10], r12b
xchg r11w, r10w
mov ax, r13w
mov rcx, rsi
jmp 0x6e0161
xchg cx, di
mov r11d, edx
not r14b
push word [rsp + 1]
mov r14d, 0xe837ea4b
jmp 0x6e044b
bswap r10
xchg byte [rsp + 5], al
xchg byte [rsp + 2], al
bsf ax, cx
jmp 0x6e01fc
xchg word [rsp + 2], bx
mov r9, 0x24d7dad7
bswap r9
mov byte [rsp + 5], bpl
mov r11, qword [rsp]
mov dword [rsp], esi
jmp 0x6e01c9
push word [rsp + 5]
bswap edx
push r12
xchg r12d, r10d
mov dword [rsp + 1], ecx
mov edx, ecx
jmp 0x6e02cb
setae al
bt r10, rbx
neg r9d
lea r11, [rax + riz]
mov r10d, 0xe75df3cd
bsf r9, r9
jmp 0x6e01df
xchg cx, dx
xchg r9, rdi
mov dx, word [rsp + 8]
bswap r12
call fcn.006e026b
mov al, byte [rsp + 4]
xchg r10w, dx
cpuid
mov bl, 0x82
neg dil
jmp 0x6e0345
mov r12d, 0xbf6115e9
mov eax, r10d
xchg rdi, r12
jmp 0x6e035e
pop di
pushfq
lea rdx, [r15 + r13]
mov r14w, word [rsp + 0x23]
setno r10b
pop qword [rsp + 0x13]
jmp 0x6e032f
lea rsp, [rsp + 6]
mov word [rsp + 0x13], di
mov ecx, r14d
mov bl, 0xd7
mov dil, 0x86
push word [rsp + 1]
jmp 0x6e03db
push qword [rsp + 0x25]
pop r12
add rsp, 0x23
mov word [rsp + 1], r11w
mov rdx, qword [rsp]
rdtsc
jmp 0x6e0223
dec r11w
call fcn.006e0399
xchg qword [rsp + 0xa], rbx
lea rax, [rsi + rbp]
mov r11w, 0x7cba
mov r10d, dword [rsp + 0xb]
dec bx
xchg dl, al
jmp 0x6e03af
sub rsp, 0x1e
shl rbx, 8
mov word [rsp + 9], r13w
xchg r12d, r11d
pop word [rsp + 0xd]
xchg qword [rsp + 0x1c], r12
jmp 0x6e037d
Function at 0x18000c840
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], 0
mov rcx, rdx
call fcn.18000bc10
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.180030738
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ebx, [rax*4]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
xor edi, ebx
shl edi, 0xc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, edi
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000c8c9
add ecx, 0x30
jmp 0x18000c8cc
add ecx, 0x37
mov byte [rsp + 0x38], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000c8e2
add ecx, 0x30
jmp 0x18000c8e5
add ecx, 0x37
mov byte [rsp + 0x39], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000c8fb
add ecx, 0x30
jmp 0x18000c8fe
add ecx, 0x37
mov byte [rsp + 0x3a], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000c914
add ecx, 0x30
jmp 0x18000c917
add ecx, 0x37
mov byte [rsp + 0x3b], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000c92d
add ecx, 0x30
jmp 0x18000c930
add ecx, 0x37
mov byte [rsp + 0x3c], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000c946
add ecx, 0x30
jmp 0x18000c949
add ecx, 0x37
mov byte [rsp + 0x3d], cl
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 0xa
jae 0x18000c95f
add ecx, 0x30
jmp 0x18000c962
add ecx, 0x37
mov byte [rsp + 0x3e], cl
cmp eax, 0xa
jae 0x18000c970
add eax, 0x30
jmp 0x18000c973
add eax, 0x37
mov byte [rsp + 0x3f], al
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.18000bf90
call fcn.18003070c
mov edx, eax
mov rcx, rsi
call fcn.18000c150
mov rax, rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18002bf10
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x18000da90
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [rcx]
mov rdi, rdx
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x18000dac9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18000dac9
xor al, al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [rsp + 0x30]
mov rax, rbx
shl rcx, 0x20
mov al, 1
add rcx, rbx
mov rbx, qword [rsp + 0x38]
mov qword [rdi], rcx
add rsp, 0x20
pop rdi
ret

Function at 0x18000db70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebp, ebp
mov rsi, r9
mov dword [r9], ebp
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
nop dword [rax]
nop word [rax + rax]
cmp ebx, dword [0x180068c80]
lea r9, [rsp + 0x60]
mov rcx, qword [r14]
mov r8d, ebx
cmova r8d, dword [0x180068c80]
mov rdx, rdi
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x60]
add dword [rsi], ecx
test eax, eax
je 0x18000dbe6
test ecx, ecx
je 0x18000dbe2
add rdi, rcx
mov eax, ecx
sub ebx, ecx
jne 0x18000dba0
mov al, 1
jmp 0x18000dbe8
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x18000e8a0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x120
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor ebx, ebx
test rcx, rcx
je 0x18000e8e8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18000e8e8
mov qword [rdi], rbx
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.18000bb80
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x88]
call fcn.18000eb40
nop
mov r8d, 0x20
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.18000e880
nop
mov r8, rbp
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18000bea0
nop
mov rcx, qword [rsp + 0x78]
call fcn.18002be68
nop
mov rcx, qword [rsp + 0x88]
call fcn.18002be68
nop
mov rcx, qword [rsp + 0x50]
call fcn.18002be68
mov dword [rsp + 0xb0], 0x68
mov qword [rsp + 0xb8], rbx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xc0], xmm0
mov dword [rsp + 0xec], ebx
mov word [rsp + 0xf2], bx
mov qword [rsp + 0xf8], rbx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x18000e9d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x18000e9ed
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x60]
call fcn.18002be68
mov eax, ebx
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x18000ea20
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
cmp byte [rsp + 0xf0], 0
jne 0x18000ea5d
call fcn.18000e8a0
jmp 0x18000eb25
mov rcx, qword [rcx]
xor edi, edi
test rcx, rcx
je 0x18000ea74
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18000ea74
mov qword [rbx], rdi
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.18000bb80
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.18000eb40
nop
mov rcx, qword [rsp + 0x20]
call fcn.18002be68
mov dword [rsp + 0x50], 0x70
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rsp + 0x54]
call fcn.18002ddc0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x54], 0x240
mov dword [rsp + 0x80], 1
mov rax, qword [rsi]
mov qword [rsp + 0x70], rax
mov rcx, rbx
call fcn.18000ec20
lea rcx, str.runas
test eax, eax
cmovne rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x18000eb0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x18000eb19
mov rax, qword [rsp + 0xb8]
mov qword [rbx], rax
mov rcx, qword [rsp + 0x30]
call fcn.18002be68
mov eax, edi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x18000ec20
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub rsp, 0x188
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x11c
call fcn.18002ddc0
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x54], 5
jg 0x18000ec94
cmp dword [rsp + 0x58], 2
jg 0x18000ec94
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18002bf10
add rsp, 0x188
ret
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18002bf10
add rsp, 0x188
ret

Function at 0x18000edb0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
lea r9, [rsp + 0x58]
xor eax, eax
mov dword [rsp + 0x58], 0
cmp byte [r8], al
mov rbx, r8
mov dword [rsp + 0x50], 4
setne al
xor r8d, r8d
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x40], 0
setne cl
mov byte [rbx], cl
add rsp, 0x30
pop rbx
ret
Function at 0x18000f5a0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov rax, qword [0x180076120]
test rax, rax
jne 0x18000f5f4
mov ecx, 0x1a8
call fcn.18002be24
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18000f5ea
mov rcx, rax
call fcn.18001ddb0
jmp 0x18000f5ed
mov rax, rbx
mov qword [0x180076120], rax
mov rcx, rax
call fcn.18001dee0
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x40], bx
cmp word [rax], 0
jne 0x18000f61a
mov r8, rbx
jmp 0x18000f62b
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18000f620
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000a8d0
nop
mov r8d, 0xb
lea rdx, str.TGDmhlp.exe
lea rcx, [rsp + 0x40]
call fcn.18000fca0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000f694
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.b959a1
call fcn.180019b80
nop
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x18000f6b1
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18000aa20
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18002bf10
add rsp, 0x70
pop rbx
ret

Function at 0x18000f6d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
xor edx, edx
lea rcx, str.GDefmng.exe
call fcn.18001a2b0
xor edx, edx
lea rcx, str.GDVCDbus.exe
add rsp, 0x28
jmp fcn.18001a2b0