joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002300
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rbx, rcx
lea r10, [rsp + 0x20]
mov ecx, 0x10
xor r9b, r9b
nop dword [rax]
nop word [rax + rax]
movzx edx, r9b
lea r10, [r10 + 4]
movzx eax, r9b
add r9b, 4
movzx r8d, byte [rax + rbx + 1]
movzx eax, byte [rdx + rbx]
shl eax, 8
or r8d, eax
movzx eax, byte [rdx + rbx + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + rbx + 3]
shl r8d, 8
or r8d, eax
mov dword [r10 - 4], r8d
sub rcx, 1
jne 0x140002340
mov esi, dword [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov r11b, 0x10
nop
mov r9d, dword [rdi + 4]
lea r10, [rdi]
movzx eax, r11b
lea rdi, [rdi + 4]
mov r8d, r9d
inc r11b
ror r8d, 0x12
mov edx, dword [rsp + rax*4 + 0x18]
mov ecx, edx
ror ecx, 0x13
mov eax, r9d
ror eax, 7
xor r8d, eax
mov eax, r9d
shr eax, 3
xor r8d, eax
mov eax, edx
ror eax, 0x11
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 + 0x24]
add r8d, esi
mov esi, r9d
mov dword [r10 + 0x40], r8d
cmp r11b, 0x40
jb 0x140002390
movups xmm0, xmmword [rbx + 0x50]
lea rax, [rbx + 0x50]
xor esi, esi
movups xmm1, xmmword [rax + 0x10]
mov qword [rbp + 0x68], rax
movups xmmword [rsp], xmm0
mov r12d, dword [rsp + 8]
lea ebx, [rsi + 0x40]
mov r13d, dword [rsp + 4]
mov r11d, dword [rsp]
movups xmmword [rsp + 0x10], xmm1
mov r14d, dword [rsp + 0x18]
mov r15d, dword [rsp + 0x14]
mov edi, dword [rsp + 0x10]
mov eax, dword [rsp + 0x1c]
nop word [rax + rax]
mov ecx, edi
lea rsi, [rsi + 4]
ror ecx, 0xb
mov r10d, edi
ror r10d, 0x19
mov edx, edi
xor r10d, ecx
not edx
and edx, r14d
mov ecx, edi
ror ecx, 6
mov r8d, r12d
xor r10d, ecx
mov r9d, r13d
mov ecx, r15d
and r9d, r8d
and ecx, edi
xor edx, ecx
lea rcx, [0x140005580]
add r10d, edx
mov edx, r11d
add r10d, dword [rsi + rcx - 4]
mov ecx, r11d
add r10d, dword [rsp + rsi + 0x1c]
ror ecx, 0xd
add r10d, eax
ror edx, 0x16
mov eax, r14d
xor edx, ecx
mov r14d, r15d
mov ecx, r11d
mov r15d, edi
mov edi, dword [rsp + 0xc]
ror ecx, 2
add edi, r10d
xor edx, ecx
mov dword [rsp + 0xc], r12d
mov r12d, r13d
mov r13d, r11d
mov ecx, r12d
or ecx, r8d
and r11d, ecx
lea ecx, [r10 + rdx]
or r11d, r9d
add r11d, ecx
sub rbx, 1
jne 0x140002430
lea r8, [rsp]
mov dword [rsp + 0x1c], eax
sub r8, qword [rbp + 0x60]
lea edx, [rbx + 8]
mov rax, qword [rbp + 0x68]
mov dword [rsp], r11d
mov dword [rsp + 0x10], edi
mov dword [rsp + 0x18], r14d
mov dword [rsp + 0x14], r15d
mov dword [rsp + 8], r12d
mov dword [rsp + 4], r13d
nop word [rax + rax]
mov ecx, dword [rax + r8 - 0x50]
add dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x140002500
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003a6c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
call fcn.14000ee8c
mov rcx, qword [rax]
mov qword [0x14003a078], rcx
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000f080
test rax, rax
je 0x14000106c
lea rcx, str.Windows_original_main_args:_n
call fcn.14000115c
xor ebx, ebx
call fcn.14000e8d8
cmp dword [rax], ebx
jle 0x14000106c
xor edi, edi
call fcn.14000e8e0
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.14000115c
inc ebx
lea rdi, [rdi + 8]
call fcn.14000e8d8
cmp ebx, dword [rax]
jl 0x140001043
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.140001304
call fcn.1400013a8
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.1400011b8
mov rbx, rax
call fcn.1400013b0
xor r9d, r9d
test edi, edi
jle 0x1400010b8
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a5
mov rdx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400010cf
mov rdx, qword [rbx]
mov rcx, qword [section..data]
test rcx, rcx
jne 0x1400010de
mov rcx, qword [rbx]
mov r9, qword [0x140038b50]
mov r8d, 1
test r9, r9
setne al
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x50], al
lea rax, [0x14002847c]
mov qword [rsp + 0x48], rdx
mov rdx, rbx
mov qword [rsp + 0x40], rcx
mov ecx, edi
mov qword [rsp + 0x38], rax
lea rax, [0x140028480]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140038b58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140001da8
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400047d4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x140038068]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rbx, rdx
mov edi, ecx
call fcn.140004a8c
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140004a64
movzx ecx, byte [rbx + 0xf]
shl rcx, 8
cmp byte [0x140038c10], 0
je 0x140004a05
movzx eax, byte [rbx + 0xa]
movzx edx, byte [rbx + 0xb]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 9]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 8]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0xe]
or rcx, rax
movzx eax, byte [rbx + 0xd]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 0xc]
shl rcx, 8
or rcx, rax
shl rcx, 0x20
or rdx, rcx
jl 0x140004a64
xor r8d, r8d
mov ecx, edi
call fcn.1400160ec
test rax, rax
js 0x140004a64
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.1400197b4
test eax, eax
js 0x140004a64
movzx eax, byte [rsp + 0x22]
movzx ecx, byte [rsp + 0x23]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x21]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x20]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6064b50
jne 0x140004a64
movzx eax, byte [rsp + 0x56]
movzx edx, byte [rsp + 0x57]
movzx r8d, byte [rsp + 0x53]
shl edx, 8
or edx, eax
shl r8d, 8
movzx eax, byte [rsp + 0x55]
shl edx, 8
or edx, eax
movzx eax, byte [rsp + 0x54]
shl edx, 8
or rdx, rax
movzx eax, byte [rsp + 0x52]
or r8d, eax
shl rdx, 0x20
movzx eax, byte [rsp + 0x51]
shl r8d, 8
or r8d, eax
movzx eax, byte [rsp + 0x50]
shl r8d, 8
or r8, rax
or rdx, r8
jl 0x140004a64
xor r8d, r8d
mov ecx, edi
call fcn.1400160ec
test rax, rax
js 0x140004a64
movzx eax, byte [rsp + 0x4e]
mov r8, 0xffffffffffffffc8
movzx edx, byte [rsp + 0x4f]
movzx ecx, byte [rsp + 0x4b]
shl rdx, 8
or rdx, rax
shl rcx, 8
movzx eax, byte [rsp + 0x4d]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x4c]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x4a]
or rcx, rax
shl rdx, 0x20
movzx eax, byte [rsp + 0x49]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsp + 0x48]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsp + 0x56]
or rdx, rcx
movzx ecx, byte [rsp + 0x53]
sub r8, rdx
shl rcx, 8
movzx edx, byte [rsp + 0x57]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x55]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x54]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x52]
or rcx, rax
shl rdx, 0x20
movzx eax, byte [rsp + 0x51]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsp + 0x50]
shl rcx, 8
or rcx, rax
or rdx, rcx
sub r8, rdx
add rsi, r8
jmp 0x140004a5f
movzx eax, byte [rbx + 0x12]
xor r8d, r8d
movzx edx, byte [rbx + 0x13]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0x11]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0x10]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0xe]
or rcx, rax
movzx eax, byte [rbx + 0xd]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 0xc]
shl rcx, 8
or rcx, rax
add rcx, rdx
sub rsi, rcx
mov ecx, edi
add rdx, rsi
call fcn.1400160ec
test rax, rax
js 0x140004a64
mov rax, rsi
jmp 0x140004a68
or rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.14000ac30
mov rbx, qword [rsp + 0x460]
add rsp, 0x430
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004a8c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
mov edi, 2
mov r8d, edi
mov rdx, 0xffffffffffffffea
mov ebp, ecx
call fcn.1400160ec
mov rbx, rax
test rax, rax
js 0x140004c1c
lea r8d, [rdi + 0x14]
mov rdx, rsi
mov ecx, ebp
call fcn.1400197b4
test eax, eax
js 0x140004c1c
movzx eax, byte [rsi + 2]
movzx ecx, byte [rsi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x140004b29
mov rcx, rsi
call fcn.140004ffc
test eax, eax
je 0x140004b21
mov r8, rbx
mov rdx, rsi
mov ecx, ebp
call fcn.140004c3c
mov rbx, rax
mov rax, rbx
jmp 0x140004c20
mov r8d, edi
xor edx, edx
mov ecx, ebp
call fcn.1400160ec
mov r15, rax
test rax, rax
js 0x140004c1c
mov r14d, 0x10015
mov r8d, edi
cmp rax, r14
mov ebx, r14d
mov ecx, ebp
cmovl rbx, rax
mov rdx, rbx
neg rdx
call fcn.1400160ec
test rax, rax
js 0x140004c1c
mov ecx, r14d
call fcn.14000f2b4
mov rdi, rax
test rax, rax
je 0x140004c1c
mov r8d, ebx
mov rdx, rax
mov ecx, ebp
call fcn.1400197b4
test eax, eax
js 0x140004c14
movsxd r14, eax
add eax, 0xffffffea
movsxd rbx, eax
add r14, rdi
add rbx, rdi
cmp rbx, rdi
jb 0x140004c14
cmp byte [rbx], 0x50
jne 0x140004beb
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x140004beb
movzx eax, byte [rbx + 0x14]
movzx ecx, byte [rbx + 0x15]
shl rcx, 8
or rcx, rax
lea rax, [rbx + 0x16]
add rax, rcx
cmp rax, r14
je 0x140004bf0
dec rbx
jmp 0x140004ba2
mov r8d, 0x16
mov rdx, rbx
mov rcx, rsi
call fcn.14000b490
mov rcx, rdi
call fcn.14000f2a0
sub rbx, r14
add rbx, r15
jmp 0x140004b05
mov rcx, rdi
call fcn.14000f2a0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140004c3c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov esi, ecx
lea rdx, [r8 - 0x14]
xor r8d, r8d
call fcn.1400160ec
mov rdi, rax
test rax, rax
js 0x140004ca3
mov r8d, 0x14
mov rdx, rbx
mov ecx, esi
call fcn.1400197b4
test eax, eax
js 0x140004ca3
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx]
shl ecx, 8
or ecx, eax
cmp ecx, 0x7064b50
jne 0x140004ca3
mov rax, rdi
jmp 0x140004ca7
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140005078
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x80
cmp qword [rdx + 8], 0xffffffffffffffff
mov r14, r8
mov rbx, rdx
mov esi, ecx
je 0x1400051c8
cmp qword [rdx], 0xffffffffffffffff
je 0x1400051c8
mov rdx, qword [rdx + 0x10]
xor r8d, r8d
call fcn.1400160ec
test rax, rax
js 0x1400051c8
mov rcx, qword [rbx + 8]
inc rcx
call fcn.14000f2b4
mov rdi, rax
test rax, rax
je 0x1400051c8
mov r8d, dword [rbx + 8]
mov rdx, rax
mov ecx, esi
call fcn.1400197b4
movsxd rcx, eax
mov rax, qword [rbx + 8]
cmp rcx, rax
jne 0x1400051c0
cmp dword [rbx + 0x18], 0
jne 0x140005115
mov byte [rax + rdi], 0
test r14, r14
je 0x14000510d
mov eax, dword [rbx + 8]
mov dword [r14], eax
mov rax, rdi
jmp 0x1400051ca
cmp dword [rbx + 0x18], 8
jne 0x1400051c0
and qword [rsp + 0x50], 0
lea r8, str.1.2.11
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x20]
and qword [rsp + 0x60], 0
mov r9d, 0x58
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], eax
lea edx, [r9 - 0x67]
call fcn.140009454
test eax, eax
js 0x1400051c0
mov rcx, qword [rbx]
inc rcx
call fcn.14000f2b4
mov rsi, rax
test rax, rax
je 0x1400051c0
mov ecx, dword [rbx]
mov edx, 1
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
call fcn.140007d74
mov rcx, rdi
test eax, eax
jns 0x140005197
call fcn.14000f2a0
mov rcx, rsi
jmp 0x1400051c3
mov rax, qword [rbx]
mov byte [rsi + rax], 0
call fcn.14000f2a0
lea rcx, [rsp + 0x20]
call fcn.14000940c
test eax, eax
js 0x140005192
test r14, r14
je 0x1400051bb
mov eax, dword [rbx]
mov dword [r14], eax
mov rax, rsi
jmp 0x1400051ca
mov rcx, rdi
call fcn.14000f2a0
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140005468
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax + 0x20], 0
lea rax, [rax - 0x18]
mov rsi, r8
mov qword [rsp + 0x28], rax
mov r9, r8
mov dword [rsp + 0x20], 0x10000
mov rbp, rcx
mov r8, rcx
xor ecx, ecx
mov rdi, rdx
call fcn.140016620
mov rbx, rax
test rax, rax
jne 0x1400054cf
lea rax, [rsp + 0x30]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov r8, rbp
and dword [rsp + 0x20], ebx
mov edx, edi
xor ecx, ecx
call fcn.140016620
mov rbx, rax
cmp dword [0x140038040], 0
je 0x140005586
lea rcx, str.J2D_D3D
call fcn.14000f080
test rax, rax
je 0x140005506
lea rdx, str.false
mov rcx, rax
call fcn.140018304
neg eax
sbb ecx, ecx
and dword [0x140038040], ecx
lea rcx, str.J2D_D3D_PRELOAD
call fcn.14000f080
mov rdi, rax
test rax, rax
je 0x14000553b
lea rdx, str.false
mov rcx, rax
call fcn.140018304
neg eax
sbb ecx, ecx
and ecx, dword [0x140038040]
mov dword [0x140038040], ecx
jmp 0x140005541
mov ecx, dword [0x140038040]
test ecx, ecx
jns 0x140005578
and dword [0x140038040], 0
test rdi, rdi
je 0x140005586
lea rdx, str.true
mov rcx, rdi
call fcn.140018304
mov ecx, dword [0x140038040]
test eax, eax
mov edx, 1
cmove ecx, edx
mov dword [0x140038040], ecx
test ecx, ecx
je 0x140005586
lea rcx, str.preloadD3D
call fcn.1400052f0
test rbx, rbx
je 0x1400055b0
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400055b9
mov rcx, rsi
call rbp
mov dword [rsp + 0x68], eax
cmp dword [0x140038c18], 0
je 0x1400055d0
mov rax, qword [0x140038c40]
test rax, rax
je 0x1400055d0
call rax
mov eax, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140006490
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov ebx, r9d
mov rbp, r8
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
lea r9, [r11 - 0x14]
xor r8d, r8d
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140006504
cmp dword [rsp + 0x34], 1
jne 0x140006504
cmp dword [rsp + 0x30], ebx
jae 0x140006504
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rbp
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140006504
mov al, 1
jmp 0x140006506
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140006b68
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140038068]
xor rax, rsp
mov qword [rbp + 0x70], rax
and qword [rsp + 0x38], 0
mov r15, rcx
movdqa xmm0, xmmword [0x140029e40]
xor esi, esi
movdqu xmmword [rsp + 0x48], xmm0
mov rcx, qword [rsp + rsi*8 + 0x48]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareJavaSoftJava_Runtime_Environment
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140006cf9
mov r14, qword [rsp + 0x38]
lea r8, [rsp + 0x60]
mov rcx, r14
mov r9d, 0x104
xor edx, edx
xor ebx, ebx
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x140006cf9
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x60]
inc ebx
call fcn.140007094
test eax, eax
je 0x140006c42
test rdi, rdi
je 0x140006c35
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400071ac
test eax, eax
jle 0x140006c42
mov rcx, rdi
call fcn.1400011e4
lea rcx, [rsp + 0x60]
call fcn.14000127c
mov rdi, rax
mov r9d, 0x104
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x140006c03
test rdi, rdi
je 0x140006cf9
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, rdi
mov ebx, eax
call fcn.1400011e4
mov rcx, qword [rsp + 0x30]
test ebx, ebx
je 0x140006ca4
test rcx, rcx
je 0x140006cf9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140006cf9
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x28], rax
lea rdx, str.JavaHome
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140006c97
test rcx, rcx
je 0x140006ce7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.14000127c
mov rbx, rax
test rax, rax
jne 0x140006d41
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140006d09
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rsi
cmp rsi, 1
jle 0x140006baf
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000ac30
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140006d51
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x140006d18
Function at 0x140007a08
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rcx
mov ebx, 0x10
mov ecx, ebx
call fcn.1400011b8
lea ecx, [rbx + 0x70]
mov rsi, rax
mov dword [rax + 0xc], ebx
call fcn.1400011b8
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.1400011b8
lea rdx, [0x140038c50]
mov rcx, r12
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x140007a7f
mov rcx, r14
call fcn.1400011e4
mov rcx, rsi
call fcn.140007740
xor eax, eax
jmp 0x140007bbd
lea r13, [0x140038c7c]
mov qword [r14], rax
mov qword [r14 + 8], r13
mov rbp, qword [r14 + 8]
test rbp, rbp
je 0x140007a9d
and qword [r14 + 8], 0
jmp 0x140007ab5
mov rcx, qword [r14]
lea rdx, [0x140038c50]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb rbp, rbp
and rbp, r13
test rbp, rbp
je 0x140007ba0
mov rcx, rbp
call fcn.14000f160
cmp eax, 4
jl 0x140007a8d
movsxd rcx, eax
cmp byte [rcx + rbp - 4], 0x2e
jne 0x140007a8d
lea rbx, [rcx + rbp]
lea rcx, [rbx - 3]
lea rdx, [0x140029e60]
call fcn.140015170
test eax, eax
je 0x140007b01
lea rdx, [0x140029e64]
lea rcx, [rbx - 3]
call fcn.140015170
test eax, eax
jne 0x140007a8d
mov edx, 0x3b
mov rcx, rbp
call fcn.14000bb58
test rax, rax
jne 0x140007a8d
mov rcx, r12
call fcn.14000f160
mov rcx, rbp
mov rdi, rax
call fcn.14000f160
mov rbx, rax
lea ecx, [rax + rdi]
movsxd rcx, ecx
call fcn.1400011b8
lea ecx, [rdi - 1]
mov rdx, r12
movsxd r8, ecx
mov r15, rax
mov rcx, rax
call fcn.14000b490
lea ecx, [rbx + 1]
mov rdx, rbp
movsxd r8, ecx
movsxd rcx, edi
dec rcx
add rcx, r15
call fcn.14000b490
mov edx, dword [rsi + 8]
mov ecx, dword [rsi + 0xc]
lea eax, [rdx + 1]
cmp ecx, eax
jge 0x140007b8e
add ecx, ecx
cmp ecx, eax
jl 0x140007b70
movsxd rdx, ecx
mov dword [rsi + 0xc], ecx
mov rcx, qword [rsi]
shl rdx, 3
call fcn.1400011ec
mov edx, dword [rsi + 8]
mov qword [rsi], rax
mov rax, qword [rsi]
movsxd rcx, edx
mov qword [rax + rcx*8], r15
inc dword [rsi + 8]
jmp 0x140007a8d
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [r14 + 8]
call fcn.1400011e4
mov rcx, r14
call fcn.1400011e4
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000f5a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000f433
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f433
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f433
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f433
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f433
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f433
cmp dword [rcx + 0xf8], 0
je 0x14000f433
mov ecx, ebx
call fcn.14000f4d4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000f2c4
cmp dword [rbp + 0x20], 0
je 0x14000f480
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f488
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f3cc
Function at 0x14001faa0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14001fa7d
call fcn.1400161b4
mov dword [rax], 0x16
call fcn.14001a790
or eax, 0xffffffff
jmp 0x14001fa9a
sub dword [rcx + 0x10], 1
jns 0x14001fa8c
add rsp, 0x28
jmp 0x140024814
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14001fa5c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x140024846
call fcn.1400161b4
mov dword [rax], 0x16
call fcn.14001a790
jmp 0x140024963
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140024963
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140024963
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140024875
lock or dword [rcx + 0x14], 0x10
jmp 0x140024963
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140024889
call fcn.140024980
mov rbx, qword [rdi + 8]
mov rcx, rdi
mov qword [rdi], rbx
call fcn.14001cc90
mov r8d, dword [rdi + 0x20]
mov ecx, eax
mov rdx, rbx
call fcn.1400197b4
mov dword [rdi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140024951
mov eax, dword [rdi + 0x14]
or esi, 0xffffffff
test al, 6
jne 0x14002491c
mov rcx, rdi
call fcn.14001cc90
cmp eax, esi
je 0x140024907
mov rcx, rdi
call fcn.14001cc90
cmp eax, 0xfffffffe
je 0x140024907
mov rcx, rdi
call fcn.14001cc90
movsxd rbx, eax
lea r14, [0x1400398b0]
mov rcx, rdi
sar rbx, 6
call fcn.14001cc90
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14002490e
lea rdx, [0x1400382d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002491c
lock or dword [rdi + 0x14], 0x20
cmp dword [rdi + 0x20], 0x200
jne 0x140024940
mov eax, dword [rdi + 0x14]
shr eax, 6
test al, 1
je 0x140024940
mov eax, dword [rdi + 0x14]
shr eax, 8
test al, 1
jne 0x140024940
mov dword [rdi + 0x20], 0x1000
add dword [rdi + 0x10], esi
mov rax, qword [rdi]
movzx esi, byte [rax]
inc rax
mov qword [rdi], rax
jmp 0x140024966
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rdi + 0x14], eax
and dword [rdi + 0x10], 0
or esi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret