joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000dc00
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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000dc2e
xor eax, eax
jmp 0x14000dd14
cmp qword [rcx + 0x68], 0
je 0x14000dc3f
call fcn.140009f98
jmp 0x14000dd14
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000dc56
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000dc58
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000dc8a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140041410
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000dd0e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000dcc1
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000dcea
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14004b1ec
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000dd0e
cmp rsi, rbx
ja 0x14000dcc8
test rsi, rsi
je 0x14000dd0e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14004b1ec
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000f2fc
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400991a8]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor esi, esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov rax, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14000f349
mov rax, qword [rdx]
mov r8, qword [rdx + 0x10]
mov rdx, rax
call fcn.140002a2c
nop
lea rdi, [rbx + 0x20]
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov dword [rsp + 0x34], esi
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000f376
mov rcx, qword [rbx]
lea rdx, [rsp + 0x34]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x14000f4a3
mov edx, eax
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.14000a4c8
mov rax, qword [rdi + 8]
sub rax, qword [rdi]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000f3ab
mov rcx, qword [rbx]
mov r9, qword [rdi]
mov r8d, eax
mov edx, dword [rsp + 0x34]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x14000f3e3
mov rax, rbx
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.140040450
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1c0
pop rdi
pop rsi
pop rbp
ret
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14000310c
mov rdi, rax
lea rcx, [rbp - 0x68]
call fcn.140005d74
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rdx, str.GetFileVersionInfo_
mov rcx, rbx
call fcn.140004b90
mov rcx, rax
mov rdx, rdi
call fcn.14000a190
mov rcx, rax
lea rdx, [0x1400745c0]
call fcn.140004b90
mov rdx, rax
lea rax, str.System_error
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [sub.VERSION.dll_GetFileVersionInfoA]
lea rcx, [rbp - 0x80]
call fcn.14001f79c
mov rbx, rax
mov r9d, 0x487
lea r8, str.VersionResource::VersionResource
lea rdx, str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_FileUtils.cpp
lea rcx, [rsp + 0x68]
call fcn.140003304
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.14000a6b0
lea rdx, [0x140096e28]
lea rcx, [rbp + 0x80]
call fcn.140041f00
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14000310c
mov rdi, rax
lea rcx, [rbp - 0x68]
call fcn.140005d74
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rdx, str.GetFileVersionInfoSize_
mov rcx, rbx
call fcn.140004b90
mov rcx, rax
mov rdx, rdi
call fcn.14000a190
mov rcx, rax
lea rdx, [0x1400745c0]
call fcn.140004b90
mov rdx, rax
lea rax, str.System_error
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [sub.VERSION.dll_GetFileVersionInfoSizeA]
lea rcx, [rsp + 0x68]
call fcn.14001f79c
mov rbx, rax
mov r9d, 0x47e
lea r8, str.VersionResource::VersionResource
lea rdx, str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_FileUtils.cpp
lea rcx, [rbp - 0x80]
call fcn.140003304
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.14000a6b0
lea rdx, [0x140096e28]
lea rcx, [rbp + 0x80]
call fcn.140041f00
int3
Function at 0x140010260
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0x10
jb 0x14001026e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140010281
test al, 0x10
je 0x140010281
mov al, 1
jmp 0x140010283
xor al, al
add rsp, 0x28
ret

Function at 0x140010288
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0x10
jb 0x140010296
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x140014fb0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400991a8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov ebx, edx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
and dword [rsp + 0x34], 0
and dword [rsp + 0x30], 0
and qword [rcx], 0
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
mov dword [rsp + 0x34], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
test rax, rax
je 0x14001515b
xor edi, edi
cmp ebx, 1
sete dil
cmp edi, dword [rsp + 0x30]
jge 0x14001511d
mov eax, edi
lea r15, [r14 + rax*8]
mov rbx, qword [r15]
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
and qword [rbp + 0x38], 0
and qword [rbp + 0x40], 0
mov rcx, rbx
call fcn.14004c034
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x28]
call fcn.14000e2dc
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x48]
call fcn.14001ec9c
nop
mov rdx, rax
mov rcx, rsi
call fcn.14000e574
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x1400150c0
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400150bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001514f
call fcn.1400400ec
and qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0xf
mov byte [rbp + 0x48], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x14001510d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015108
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140015155
call fcn.1400400ec
inc edi
add r15, 8
cmp edi, dword [rsp + 0x30]
jl 0x14001503f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, rsi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140040450
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140046b30
nop
call fcn.140046b30
int3
lea rdx, str.CommandLineToArgvW_failed
lea rcx, [rsp + 0x40]
call fcn.14000acfc
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, str.System_error
mov qword [rsp + 0x20], rax
mov r8, qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x48]
call fcn.14001f79c
mov rbx, rax
mov r9d, 0x15a
lea r8, str.SysInfo::getCommandArgs
lea rdx, str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_SysInfo.cpp
lea rcx, [rbp + 0x28]
call fcn.140003304
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.14000a6b0
lea rdx, [0x140096e28]
lea rcx, [rbp + 0x68]
call fcn.140041f00
int3
Function at 0x1400155b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400991a8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
mov qword [rbp - 0x38], rcx
mov r14d, 0x104
mov ecx, r14d
call fcn.1400400b0
mov rbx, rax
mov qword [rbp - 0x58], rax
lea rdi, [rax + 0x104]
mov qword [rbp - 0x48], rdi
mov r8d, r14d
xor edx, edx
mov rcx, rax
call fcn.140041ac0
mov qword [rbp - 0x50], rdi
mov rdx, rbx
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, eax
cmp rdx, r14
jbe 0x140015646
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x58]
call fcn.14000a4c8
mov rcx, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x58]
sub rcx, rbx
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov rdi, qword [rbp - 0x48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov rcx, rbx
call fcn.140046bc0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14000294c
nop
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.140010364
nop
mov r14d, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400156b3
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r14
jb 0x1400156ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001571b
call fcn.1400400ec
movdqa xmm0, xmmword [0x140073ee0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
test rbx, rbx
je 0x1400156f4
sub rdi, rbx
cmp rdi, r14
jb 0x1400156e9
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140015721
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1400400ec
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140040450
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140046b30
nop
call fcn.140046b30
int3

Function at 0x140015f5c
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x30]
call fcn.140041ac0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x20], 9
sete al
add rsp, 0x58
ret
Function at 0x1400265f8
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x130
mov esi, ecx
lea r8, str.Global_MSIExecute
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov rdi, rax
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 1
xor ebx, ebx
test rax, rax
je 0x1400266fc
mov edx, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebp, eax
test esi, esi
je 0x1400266f4
call fcn.1400171e0
mov rcx, rax
lea edx, [rbx + 1]
call fcn.1400176cc
test al, al
je 0x1400266f4
lea edx, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.140005a24
nop
lea rdx, str.finish_waiting_for_mutex:
lea rcx, [rsp + 0x40]
call fcn.140004ba8
mov edx, ebp
lea rcx, [rsp + 0x40]
call fcn.14000b0ec
call fcn.1400171e0
mov rcx, rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, str.msi::waitForInstallationCompletion
mov qword [rsp + 0x20], rax
mov r9d, 0x180
lea r8, str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_MsiUtils.cpp
lea edx, [rbx + 1]
call fcn.1400102a8
nop
lea rcx, [rsp + 0xc8]
call fcn.140006144
nop
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0xc8]
call fcn.14003f294
nop
cmp ebp, 0x102
je 0x1400266fe
mov bl, 1
mov rcx, rdi
call fcn.14001fd68
nop
mov al, bl
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140027c5c
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400991a8]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140027cba
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140002a2c
nop
mov edx, 1
lea rcx, [rbp - 0x40]
call fcn.140005a24
nop
lea rdx, str.SELECT_Value_FROM_Property_WHERE_Property__
lea rcx, [rbp - 0x40]
call fcn.140004ba8
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.14000a190
mov rbx, rax
lea rdx, [0x1400748f0]
mov rcx, rax
call fcn.140004ba8
lea rcx, [rbx + 8]
lea rdx, [rbp + 0xa8]
call fcn.140009cb4
nop
lea rcx, [rbp + 0x48]
call fcn.140006144
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x48]
call fcn.14003f294
nop
and dword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
lea r8, [rbp + 0xa8]
mov rdx, rsi
lea rcx, [rbp + 0xc8]
call fcn.140027658
nop
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x140027d68
call fcn.140025124
nop
and dword [rsp + 0x20], 0
lea rdx, [rbp + 0xc8]
lea rcx, [rsp + 0x20]
call fcn.140027a1c
nop
lea rcx, [rsp + 0x20]
call fcn.140027b6c
cmp eax, 1
jne 0x140027e26
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140025bcc
nop
mov ecx, dword [rsp + 0x20]
test ecx, ecx
je 0x140027db1
call fcn.140025124
nop
lea rcx, [rbp + 0xc8]
call fcn.140027980
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x140027dfb
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027df6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027e20
call fcn.1400400ec
mov rax, rdi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140040450
mov rbx, qword [rsp + 0x288]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret
call fcn.140046b30
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x60]
call fcn.14000310c
mov rdi, rax
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.14000310c
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.140005d74
nop
lea rdx, str.record.getFieldCount_
mov rcx, rax
call fcn.140004b90
mov rcx, rax
mov rdx, rbx
call fcn.14000a190
lea rdx, [0x1400748e4]
mov rcx, rax
call fcn.140004b90
mov rcx, rax
mov rdx, rdi
call fcn.14000a190
mov rcx, rax
lea rdx, str.__returned_unexpected_value
call fcn.140004b90
mov rdx, rax
xor r8d, r8d
lea rcx, [rbp - 0x60]
call fcn.140024c84
mov rbx, rax
mov r9d, 0x48
lea r8, str.msi::Database::getProperty
lea rdx, str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_MsiDb.cpp
lea rcx, [rsp + 0x38]
call fcn.140003304
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.1400247dc
lea rdx, [0x1400970b8]
lea rcx, [rbp + 0x100]
call fcn.140041f00
int3
Function at 0x1400295ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1400991a8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, rdx
mov rbx, rcx
call fcn.1400293c0
mov rsi, rax
test rax, rax
je 0x140029716
mov rdx, rax
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140029677
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
cmp qword [rbx + 0x48], 6
jne 0x14002963d
mov edx, dword [rbx + 0x20]
and edx, 0xf
mov rcx, rax
jbe 0x140029632
movzx eax, word [rcx]
lea rcx, [rcx + rax*2]
add rcx, 2
sub rdx, 1
jne 0x140029621
lea rdi, [rcx + 2]
movzx eax, word [rcx]
add eax, eax
jmp 0x14002964a
mov rdx, rsi
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [r14], eax
mov rax, rdi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140040450
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rdx, str.cannot_load_resource
lea rcx, [rbp + 0x48]
call fcn.140003148
nop
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0xa0]
mov rcx, rbx
call fcn.1400293e4
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140011114
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, str.System_error
mov qword [rsp + 0x20], rax
mov r8, qword [sym.imp.KERNEL32.dll_LoadResource]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.14001f79c
mov rbx, rax
mov r9d, 0x46
lea r8, str.Resource::getPtr
lea rdx, str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_Resources.cpp
lea rcx, [rsp + 0x30]
call fcn.140003304
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.14000a6b0
lea rdx, [0x140096e28]
lea rcx, [rbp + 0x68]
call fcn.140041f00
nop
lea rdx, str.cannot_find_resource
lea rcx, [rbp + 0x48]
call fcn.140003148
nop
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0xa0]
mov rcx, rbx
call fcn.1400293e4
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140011114
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, str.System_error
mov qword [rsp + 0x20], rax
mov r8, qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14001f79c
mov rbx, rax
mov r9d, MsiGetProductPropertyA
lea r8, str.Resource::getPtr
lea rdx, str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_Resources.cpp
lea rcx, [rsp + 0x48]
call fcn.140003304
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.14000a6b0
lea rdx, [0x140096e28]
lea rcx, [rbp + 0x68]
call fcn.140041f00
int3

Function at 0x1400359c0
Capabilities:
Create directory

Disassembly:
add rcx, 0x20
cmp qword [rcx + 0x18], 8
jb 0x1400359ce
mov rcx, qword [rcx]
jmp 0x1400558b0
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400558d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004c380
or eax, 0xffffffff
jmp 0x1400558d4
xor eax, eax
add rsp, 0x28
ret
Function at 0x14003728c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rdi, rcx
lea r8, [0x140078828]
lea rcx, [rbp - 0x48]
call fcn.14003678c
mov r15b, byte [rax + 8]
mov r14, qword [rax]
mov byte [rax + 8], 0
mov qword [rbp - 0x28], r14
mov byte [rbp - 0x20], r15b
cmp byte [rbp - 0x40], 0
je 0x1400372e1
mov byte [rbp - 0x40], 0
mov rcx, qword [rbp - 0x48]
call fcn.14006c51c
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
and qword [rbp - 8], 0
lea r8, [rbp + 0x30]
mov edx, 0x100001
lea rcx, [rbp - 0x18]
call fcn.14000a538
mov r9, r14
mov edx, 1
mov r8d, 0x100000
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
call fcn.14004b1ec
mov rsi, rax
cmp rax, 0x100000
ja 0x140037400
mov rcx, r14
call fcn.1400564f4
test eax, eax
jne 0x14003741f
mov rcx, r14
call fcn.1400564c8
test eax, eax
je 0x14003743e
add rsi, rbx
mov rdx, rsi
mov rcx, rbx
call fcn.140036ab0
cmp rax, rsi
jne 0x14003745d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
and qword [rdi + 0x10], 0
and qword [rdi + 0x18], 0
cmp rbx, rsi
jne 0x140037387
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x140037399
sub rsi, rbx
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.14000294c
nop
test rbx, rbx
je 0x1400373cf
mov rdx, qword [rbp - 8]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400373c6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400373fa
mov rcx, rbx
call fcn.1400400ec
nop
test r15b, r15b
je 0x1400373dd
mov rcx, r14
call fcn.14006c51c
nop
mov rax, rdi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140046b30
nop
mov edx, MsiSourceListClearAllA
lea rcx, [rbp - 0x48]
call fcn.14002818c
lea rdx, [0x1400971f0]
lea rcx, [rbp - 0x48]
call fcn.140041f00
int3
mov edx, 0x133
lea rcx, [rbp - 0x48]
call fcn.14002818c
lea rdx, [0x1400971f0]
lea rcx, [rbp - 0x48]
call fcn.140041f00
int3
mov edx, 0x13b
lea rcx, [rbp - 0x48]
call fcn.14002818c
lea rdx, [0x1400971f0]
lea rcx, [rbp - 0x48]
call fcn.140041f00
int3
mov edx, 0x13a
lea rcx, [rbp - 0x48]
call fcn.14002818c
lea rdx, [0x1400971f0]
lea rcx, [rbp - 0x48]
call fcn.140041f00
int3
Function at 0x140037fb8
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x2a0
mov rax, qword [0x1400991a8]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x2c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, eax
xor ecx, ecx
mov r8d, MsiSourceListClearAllA
call fcn.14002c384
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x80]
call fcn.14004c034
mov r8, rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.14000e2dc
nop
mov r8, qword [str.OracleJavajava.settings.cfg]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400232bc
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400359d4
nop
lea rcx, [rsp + 0x60]
call fcn.140003c7c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400380a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400380a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400380c5
call fcn.1400400ec
mov rax, rbx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140040450
add rsp, 0x2a0
pop rbx
ret
call fcn.140046b30
int3

Function at 0x14003bbfc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
test rbx, rbx
jle 0x14003bc7e
and dword [rsp + 0x48], 0
cmp rsi, 0xffffffffffffffff
je 0x14003bc6f
mov r8d, 0x7fffffff
lea r9, [rsp + 0x48]
cmp rbx, r8
mov rdx, rdi
mov rcx, rsi
cmovl r8d, ebx
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14003bc59
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14003bc79
jmp 0x14003bc6f
movsxd rax, dword [rsp + 0x48]
test eax, eax
jle 0x14003bc6a
add rdi, rax
sub rbx, rax
jmp 0x14003bc14
cmp eax, 0xffffffff
jne 0x14003bc79
call fcn.14004c40c
cmp dword [rax], 4
je 0x14003bc14
or eax, 0xffffffff
jmp 0x14003bc80
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret