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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x88]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x38], rax
mov dword [rbp - 4], 0
jmp 0x180034d80
mov eax, dword [rbp - 4]
lea rdx, [rax*4]
mov rax, qword [rbp - 0x28]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
mov rcx, rax
call fcn.180034c51
cmp eax, dword [rbp + 0x18]
jne 0x180034d7c
mov eax, dword [rbp - 4]
lea rdx, [rax + rax]
mov rax, qword [rbp - 0x38]
add rax, rdx
movzx eax, word [rax]
movzx eax, ax
lea rdx, [rax*4]
mov rax, qword [rbp - 0x30]
add rax, rdx
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
jmp 0x180034d91
add dword [rbp - 4], 1
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x18]
cmp eax, dword [rbp - 4]
ja 0x180034d1a
mov eax, 0
add rsp, 0x60
pop rbp
ret

Function at 0x180034da0
Capabilities:
Access peb ldr_data

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
ret

Function at 0x18005648c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1800408d6
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1800408b9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1800408a4
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
add esp, 0xfffff254
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040dc
push r9
push r8
push rdx
xor rdx, rdx
push rcx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14000403d
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x140004033
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040d1
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040d1
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040d0
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004087
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004078
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
pop rsi
pop rcx
add rax, rdx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004027
Function at 0x2fc4d5410
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d5e12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f8108]
test eax, eax
je 0x2fc4d5eaa
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f8110]
mov qword [rbp - 8], rax
jmp 0x2fc4d5e8e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d5e82
cmp qword [rbp - 0x10], 0
je 0x2fc4d5e82
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d5e48
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d5eab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d5fb0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d5fd8
mov eax, 0
jmp 0x2fc4d6026
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d6001
mov eax, 0
jmp 0x2fc4d6026
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d6021
mov eax, 0
jmp 0x2fc4d6026
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d602c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d60aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d60a1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d60a1
mov rax, qword [rbp - 8]
jmp 0x2fc4d60bf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d6074
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140028cb0]
lea rcx, str._JAVA_LAUNCHER_DEBUG
mov qword [0x140028cb8], rax
call fcn.14000a888
test rax, rax
je 0x140001068
lea rcx, str.Windows_original_main_args:_n
call fcn.14000a720
xor ebx, ebx
cmp dword [0x140028c9c], ebx
jle 0x140001068
xor edi, edi
mov r8, qword [0x140028ca0]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rdi + r8]
call fcn.14000a720
inc ebx
add rdi, 8
cmp ebx, dword [0x140028c9c]
jl 0x140001041
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.1400042f0
call fcn.1400042e0
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.140004394
mov rbx, rax
call fcn.1400042e8
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b4
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a1
mov rdx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400010cb
mov rdx, qword [rbx]
mov rcx, qword [0x140027018]
test rcx, rcx
jne 0x1400010da
mov rcx, qword [rbx]
mov r9, qword [0x140028a20]
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
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rcx
lea rax, [0x14001e440]
mov rdx, rbx
mov qword [rsp + 0x38], rax
lea rax, [0x14001e430]
mov ecx, edi
mov qword [rsp + 0x30], rax
mov rax, qword [0x140028a28]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140003c0c
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140001150
Capabilities:
Query environment variable

Disassembly:
test ecx, ecx
jle 0x140001368
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r12, rdx
xor edi, edi
movsxd rbp, ecx
mov rbx, qword [r12 + rdi*8]
test rdi, rdi
jle 0x140001250
cmp byte [rbx], 0x2d
mov rsi, qword [r12 + rdi*8 - 8]
je 0x1400011c6
lea rdx, [0x14001e5e4]
mov rcx, rsi
call fcn.14000ae70
test eax, eax
je 0x140001344
lea rdx, str._classpath
mov rcx, rsi
call fcn.14000ae70
test eax, eax
je 0x140001344
cmp byte [rbx], 0x2d
jne 0x140001350
lea rdx, str._version
mov rcx, rbx
call fcn.14000ae70
test eax, eax
je 0x140001350
lea rdx, str._fullversion
mov rcx, rbx
call fcn.14000ae70
test eax, eax
je 0x140001350
lea rdx, str._help
mov rcx, rbx
call fcn.14000ae70
test eax, eax
je 0x140001350
lea rdx, [0x14001e5a8]
mov rcx, rbx
call fcn.14000ae70
test eax, eax
je 0x140001350
lea rdx, str._jar
mov rcx, rbx
call fcn.14000ae70
test eax, eax
je 0x140001350
lea rdx, [0x14001e59c]
mov rcx, rbx
call fcn.14000ae70
test eax, eax
je 0x140001350
lea rdx, str._XX:NativeMemoryTracking
mov rcx, rbx
call fcn.14000448c
test eax, eax
jne 0x140001344
lea rcx, str._XX:NativeMemoryTracking
call fcn.14000adb0
mov rcx, rbx
mov rsi, rax
call fcn.14000adb0
cmp rax, rsi
jbe 0x140001344
add rbx, rsi
mov rcx, rbx
call fcn.14000adb0
lea rsi, [rax + rsi + 0xa]
mov rcx, rsi
call fcn.140004394
mov r13, rax
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9, qword [str.NMT_LEVEL_]
lea r8, str._s_d_s
mov rdx, rsi
mov rcx, r13
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
call fcn.1400046ac
mov rcx, r13
call fcn.14000ad64
call fcn.140004484
test al, al
je 0x140001344
mov rcx, rsi
call fcn.140004394
mov rbx, rax
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9, qword [str.NMT_LEVEL_]
lea r8, str._s_d
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.1400046ac
lea rcx, str.TRACER_MARKER:_NativeMemoryTracking:_env_var_is__s_n
mov rdx, rbx
call fcn.14000a720
lea rcx, str.TRACER_MARKER:_NativeMemoryTracking:_putenv_arg__s_n
mov rdx, r13
call fcn.14000a720
mov rcx, rbx
call fcn.14000a888
lea rcx, str.TRACER_MARKER:_NativeMemoryTracking:_got_value__s_n
mov rdx, rax
call fcn.14000a720
mov rcx, rbx
call fcn.14000aaa4
inc rdi
cmp rdi, rbp
jl 0x140001178
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x140001998
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 [0x1400270d0]
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.14000a888
mov edi, 0x28
test rax, rax
je 0x140001a36
mov rcx, rax
call fcn.140006634
mov rcx, rax
mov rsi, rax
call fcn.14000adb0
mov rcx, rsi
lea rbx, [rax + 0x28]
call fcn.14000adb0
cmp rbx, rax
jbe 0x140001a36
mov rcx, rsi
call fcn.14000adb0
lea rcx, [rdi + rax]
call fcn.140004394
lea rdx, str._Denv.class.path_s
mov r8, rsi
mov rcx, rax
mov rbx, rax
call fcn.14000b344
xor edx, edx
mov rcx, rbx
call fcn.140001438
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140004560
test al, al
jne 0x140001a5c
lea rcx, str.Error:_Could_not_determine_application_home.
call fcn.140004704
xor al, al
jmp 0x140001b24
lea rcx, [rsp + 0x30]
call fcn.14000adb0
lea rcx, [rdi + rax]
call fcn.140004394
lea r8, [rsp + 0x30]
lea rdx, str._Dapplication.home_s
mov rcx, rax
mov rbx, rax
call fcn.14000b344
xor edx, edx
mov rcx, rbx
call fcn.140001438
xor esi, esi
test rbp, rbp
jle 0x140001ab9
mov rcx, qword [r12 + rsi*8]
call fcn.14000adb0
lea rcx, [rsp + 0x30]
lea ebx, [rdi + rax]
call fcn.14000adb0
inc rsi
lea edi, [rbx + rax + 1]
cmp rsi, rbp
jl 0x140001a97
lea eax, [rdi + 1]
movsxd rcx, eax
call fcn.140004394
lea rdx, str._Djava.class.path
mov rcx, rax
mov rbx, rax
call fcn.14000b620
xor edi, edi
test rbp, rbp
jle 0x140001b0b
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b580
mov rdx, qword [r12 + rdi*8]
mov rcx, rbx
call fcn.14000b580
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000b580
inc rdi
cmp rdi, rbp
jl 0x140001add
mov rcx, rbx
call fcn.14000adb0
xor edx, edx
mov rcx, rbx
mov byte [rax + rbx - 1], 0
call fcn.140001438
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000b6f0
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 0x1400020bc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
lea rcx, [0x14001ea38]
movaps xmmword [rsp + 0x20], xmm6
call fcn.14000a888
lea rcx, [0x14001ea20]
mov rbp, rax
call fcn.14000a888
mov rdi, rax
movss xmm6, dword [0x14001ea1c]
movss dword [rsp + 0x50], xmm6
test rax, rax
je 0x1400021f1
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rbp
call fcn.1400067fc
mov rbx, rax
test rbp, rbp
je 0x14000217b
test rax, rax
je 0x140002137
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, rbp
call fcn.1400074a4
mov rsi, rax
test rax, rax
jne 0x140002155
lea r8, [rsp + 0x58]
mov rdx, rdi
mov rcx, rbp
movss dword [rsp + 0x50], xmm6
call fcn.1400074a4
mov rsi, rax
test rax, rax
je 0x14000219d
call fcn.140006744
movss xmm0, dword [rsp + 0x50]
call fcn.1400067bc
mov edx, dword [rsp + 0x58]
mov rcx, rsi
call fcn.1400066bc
mov rcx, rsi
call fcn.140004418
jmp 0x14000219d
call fcn.140006744
test rbx, rbx
je 0x140002195
movss xmm0, dword [rsp + 0x50]
call fcn.1400067bc
mov rcx, rbx
jmp 0x140002198
mov rcx, rdi
call fcn.140006704
test rbx, rbx
je 0x1400021aa
mov rcx, rbx
call fcn.140004418
mov rdx, rbp
mov rcx, rdi
call fcn.140006774
lea rcx, [0x14001ea08]
call fcn.1400050c8
lea rcx, [0x14001ea20]
call fcn.1400050c8
lea rcx, [0x14001ea38]
call fcn.1400050c8
mov rcx, qword [0x140028a80]
call fcn.140004418
mov rcx, qword [0x140028a78]
call fcn.140004418
mov rbx, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004450
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000a888
test rax, rax
je 0x14000447f
lea rdx, str._JAVA_LAUNCHER_DEBUG
lea rcx, str._____s_____n
mov byte [0x140028ad0], 1
call fcn.140004420
add rsp, 0x28
ret

Function at 0x1400045a8
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 0x14000461c
cmp dword [rsp + 0x34], 1
jne 0x14000461c
cmp dword [rsp + 0x30], ebx
jae 0x14000461c
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 0x14000461c
mov al, 1
jmp 0x14000461e
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 0x140004978
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 [0x1400270d0]
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 0x140004b15
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 0x140004b15
mov rdx, qword [r13 + 0x10]
lea rcx, [rsp + 0x60]
inc esi
call fcn.1400077e0
test eax, eax
je 0x140004a56
test rbx, rbx
je 0x140004a49
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.1400076d0
test eax, eax
jle 0x140004a56
mov rcx, rbx
call fcn.140004418
lea rcx, [rsp + 0x60]
call fcn.1400043ec
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 0x140004a17
test rbx, rbx
je 0x140004b15
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 0x140004ab6
call fcn.140004418
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140004b15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140004b15
call fcn.140004418
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 0x140004aa9
test rcx, rcx
je 0x140004b03
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.1400043ec
mov rbx, rax
test rax, rax
jne 0x140004b5d
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140004b25
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, 1
jle 0x1400049c3
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000b6f0
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 0x140004b6d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x140004b34
Function at 0x140005f3c
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.14000d02c
mov rbx, rax
test rax, rax
jne 0x140005fa3
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.14000d02c
mov rbx, rax
cmp dword [0x140027080], 0
je 0x140006060
lea rcx, str.J2D_D3D
call fcn.14000a888
test rax, rax
je 0x140005fe0
lea rdx, str.false
mov rcx, rax
call fcn.14001d3f4
neg eax
sbb ecx, ecx
and ecx, dword [0x140027080]
mov dword [0x140027080], ecx
lea rcx, str.J2D_D3D_PRELOAD
call fcn.14000a888
mov rdi, rax
test rax, rax
je 0x140006015
lea rdx, str.false
mov rcx, rax
call fcn.14001d3f4
neg eax
sbb ecx, ecx
and ecx, dword [0x140027080]
mov dword [0x140027080], ecx
jmp 0x14000601b
mov ecx, dword [0x140027080]
test ecx, ecx
jns 0x140006052
and dword [0x140027080], 0
test rdi, rdi
je 0x140006060
lea rdx, str.true
mov rcx, rdi
call fcn.14001d3f4
mov ecx, dword [0x140027080]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [0x140027080], ecx
test ecx, ecx
je 0x140006060
lea rcx, str.preloadD3D
call fcn.140005dd4
test rbx, rbx
je 0x14000608a
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 0x140006093
mov rcx, rsi
call rbp
mov dword [rsp + 0x68], eax
cmp dword [0x140028ae0], 0
je 0x1400060aa
mov rax, qword [0x140028b00]
test rax, rax
je 0x1400060aa
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 0x1400062fc
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.140004394
lea ecx, [rbx + 0x70]
mov dword [rax + 0xc], ebx
mov rsi, rax
call fcn.140004394
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.140004394
lea rdx, [0x140028b10]
mov rcx, r14
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x140006373
mov rcx, rbp
call fcn.140004418
mov rcx, rsi
call fcn.1400060c4
xor eax, eax
jmp 0x1400064b5
lea r15, [0x140028b3c]
mov qword [rbp], rax
mov qword [rbp + 8], r15
mov r12, qword [rbp + 8]
test r12, r12
je 0x140006392
and qword [rbp + 8], 0
jmp 0x1400063ab
mov rcx, qword [rbp]
lea rdx, [0x140028b10]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb r12, r12
and r12, r15
test r12, r12
je 0x140006497
mov rcx, r12
call fcn.14000adb0
cmp eax, 4
jl 0x140006382
movsxd rcx, eax
cmp byte [rcx + r12 - 4], 0x2e
jne 0x140006382
lea rbx, [rcx + r12 - 3]
lea rdx, [0x14001fd84]
mov rcx, rbx
call fcn.14000ae70
test eax, eax
je 0x1400063f7
lea rdx, [0x14001fd80]
mov rcx, rbx
call fcn.14000ae70
test eax, eax
jne 0x140006382
mov edx, 0x3b
mov rcx, r12
call fcn.14000ceac
test rax, rax
jne 0x140006382
mov rcx, r14
call fcn.14000adb0
mov rcx, r12
mov rdi, rax
call fcn.14000adb0
lea ecx, [rax + rdi]
mov rbx, rax
movsxd rcx, ecx
call fcn.140004394
lea ecx, [rdi - 1]
mov rdx, r14
movsxd r8, ecx
mov rcx, rax
mov r13, rax
call fcn.14000b010
lea r11d, [rbx + 1]
movsxd rcx, edi
lea rcx, [rcx + r13 - 1]
movsxd r8, r11d
mov rdx, r12
call fcn.14000b010
mov r11d, dword [rsi + 8]
mov eax, dword [rsi + 0xc]
inc r11d
cmp eax, r11d
jge 0x140006484
add eax, eax
mov dword [rsi + 0xc], eax
cmp eax, r11d
jl 0x140006468
mov rcx, qword [rsi]
movsxd rdx, eax
shl rdx, 3
call fcn.1400043c0
mov qword [rsi], rax
movsxd rcx, dword [rsi + 8]
mov rax, qword [rsi]
mov qword [rax + rcx*8], r13
inc dword [rsi + 8]
jmp 0x140006382
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 8]
call fcn.140004418
mov rcx, rbp
call fcn.140004418
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 0x140006634
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.14000ceac
test rax, rax
jne 0x14000665a
mov rax, rdi
jmp 0x1400066aa
mov dl, 0x3b
mov rcx, rdi
call fcn.1400061e4
mov rcx, rax
mov rbx, rax
call fcn.1400064d4
mov dl, 0x3b
mov rcx, rbx
call fcn.140006120
mov rcx, rbx
mov rsi, rax
call fcn.1400060c4
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000a888
test rax, rax
je 0x1400066a7
lea rcx, str.Expanded_wildcards:_n____before:___s__n____after_:___s__n
mov r8, rsi
mov rdx, rdi
call fcn.14000a720
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret