joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c93f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x140122940]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rcx, [0x14010e740]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400c942f
xor al, al
jmp 0x1400c95dd
mov r8, qword [rsp + 0xc0]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x70]
call fcn.1400c8f00
nop
lea rcx, [rsp + 0x70]
call fcn.14003a800
mov rdx, rax
lea rcx, [rsp + 0x90]
call sub.ntdll.dll_RtlInitUnicodeString
mov r8, qword [rsp + 0xc0]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x50]
call fcn.1400c8f00
nop
lea rcx, [rsp + 0x50]
call fcn.14003a800
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400c94f6
cmp dword [rsp + 0x28], 2
jne 0x1400c94d2
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x50]
call fcn.1400acfd0
nop
lea rcx, [rsp + 0x70]
call fcn.1400acfd0
movzx eax, byte [rsp + 0x20]
jmp 0x1400c95dd
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x50]
call fcn.1400acfd0
nop
lea rcx, [rsp + 0x70]
call fcn.1400acfd0
movzx eax, byte [rsp + 0x21]
jmp 0x1400c95dd
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x90]
call qword [rsp + 0x40]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x1400c9578
lea rcx, [rsp + 0x50]
call fcn.14003a800
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x50]
call fcn.1400acfd0
nop
lea rcx, [rsp + 0x70]
call fcn.1400acfd0
movzx eax, byte [rsp + 0x22]
jmp 0x1400c95dd
lea rcx, [rsp + 0x50]
call fcn.14003a800
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400c95be
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x50]
call fcn.1400acfd0
nop
lea rcx, [rsp + 0x70]
call fcn.1400acfd0
movzx eax, byte [rsp + 0x23]
jmp 0x1400c95dd
mov byte [rsp + 0x24], 1
lea rcx, [rsp + 0x50]
call fcn.1400acfd0
nop
lea rcx, [rsp + 0x70]
call fcn.1400acfd0
movzx eax, byte [rsp + 0x24]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400ca200
add rsp, 0xb8
ret
Function at 0x1400c96c4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400c96fe
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c9703
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c974c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14010e930]
cmp byte [rcx + rax], 0
je 0x1400c974c
dec r8
sub rdx, 1
jne 0x1400c9732
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400caddc
Capabilities:
Parse pe header

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

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

Disassembly:
test rcx, rcx
je 0x1400051a0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000519f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400051a5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000519f
mov eax, 0
jmp 0x14000519f

Function at 0x140005820
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400057d0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000fa00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14056b090]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000fa6f
mov rcx, r9
call fcn.14000f8d0
test eax, eax
je 0x14000fa6f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000fa6d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000fa64
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000fa6f
add rdx, 0x28
cmp rdx, r9
jne 0x14000fa50
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140001d40
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.140002290
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.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

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

Function at 0x140002420
Capabilities:
Parse pe header

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

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x140001d40
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.140002290
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.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

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

Function at 0x140002420
Capabilities:
Parse pe header

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

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140018008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x1400029f4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180004236
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
dec rcx
call fcn.180004210
movzx edx, word [rdi + rbx*2]
mov ecx, eax
mov rbx, qword [rsp + 0x30]
xor rdx, rcx
movzx ecx, dl
lea rdx, [0x180030740]
shr eax, 8
xor eax, dword [rdx + rcx*4]
add rsp, 0x20
pop rdi
ret

Function at 0x180004290
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1800042b6
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
dec rcx
mov qword [rsp + 0x38], rdi
call fcn.180004290
movsx ebx, byte [rbx + rsi]
mov edi, eax
call fcn.180004270
mov byte [rsp + 0x30], al
movzx edx, bl
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x40], 0x47a60beb
mov r8d, dword [rsp + 0x40]
movzx ecx, byte [rsp + 0x30]
xor r8d, 0xd6
movsx eax, byte [rsp + 0x30]
sub dl, cl
xor r8b, 0x27
cmp dl, r8b
mov edx, ebx
mov rbx, qword [rsp + 0x48]
sbb ecx, ecx
add eax, 0xbe
and ecx, 0x20
or edx, ecx
lea rcx, [0x180030740]
xor edx, edi
shr edi, 8
and rax, rdx
xor edi, dword [rcx + rax*4]
mov eax, edi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret

Function at 0x180004340
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180004366
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
dec rcx
mov qword [rsp + 0x38], rdi
call fcn.180004340
movzx ebx, word [rsi + rbx*2]
mov edi, eax
call fcn.180004270
mov byte [rsp + 0x30], al
movzx ecx, bx
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x40], 0x489d0aab
mov r8d, dword [rsp + 0x40]
movsx edx, byte [rsp + 0x30]
xor r8d, 0xd6
sub cx, dx
xor r8b, 0x67
movsx edx, byte [rsp + 0x30]
movzx eax, r8b
cmp cx, ax
sbb ax, ax
add edx, 0xbe
and ax, 0x20
or bx, ax
lea rax, [0x180030740]
movzx ecx, bx
mov rbx, qword [rsp + 0x48]
xor rcx, rdi
shr edi, 8
and rdx, rcx
xor edi, dword [rax + rdx*4]
mov eax, edi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x1800063c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rsi, r9
mov r10, rdx
mov qword [rsp + 0x20], rdx
mov r13, rcx
movsxd r8, dword [rdx + 0x3c]
movsxd rax, dword [rcx + 0x3c]
mov r9d, dword [r8 + rdx + 0x88]
mov r8d, dword [rax + rcx + 0x88]
test r9d, r9d
jne 0x180006408
test r8d, r8d
je 0x1800065e7
mov rbp, r9
lea r11, [r8 + rcx]
mov qword [rsp + 0x28], r11
add rbp, rdx
jne 0x180006422
test r11, r11
je 0x1800065e7
mov ebx, dword [rbp + 0x20]
add rbx, rdx
mov qword [rsp + 0x30], rbx
mov edi, dword [r11 + 0x20]
add rdi, r13
mov qword [rsp + 0x38], rdi
xor r15d, r15d
cmp dword [rbp + 0x18], r15d
jbe 0x1800065e7
nop word [rax + rax]
lea r8, [r15 + r15]
mov eax, dword [rbp + 0x24]
add rax, r8
movzx edx, word [rax + r10]
mov ecx, dword [rbp + 0x1c]
add rcx, r10
mov r12d, dword [rcx + rdx*4]
mov eax, dword [r11 + 0x24]
add rax, r8
movzx edx, word [rax + r13]
mov ecx, dword [r11 + 0x1c]
add rcx, r13
mov r14d, dword [rcx + rdx*4]
add r14, r13
add r12, r10
je 0x1800065da
test r14, r14
je 0x1800065da
mov edx, dword [rbx + r15*4]
add rdx, r10
mov edi, dword [rdi + r15*4]
add rdi, r13
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1800064b0
dec rcx
call fcn.180004290
mov ebx, eax
not ebx
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1800064d0
dec rcx
mov rdx, rdi
call fcn.180004290
not eax
cmp ebx, eax
jne 0x1800065c6
cmp ebx, 0xf33c2ac
je 0x1800065c6
cmp ebx, 0x2078f304
je 0x1800065c6
cmp ebx, 0x46926cf5
je 0x1800065c6
cmp ebx, 0x5100831b
je 0x1800065c6
cmp ebx, 0x515def78
je 0x1800065c6
cmp ebx, 0x6db71dcd
je 0x1800065c6
cmp ebx, 0xc8827a2a
je 0x1800065c6
cmp ebx, 0xa9554556
je 0x1800065c6
mov r8d, 4
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_RtlCompareMemory]
cmp rax, 4
je 0x1800065c6
test rsi, rsi
je 0x1800065bb
mov rbx, qword [rsi]
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 8], rax
je 0x1800065ff
mov qword [rsp + 0x40], rsi
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x48], rdi
lea ecx, [rdi + 0x18]
call fcn.18000b440
mov qword [rsp + 0x48], rax
mov qword [rax + 0x10], r12
inc qword [rsi + 8]
mov rcx, qword [rbx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov qword [rsp + 0x48], rdi
mov qword [rbx + 8], rax
mov qword [rcx], rax
mov r8, r14
mov rdx, r12
call fcn.1800062a0
mov r10, qword [rsp + 0x20]
mov r11, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
inc r15d
cmp r15d, dword [rbp + 0x18]
jb 0x180006450
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_too_long
call fcn.18000c3f8
int3
Function at 0x180006610
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
push r15
sub rsp, 0x80
mov rax, qword [0x180035040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [r11 - 0x48], 8
mov qword [r11 - 0x58], rax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x48], eax
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x30]
mov r15, qword [rcx + 0x60]
test r15, r15
je 0x1800067ef
mov qword [r11 - 0x20], r13
mov eax, 0x5a4d
mov r13, qword [r15 + 0x10]
cmp word [r13], ax
jne 0x1800067ea
movsxd rax, dword [r13 + 0x3c]
cmp dword [rax + r13], 0x4550
jne 0x1800067ea
mov qword [r11 - 0x28], r14
mov r14d, dword [rax + r13 + 0x90]
add r14, r13
cmp dword [r14], 0
je 0x1800067e5
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r12
mov ecx, dword [r14 + 0xc]
add rcx, r13
call fcn.180009e70
mov r12, rax
test rax, rax
je 0x1800067c3
mov esi, dword [r14]
add rsi, qword [r15 + 0x10]
mov ebx, dword [r14 + 0x10]
add rbx, qword [r15 + 0x10]
mov rcx, qword [rsi]
test rcx, rcx
js 0x1800067b5
je 0x1800067b5
mov rdx, qword [r15 + 0x10]
add rdx, 2
mov qword [rsp + 0x30], rbx
mov rbp, qword [rbx]
add rdx, rcx
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x180006705
dec rcx
call fcn.180004290
not eax
mov rcx, r12
mov edx, eax
call fcn.180009f80
mov rdi, rax
test rbp, rbp
je 0x180006798
test rax, rax
je 0x180006798
cmp rbp, rax
je 0x180006798
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], 8
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
lea rdx, [rsp + 0x30]
call fcn.18000b108
test eax, eax
js 0x180006798
mov qword [rbx], rdi
lea rax, [rsp + 0x48]
mov r9d, dword [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x40], 8
call fcn.18000b108
add rsi, 8
mov qword [rsp + 0x30], 0
add rbx, 8
mov rcx, qword [rsi]
test rcx, rcx
jns 0x1800066e5
add r14, 0x14
cmp dword [r14], 0
jne 0x1800066b2
mov rbx, qword [rsp + 0x90]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18000b300
add rsp, 0x80
pop r15
ret
Function at 0x180007a10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x180035040]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx + 0x60]
cmp byte [rax + 2], bl
jne 0x180007a9b
cmp dword [rax + 0xb8], 2
jb 0x180007a9b
lea r9d, [rbx + 8]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x30]
lea edx, [rbx + 7]
lea rcx, [rbx - 1]
call fcn.18000b06c
test eax, eax
jne 0x180007a86
cmp qword [rsp + 0x30], rbx
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18000b300
add rsp, 0x40
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18000b300
add rsp, 0x40
pop rbx
ret
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18000b300
add rsp, 0x40
pop rbx
ret
Function at 0x18000a290
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
xor edx, edx
call fcn.180009c40
mov edx, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.180009f80

Function at 0x18000a2b0
Capabilities:
Hash data with crc32
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x18000a2d0
dec r8
cmp r8, 0xffffffffffffffff
jne 0x18000a2eb
mov eax, 0xffffffff
jmp 0x18000a311
lea rcx, [r8 - 1]
mov rdx, rbx
call fcn.180004210
movzx edx, word [rbx + r8*2]
mov ecx, eax
xor rdx, rcx
shr eax, 8
movzx ecx, dl
lea rdx, [0x180030740]
xor eax, dword [rdx + rcx*4]
not eax
xor edx, edx
mov ecx, eax
call fcn.180009c40
test rax, rax
jne 0x18000a329
mov rcx, rbx
call fcn.180009880
mov edx, edi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180009f80
Function at 0x18000afe5
Capabilities:
Check os version
Execute syscall

Disassembly:
xor al, 0x5a
mov r10, qword gs:[0x60]
cmp word [r10 + 0x118], 0xa
je 0x18000b037
cmp word [r10 + 0x118], 6
je 0x18000b008
jmp 0x18000b05e
cmp word [r10 + 0x11c], 3
je 0x18000b039
cmp word [r10 + 0x11c], 2
je 0x18000b03b
cmp word [r10 + 0x11c], 1
jne 0x18000b05e
cmp word [r10 + 0x120], 0x1db1
je 0x18000b03d
jmp 0x18000b05e
inc eax
inc eax
inc eax
cmp qword [0x18007e378], 0
jne 0x18000b053
cmp eax, 0xc390050f
pop r10
mov r10, rcx
jne 0x18000b048
syscall
nop
ret
pop r10
mov r10, rcx
jmp qword [0x18007e378]
ret
Function at 0x18001ba7c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18001baac
xor eax, eax
jmp 0x18001bb6f
mov rbp, rbx
cmp word [rax], si
je 0x18001bad1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001bab8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001bab4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18001b9cc
movsxd r14, eax
test eax, eax
jne 0x18001bb0f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001baa5
mov rcx, r14
call fcn.1800197f8
mov rdi, rax
test rax, rax
jne 0x18001bb28
xor ecx, ecx
call fcn.1800197bc
jmp 0x18001bb04
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18001b9cc
test eax, eax
jne 0x18001bb59
mov rcx, rdi
call fcn.1800197bc
jmp 0x18001bb63
xor ecx, ecx
call fcn.1800197bc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800201d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800201f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800201f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140332058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1403321df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140332089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14033206f
add dl, dl
jne 0x140332096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1403320f6
xor eax, eax
add dl, dl
jne 0x1403320a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1403321ad
add dl, dl
jne 0x1403320b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1403320c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1403320d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1403320dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1403320ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14033207e
mov eax, 1
add dl, dl
jne 0x140332106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140332113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1403320fb
sub eax, ebx
mov ebx, 1
jne 0x14033214c
mov ecx, 1
add dl, dl
jne 0x14033212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14033213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140332123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14033207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140332168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140332175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14033215d
cmp eax, 0x7d00
jae 0x14033219b
cmp eax, 0x500
jb 0x140332196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14033207e
cmp eax, 0x7f
ja 0x14033219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14033207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1403321d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14033207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400016c1
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret

Function at 0x140001fa0
Capabilities:
Parse pe header

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