joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002130
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002148
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002150
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002160
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x1400021ad
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x1400021a4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400021af
add rax, 0x28
cmp rax, r9
jne 0x140002190
xor eax, eax
ret

Function at 0x1400021b0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002240
mov rdx, qword [0x1400043b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000222e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000222e
cmp word [rax + 0x18], 0x20b
jne 0x14000222e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002240
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002219
add rbx, 0x28
cmp rbx, rdi
je 0x140002240
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002210
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002270
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002278
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002270
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400022cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1400022c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002270
add rax, 0x28
cmp rax, r9
jne 0x1400022b0
xor eax, eax
ret

Function at 0x1400022d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400022ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400022ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002310
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002330
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002338
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002330
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x140002380
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002377
test rcx, rcx
je 0x140002330
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002368
xor eax, eax
ret

Function at 0x140002390
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400023af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400023b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400023f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400023f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400023f0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x1400023f0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140002444
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002450
add rdx, 0x28
cmp r9, rdx
jne 0x140002430
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1400043b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002482
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002490
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002482
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002482
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x140002482
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x1400024e5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400024f8
add rdx, 0x28
cmp rdx, r10
jne 0x1400024d0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002507
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002517
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400024ee
test ecx, ecx
jg 0x140002500
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1800010b0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
lea rax, str.C:WindowsSystem32
mov dword [rsp + 0x28], 5
mov r9, r8
mov qword [rsp + 0x20], rax
lea r8, str.mshta.exe
xor ecx, ecx
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret
Function at 0x180008e94
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 0x180008ec4
xor eax, eax
jmp 0x180008f87
mov rbp, rbx
cmp word [rax], si
je 0x180008ee9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180008ed0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180008ecc
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.180008db4
movsxd r14, eax
test eax, eax
jne 0x180008f27
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180008ebd
mov rcx, r14
call fcn.18000724c
mov rdi, rax
test rax, rax
jne 0x180008f40
xor ecx, ecx
call fcn.1800072ac
jmp 0x180008f1c
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.180008db4
test eax, eax
jne 0x180008f71
mov rcx, rdi
call fcn.1800072ac
jmp 0x180008f7b
xor ecx, ecx
call fcn.1800072ac
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 0x18000e300
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000e328
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000e328
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18074a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18074a1df
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 0x18074a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18074a06f
add dl, dl
jne 0x18074a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18074a0f6
xor eax, eax
add dl, dl
jne 0x18074a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18074a1ad
add dl, dl
jne 0x18074a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18074a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18074a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18074a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18074a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18074a07e
mov eax, 1
add dl, dl
jne 0x18074a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18074a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18074a0fb
sub eax, ebx
mov ebx, 1
jne 0x18074a14c
mov ecx, 1
add dl, dl
jne 0x18074a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18074a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18074a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18074a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18074a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18074a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18074a15d
cmp eax, 0x7d00
jae 0x18074a19b
cmp eax, 0x500
jb 0x18074a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18074a07e
cmp eax, 0x7f
ja 0x18074a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18074a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18074a1d2
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 0x18074a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140016000
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 fcn.14001edbc
test rax, rax
je 0x14001605a
lea rcx, str.Windows_original_main_args:_n
call fcn.14001ec54
xor ebx, ebx
cmp dword [0x140039984], ebx
jle 0x14001605a
xor edi, edi
mov r8, qword [0x140039988]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rdi + r8]
call fcn.14001ec54
inc ebx
add rdi, 8
cmp ebx, dword [0x140039984]
jl 0x140016033
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.140018f4c
call fcn.140018f3c
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.140018ff0
mov rbx, rax
call fcn.140018f44
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400160a6
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x140016093
mov rdx, qword [0x140038020]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400160bd
mov rdx, qword [rbx]
mov rcx, qword [0x140038018]
test rcx, rcx
jne 0x1400160cc
mov rcx, qword [rbx]
mov r9, qword [0x140039720]
mov r8d, 1
test r9, r9
setne al
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x50], al
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
lea rax, [0x14002f438]
mov rdx, rbx
mov qword [rsp + 0x38], rax
lea rax, [0x14002f428]
mov ecx, edi
mov qword [rsp + 0x30], rax
mov rax, qword [0x140039728]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140018870
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140016710
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x150
mov rax, qword [0x1400380c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
movsxd rbp, ecx
lea rcx, str.CLASSPATH
mov r12, rdx
mov word [rsp + 0x20], 0x3b
call fcn.14001edbc
mov esi, 0x28
test rax, rax
je 0x140016795
mov rcx, rax
call fcn.14001b188
mov rcx, rax
mov rdi, rax
call fcn.14001efd0
lea rcx, [rsi + rax]
call fcn.140018ff0
lea rdx, str._Denv.class.path_s
mov r8, rdi
mov rcx, rax
mov rbx, rax
call fcn.14001f4a4
xor edx, edx
mov rcx, rbx
call fcn.14001620c
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.1400191bc
test al, al
jne 0x1400167bb
lea rcx, str.Error:_Could_not_determine_application_home.
call fcn.140019360
xor al, al
jmp 0x140016883
lea rcx, [rsp + 0x30]
call fcn.14001efd0
lea rcx, [rsi + rax]
call fcn.140018ff0
lea r8, [rsp + 0x30]
lea rdx, str._Dapplication.home_s
mov rcx, rax
mov rbx, rax
call fcn.14001f4a4
xor edx, edx
mov rcx, rbx
call fcn.14001620c
xor edi, edi
test rbp, rbp
jle 0x140016818
mov rcx, qword [r12 + rdi*8]
call fcn.14001efd0
lea rcx, [rsp + 0x30]
lea ebx, [rsi + rax]
call fcn.14001efd0
inc rdi
lea esi, [rbx + rax + 1]
cmp rdi, rbp
jl 0x1400167f6
lea eax, [rsi + 1]
movsxd rcx, eax
call fcn.140018ff0
lea rdx, str._Djava.class.path
mov rcx, rax
mov rbx, rax
call fcn.14001f780
xor edi, edi
test rbp, rbp
jle 0x14001686a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001f6e0
mov rdx, qword [r12 + rdi*8]
mov rcx, rbx
call fcn.14001f6e0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001f6e0
inc rdi
cmp rdi, rbp
jl 0x14001683c
mov rcx, rbx
call fcn.14001efd0
xor edx, edx
mov rcx, rbx
mov byte [rax + rbx - 1], 0
call fcn.14001620c
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001f850
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x140016e1c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rcx, [0x14002f8d8]
call fcn.14001edbc
lea rcx, [0x14002f8c0]
mov rsi, rax
call fcn.14001edbc
mov rbx, rax
test rsi, rsi
je 0x140016e81
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, rsi
call fcn.14001bbe8
mov rdi, rax
test rax, rax
je 0x140016e93
call fcn.14001b298
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call fcn.14001b210
mov rcx, rdi
call fcn.140019074
jmp 0x140016e93
test rax, rax
je 0x140016eda
call fcn.14001b298
mov rcx, rbx
call fcn.14001b258
mov rdx, rsi
mov rcx, rbx
call fcn.14001b2c8
lea rcx, [0x14002f8a8]
call fcn.140019d24
lea rcx, [0x14002f8c0]
call fcn.140019d24
lea rcx, [0x14002f8d8]
call fcn.140019d24
mov rcx, qword [0x140039780]
call fcn.140019074
mov rcx, qword [0x140039778]
call fcn.140019074
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400190ac
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14001edbc
test rax, rax
je 0x1400190db
lea rdx, str._JAVA_LAUNCHER_DEBUG
lea rcx, str._____s_____n
mov byte [0x1400397d0], 1
call fcn.14001907c
add rsp, 0x28
ret

Function at 0x140019204
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 0x140019278
cmp dword [rsp + 0x34], 1
jne 0x140019278
cmp dword [rsp + 0x30], ebx
jae 0x140019278
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov rdx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140019278
mov al, 1
jmp 0x14001927a
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 0x1400195d4
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 r12
push r13
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400380c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
and qword [rsp + 0x30], 0
mov r13, rcx
mov qword [rsp + 0x48], 0xffffffff80000001
xor edi, edi
mov qword [rsp + 0x50], 0xffffffff80000002
mov rcx, qword [rsp + rdi*8 + 0x48]
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareJavaSoftJava_Runtime_Environment
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140019771
mov r12, qword [rsp + 0x30]
lea r8, [rsp + 0x60]
mov r9d, 0x104
xor edx, edx
mov rcx, r12
xor esi, esi
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x140019771
mov rdx, qword [r13 + 0x10]
lea rcx, [rsp + 0x60]
inc esi
call fcn.14001bf24
test eax, eax
je 0x1400196b2
test rbx, rbx
je 0x1400196a5
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.14001be14
test eax, eax
jle 0x1400196b2
mov rcx, rbx
call fcn.140019074
lea rcx, [rsp + 0x60]
call fcn.140019048
mov rbx, rax
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov edx, esi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x140019673
test rbx, rbx
je 0x140019771
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, rbx
test eax, eax
je 0x140019712
call fcn.140019074
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140019771
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140019771
call fcn.140019074
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, str.JavaHome
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
test eax, eax
jne 0x140019705
test rcx, rcx
je 0x14001975f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.140019048
mov rbx, rax
test rax, rax
jne 0x1400197b9
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140019781
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, 1
jle 0x14001961f
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14001f850
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400197c9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x140019790
Function at 0x14001aa9c
Capabilities:
Create thread
Query environment variable

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 r9, r8
mov rbp, rcx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rdi, rdx
mov dword [rsp + 0x20], 0x10000
call fcn.1400214b0
mov rbx, rax
test rax, rax
jne 0x14001ab03
lea rax, [rsp + 0x30]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], ebx
mov edx, edi
xor ecx, ecx
call fcn.1400214b0
mov rbx, rax
cmp dword [0x140038078], 0
je 0x14001abc0
lea rcx, str.J2D_D3D
call fcn.14001edbc
test rax, rax
je 0x14001ab40
lea rdx, str.false
mov rcx, rax
call fcn.14002e6d0
neg eax
sbb ecx, ecx
and ecx, dword [0x140038078]
mov dword [0x140038078], ecx
lea rcx, str.J2D_D3D_PRELOAD
call fcn.14001edbc
mov rdi, rax
test rax, rax
je 0x14001ab75
lea rdx, str.false
mov rcx, rax
call fcn.14002e6d0
neg eax
sbb ecx, ecx
and ecx, dword [0x140038078]
mov dword [0x140038078], ecx
jmp 0x14001ab7b
mov ecx, dword [0x140038078]
test ecx, ecx
jns 0x14001abb2
and dword [0x140038078], 0
test rdi, rdi
je 0x14001abc0
lea rdx, str.true
mov rcx, rdi
call fcn.14002e6d0
mov ecx, dword [0x140038078]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [0x140038078], ecx
test ecx, ecx
je 0x14001abc0
lea rcx, str.preloadD3D
call fcn.14001a934
test rbx, rbx
je 0x14001abea
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 0x14001abf3
mov rcx, rsi
call rbp
mov dword [rsp + 0x68], eax
cmp dword [0x1400397e0], 0
je 0x14001ac0a
mov rax, qword [0x140039800]
test rax, rax
je 0x14001ac0a
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 0x14001ae5c
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 r14, rcx
mov ebx, 0x10
mov ecx, ebx
call fcn.140018ff0
lea ecx, [rbx + 0x70]
mov dword [rax + 0xc], ebx
mov rsi, rax
call fcn.140018ff0
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.140018ff0
lea rdx, [0x140039810]
mov rcx, r14
mov r12, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x14001b007
lea r15, [0x14003983c]
mov qword [r12], rax
mov qword [r12 + 8], r15
mov rbp, qword [r12 + 8]
test rbp, rbp
je 0x14001aee2
and qword [r12 + 8], 0
jmp 0x14001aefb
mov rcx, qword [r12]
lea rdx, [0x140039810]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb rbp, rbp
and rbp, r15
test rbp, rbp
je 0x14001afe6
mov rcx, rbp
call fcn.14001efd0
cmp eax, 4
jl 0x14001aed0
movsxd rcx, eax
cmp byte [rcx + rbp - 4], 0x2e
jne 0x14001aed0
lea rbx, [rcx + rbp - 3]
lea rdx, [0x140030c44]
mov rcx, rbx
call fcn.14001f880
test eax, eax
je 0x14001af46
lea rdx, [0x140030c40]
mov rcx, rbx
call fcn.14001f880
test eax, eax
jne 0x14001aed0
mov edx, 0x3b
mov rcx, rbp
call fcn.14002107c
test rax, rax
jne 0x14001aed0
mov rcx, r14
call fcn.14001efd0
mov rcx, rbp
mov rdi, rax
call fcn.14001efd0
lea ecx, [rax + rdi]
mov rbx, rax
movsxd rcx, ecx
call fcn.140018ff0
lea ecx, [rdi - 1]
mov rdx, r14
movsxd r8, ecx
mov rcx, rax
mov r13, rax
call fcn.14001f170
lea r11d, [rbx + 1]
movsxd rcx, edi
lea rcx, [rcx + r13 - 1]
movsxd r8, r11d
mov rdx, rbp
call fcn.14001f170
mov r11d, dword [rsi + 8]
mov eax, dword [rsi + 0xc]
inc r11d
cmp eax, r11d
jge 0x14001afd3
add eax, eax
mov dword [rsi + 0xc], eax
cmp eax, r11d
jl 0x14001afb7
mov rcx, qword [rsi]
movsxd rdx, eax
shl rdx, 3
call fcn.14001901c
mov qword [rsi], rax
movsxd rcx, dword [rsi + 8]
mov rax, qword [rsi]
mov qword [rax + rcx*8], r13
inc dword [rsi + 8]
jmp 0x14001aed0
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [r12 + 8]
call fcn.140019074
mov rcx, r12
call fcn.140019074
mov rax, rsi
jmp 0x14001b009
xor eax, eax
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 0x14001b188
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 0x2a
mov rdi, rcx
call fcn.14002107c
test rax, rax
jne 0x14001b1ae
mov rax, rdi
jmp 0x14001b1fe
mov dl, 0x3b
mov rcx, rdi
call fcn.14001ad44
mov rcx, rax
mov rbx, rax
call fcn.14001b028
mov dl, 0x3b
mov rcx, rbx
call fcn.14001ac80
mov rcx, rbx
mov rsi, rax
call fcn.14001ac24
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14001edbc
test rax, rax
je 0x14001b1fb
lea rcx, str.Expanded_wildcards:_n____before:___s__n____after_:___s__n
mov r8, rsi
mov rdx, rdi
call fcn.14001ec54
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret