joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006f514
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14004a200
sub rsp, rax
mov rax, qword [0x1400e30c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140066e60
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14006f563
mov rax, rbp
jmp 0x14006f66b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xe8dd0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140070634
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xe8dd0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14006f667
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006f667
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140070634
test rax, rax
js 0x14006f667
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14006f667
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14006f659
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14006f659
cmp byte [rcx], 0xd
jne 0x14006f63f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14006f64e
cmp byte [rcx + 1], 0xa
jne 0x14006f64e
inc rcx
jmp 0x14006f64e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xe3a50]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14006f621
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14006f66b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14004a5d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14006f88c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14006f8a2
mov al, 1
jmp 0x14006f902
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14006f8b3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14006f900
mov ecx, dword [rcx + 0x18]
nop
call fcn.14007274c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006f900
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14006f900
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14006f900
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14006f902
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14006f9d4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400e8dd0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14006fa2b
cmp word [rdx], r13w
jne 0x14006fa2b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14006fa30
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14006fb55
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14006fb76
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14006fa69
mov rdx, r9
mov word [rbx], cx
jmp 0x14006fa90
cmp r9, r8
jae 0x14006faa0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14006fa4a
jmp 0x14006fb55
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006fb4a
cmp dword [rsp + 0x80], esi
je 0x14006fb4a
lea r8, [0x1400e8dd0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14006fb22
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14006faf2
mov word [rbx], r13w
jmp 0x14006fb52
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14006faff
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14006fb52
cmp word [rsp + 0x70], r13w
jne 0x14006fb2f
cmp rbx, r14
je 0x14006faec
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14007063c
cmp word [rsp + 0x70], r13w
je 0x14006fb55
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400e8dd0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14006fb4f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14006fb55
Function at 0x140071cfc
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 0x140071d2c
xor eax, eax
jmp 0x140071def
mov rbp, rbx
cmp word [rax], si
je 0x140071d51
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140071d38
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140071d34
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.14006d384
movsxd r14, eax
test eax, eax
jne 0x140071d8f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140071d25
mov rcx, r14
call fcn.140065db4
mov rdi, rax
test rax, rax
jne 0x140071da8
xor ecx, ecx
call fcn.140065d78
jmp 0x140071d84
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.14006d384
test eax, eax
jne 0x140071dd9
mov rcx, rdi
call fcn.140065d78
jmp 0x140071de3
xor ecx, ecx
call fcn.140065d78
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 0x140071e0c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140071e93
mov rsi, rbx
cmp word [rax], bp
je 0x140071e52
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140071e3c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140071e38
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140065db4
mov rdi, rax
test rax, rax
je 0x140071e80
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140076be0
mov rbp, rdi
xor ecx, ecx
call fcn.140065d78
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140076810
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140076838
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140076838
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
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 [0x140024998]
lea rcx, str._JAVA_LAUNCHER_DEBUG
mov qword [0x1400249a0], rax
call fcn.140009d08
test rax, rax
je 0x140001068
lea rcx, str.Windows_original_main_args:_n
call fcn.140009ba0
xor ebx, ebx
cmp dword [0x140024984], ebx
jle 0x140001068
xor edi, edi
mov r8, qword [0x140024988]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rdi + r8]
call fcn.140009ba0
inc ebx
add rdi, 8
cmp ebx, dword [0x140024984]
jl 0x140001041
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.140003ec0
call fcn.140003eb0
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.140003f64
mov rbx, rax
call fcn.140003eb8
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 [0x140023018]
test rcx, rcx
jne 0x1400010da
mov rcx, qword [rbx]
mov r9, qword [0x140024720]
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, [0x14001a430]
mov rdx, rbx
mov qword [rsp + 0x38], rax
lea rax, [0x14001a420]
mov ecx, edi
mov qword [rsp + 0x30], rax
mov rax, qword [0x140024728]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140003880
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140001720
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 [0x1400230c0]
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.140009d08
mov esi, 0x28
test rax, rax
je 0x1400017a5
mov rcx, rax
call fcn.1400060d4
mov rcx, rax
mov rdi, rax
call fcn.140009f40
lea rcx, [rsi + rax]
call fcn.140003f64
lea rdx, str._Denv.class.path_s
mov r8, rdi
mov rcx, rax
mov rbx, rax
call fcn.14000a414
xor edx, edx
mov rcx, rbx
call fcn.14000121c
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.140004130
test al, al
jne 0x1400017cb
lea rcx, str.Error:_Could_not_determine_application_home.
call fcn.1400042d4
xor al, al
jmp 0x140001893
lea rcx, [rsp + 0x30]
call fcn.140009f40
lea rcx, [rsi + rax]
call fcn.140003f64
lea r8, [rsp + 0x30]
lea rdx, str._Dapplication.home_s
mov rcx, rax
mov rbx, rax
call fcn.14000a414
xor edx, edx
mov rcx, rbx
call fcn.14000121c
xor edi, edi
test rbp, rbp
jle 0x140001828
mov rcx, qword [r12 + rdi*8]
call fcn.140009f40
lea rcx, [rsp + 0x30]
lea ebx, [rsi + rax]
call fcn.140009f40
inc rdi
lea esi, [rbx + rax + 1]
cmp rdi, rbp
jl 0x140001806
lea eax, [rsi + 1]
movsxd rcx, eax
call fcn.140003f64
lea rdx, str._Djava.class.path
mov rcx, rax
mov rbx, rax
call fcn.14000a6f0
xor edi, edi
test rbp, rbp
jle 0x14000187a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000a650
mov rdx, qword [r12 + rdi*8]
mov rcx, rbx
call fcn.14000a650
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000a650
inc rdi
cmp rdi, rbp
jl 0x14000184c
mov rcx, rbx
call fcn.140009f40
xor edx, edx
mov rcx, rbx
mov byte [rax + rbx - 1], 0
call fcn.14000121c
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000a7c0
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 0x140001e2c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rcx, [0x14001a8c8]
call fcn.140009d08
lea rcx, [0x14001a8b0]
mov rsi, rax
call fcn.140009d08
mov rbx, rax
test rsi, rsi
je 0x140001e91
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, rsi
call fcn.140006b34
mov rdi, rax
test rax, rax
je 0x140001ea3
call fcn.1400061e4
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call fcn.14000615c
mov rcx, rdi
call fcn.140003fe8
jmp 0x140001ea3
test rax, rax
je 0x140001eea
call fcn.1400061e4
mov rcx, rbx
call fcn.1400061a4
mov rdx, rsi
mov rcx, rbx
call fcn.140006214
lea rcx, [0x14001a898]
call fcn.140004c98
lea rcx, [0x14001a8b0]
call fcn.140004c98
lea rcx, [0x14001a8c8]
call fcn.140004c98
mov rcx, qword [0x140024780]
call fcn.140003fe8
mov rcx, qword [0x140024778]
call fcn.140003fe8
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004020
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.140009d08
test rax, rax
je 0x14000404f
lea rdx, str._JAVA_LAUNCHER_DEBUG
lea rcx, str._____s_____n
mov byte [0x1400247d0], 1
call fcn.140003ff0
add rsp, 0x28
ret

Function at 0x140004178
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 0x1400041ec
cmp dword [rsp + 0x34], 1
jne 0x1400041ec
cmp dword [rsp + 0x30], ebx
jae 0x1400041ec
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 0x1400041ec
mov al, 1
jmp 0x1400041ee
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 0x140004548
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 [0x1400230c0]
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 0x1400046e5
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 0x1400046e5
mov rdx, qword [r13 + 0x10]
lea rcx, [rsp + 0x60]
inc esi
call fcn.140006e70
test eax, eax
je 0x140004626
test rbx, rbx
je 0x140004619
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.140006d60
test eax, eax
jle 0x140004626
mov rcx, rbx
call fcn.140003fe8
lea rcx, [rsp + 0x60]
call fcn.140003fbc
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 0x1400045e7
test rbx, rbx
je 0x1400046e5
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 0x140004686
call fcn.140003fe8
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400046e5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400046e5
call fcn.140003fe8
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 0x140004679
test rcx, rcx
je 0x1400046d3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.140003fbc
mov rbx, rax
test rax, rax
jne 0x14000472d
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400046f5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, 1
jle 0x140004593
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000a7c0
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 0x14000473d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x140004704
Function at 0x1400059e8
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.14000c420
mov rbx, rax
test rax, rax
jne 0x140005a4f
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.14000c420
mov rbx, rax
cmp dword [0x140023078], 0
je 0x140005b0c
lea rcx, str.J2D_D3D
call fcn.140009d08
test rax, rax
je 0x140005a8c
lea rdx, str.false
mov rcx, rax
call fcn.1400196c0
neg eax
sbb ecx, ecx
and ecx, dword [0x140023078]
mov dword [0x140023078], ecx
lea rcx, str.J2D_D3D_PRELOAD
call fcn.140009d08
mov rdi, rax
test rax, rax
je 0x140005ac1
lea rdx, str.false
mov rcx, rax
call fcn.1400196c0
neg eax
sbb ecx, ecx
and ecx, dword [0x140023078]
mov dword [0x140023078], ecx
jmp 0x140005ac7
mov ecx, dword [0x140023078]
test ecx, ecx
jns 0x140005afe
and dword [0x140023078], 0
test rdi, rdi
je 0x140005b0c
lea rdx, str.true
mov rcx, rdi
call fcn.1400196c0
mov ecx, dword [0x140023078]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [0x140023078], ecx
test ecx, ecx
je 0x140005b0c
lea rcx, str.preloadD3D
call fcn.1400058a8
test rbx, rbx
je 0x140005b36
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 0x140005b3f
mov rcx, rsi
call rbp
mov dword [rsp + 0x68], eax
cmp dword [0x1400247e0], 0
je 0x140005b56
mov rax, qword [0x140024800]
test rax, rax
je 0x140005b56
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 0x140005da8
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.140003f64
lea ecx, [rbx + 0x70]
mov dword [rax + 0xc], ebx
mov rsi, rax
call fcn.140003f64
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.140003f64
lea rdx, [0x140024810]
mov rcx, r14
mov r12, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
je 0x140005f53
lea r15, [0x14002483c]
mov qword [r12], rax
mov qword [r12 + 8], r15
mov rbp, qword [r12 + 8]
test rbp, rbp
je 0x140005e2e
and qword [r12 + 8], 0
jmp 0x140005e47
mov rcx, qword [r12]
lea rdx, [0x140024810]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb rbp, rbp
and rbp, r15
test rbp, rbp
je 0x140005f32
mov rcx, rbp
call fcn.140009f40
cmp eax, 4
jl 0x140005e1c
movsxd rcx, eax
cmp byte [rcx + rbp - 4], 0x2e
jne 0x140005e1c
lea rbx, [rcx + rbp - 3]
lea rdx, [0x14001bc34]
mov rcx, rbx
call fcn.14000a7f0
test eax, eax
je 0x140005e92
lea rdx, [0x14001bc30]
mov rcx, rbx
call fcn.14000a7f0
test eax, eax
jne 0x140005e1c
mov edx, 0x3b
mov rcx, rbp
call fcn.14000bfec
test rax, rax
jne 0x140005e1c
mov rcx, r14
call fcn.140009f40
mov rcx, rbp
mov rdi, rax
call fcn.140009f40
lea ecx, [rax + rdi]
mov rbx, rax
movsxd rcx, ecx
call fcn.140003f64
lea ecx, [rdi - 1]
mov rdx, r14
movsxd r8, ecx
mov rcx, rax
mov r13, rax
call fcn.14000a0e0
lea r11d, [rbx + 1]
movsxd rcx, edi
lea rcx, [rcx + r13 - 1]
movsxd r8, r11d
mov rdx, rbp
call fcn.14000a0e0
mov r11d, dword [rsi + 8]
mov eax, dword [rsi + 0xc]
inc r11d
cmp eax, r11d
jge 0x140005f1f
add eax, eax
mov dword [rsi + 0xc], eax
cmp eax, r11d
jl 0x140005f03
mov rcx, qword [rsi]
movsxd rdx, eax
shl rdx, 3
call fcn.140003f90
mov qword [rsi], rax
movsxd rcx, dword [rsi + 8]
mov rax, qword [rsi]
mov qword [rax + rcx*8], r13
inc dword [rsi + 8]
jmp 0x140005e1c
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [r12 + 8]
call fcn.140003fe8
mov rcx, r12
call fcn.140003fe8
mov rax, rsi
jmp 0x140005f55
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 0x1400060d4
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.14000bfec
test rax, rax
jne 0x1400060fa
mov rax, rdi
jmp 0x14000614a
mov dl, 0x3b
mov rcx, rdi
call fcn.140005c90
mov rcx, rax
mov rbx, rax
call fcn.140005f74
mov dl, 0x3b
mov rcx, rbx
call fcn.140005bcc
mov rcx, rbx
mov rsi, rax
call fcn.140005b70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.140009d08
test rax, rax
je 0x140006147
lea rcx, str.Expanded_wildcards:_n____before:___s__n____after_:___s__n
mov r8, rsi
mov rdx, rdi
call fcn.140009ba0
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000625c
Capabilities:
Read file on windows

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 r12
sub rsp, 0x80
cmp qword [rdx + 8], 0xffffffffffffffff
mov rbp, r8
mov rdi, rdx
mov esi, ecx
je 0x1400062d1
cmp qword [rdx], 0xffffffffffffffff
je 0x1400062d1
mov edx, dword [rdx + 0x10]
xor r8d, r8d
call fcn.140017684
test eax, eax
js 0x1400062d1
mov rcx, qword [rdi + 8]
inc rcx
call fcn.14000b274
mov rbx, rax
test rax, rax
je 0x1400062d1
mov r12, qword [rdi + 8]
mov rdx, rax
mov ecx, esi
mov r8d, r12d
call fcn.1400169b4
movsxd rcx, eax
cmp rcx, r12
je 0x1400062f1
mov rcx, rbx
call fcn.14000b400
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
cmp dword [rdi + 0x14], 0
jne 0x14000630c
mov byte [r12 + rbx], 0
test rbp, rbp
je 0x140006307
mov eax, dword [rdi + 8]
mov dword [rbp], eax
mov rax, rbx
jmp 0x1400062d3
cmp dword [rdi + 0x14], 8
jne 0x1400062d1
mov eax, dword [rdi + 8]
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
mov r9d, 0x58
lea r8, str.1.2.3
lea rcx, [rsp + 0x20]
lea edx, [r9 - 0x67]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], eax
call fcn.14000715c
test eax, eax
js 0x1400062c9
mov rcx, qword [rdi]
inc rcx
call fcn.14000b274
mov rsi, rax
test rax, rax
je 0x1400062c9
mov qword [rsp + 0x30], rax
mov eax, dword [rdi]
lea rcx, [rsp + 0x20]
mov edx, 1
mov dword [rsp + 0x38], eax
call fcn.140007344
mov rcx, rbx
test eax, eax
jns 0x140006398
call fcn.14000b400
mov rcx, rsi
jmp 0x1400062cc
mov rax, qword [rdi]
mov byte [rsi + rax], 0
call fcn.14000b400
lea rcx, [rsp + 0x20]
call fcn.1400088c4
test eax, eax
js 0x140006390
test rbp, rbp
je 0x1400063bc
mov eax, dword [rdi]
mov dword [rbp], eax
mov rax, rsi
jmp 0x1400062d3