joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x50
xor esi, esi
lea rcx, str.C:UsersPublicMusicmsvcp140.dll
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea rdx, [0x14037c550]
mov r8d, 0x6db00
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 1]
mov dword [rsp + 0x28], esi
lea rcx, str.c:UsersPublicMusic_vcruntime140.dll
xor r9d, r9d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea rdx, [0x140052a50]
mov r8d, 0x13900
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140001310
mov r15, rax
test rax, rax
je 0x14000116b
mov rcx, qword [rax]
mov qword [rsp + 0x80], r14
mov r14, qword [rax + 8]
cmp dword [rcx + 0x8c], esi
je 0x140001163
mov qword [rsp + 0x78], rdi
mov edi, dword [rcx + 0x88]
add rdi, r14
mov eax, dword [rdi + 0x18]
test eax, eax
je 0x14000115e
cmp dword [rdi + 0x14], esi
je 0x14000115e
mov ebx, dword [rdi + 0x20]
mov qword [rsp + 0x70], rbp
add rbx, r14
mov ebp, dword [rdi + 0x24]
add rbp, r14
test eax, eax
je 0x140001159
mov edx, dword [rbx]
lea rcx, [0x14004edf0]
add rdx, r14
call fcn.14000c190
test eax, eax
je 0x140001138
inc esi
add rbx, 4
add rbp, 2
cmp esi, dword [rdi + 0x18]
jb 0x140001112
jmp 0x140001159
movzx eax, word [rbp]
cmp eax, dword [rdi + 0x14]
ja 0x140001159
mov edx, dword [rdi + 0x1c]
lea ecx, [rax*4]
lea rax, [r14 + rdx]
mov edx, dword [rcx + rax]
add rdx, r14
je 0x140001159
call rdx
mov rbp, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
mov rcx, r15
add rsp, 0x50
pop r15
pop rsi
pop rbx
jmp fcn.1400016d0
Function at 0x140004510
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140003ff0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000454f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14003e298]
jmp 0x140004559
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140020b90
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400244f0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400034f0
lea rcx, [rsp + 0x40]
call fcn.1400244b0
movzx eax, al
test eax, eax
jne 0x140024538
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1400243e0
mov rax, qword [rsp + 0x70]
jmp 0x140024709
lea rcx, [rsp + 0x40]
call fcn.140003570
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140024460
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.140003570
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400242b0
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400245de
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1400243e0
mov rax, qword [rsp + 0x80]
jmp 0x140024709
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.14000f320
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400034f0
lea rcx, [rsp + 0x48]
call fcn.140003530
movzx eax, al
test eax, eax
jne 0x140024645
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140003510
lea rcx, [rsp + 0x40]
call fcn.1400243e0
mov rax, qword [rsp + 0x88]
jmp 0x140024709
lea rcx, [rsp + 0x48]
call fcn.140003570
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140003570
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400242b0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400246db
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140003510
lea rcx, [rsp + 0x40]
call fcn.1400243e0
mov rax, qword [rsp + 0xa0]
jmp 0x140024709
lea rcx, [rsp + 0x48]
call fcn.140003aa0
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140003510
lea rcx, [rsp + 0x40]
call fcn.1400243e0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x140037630
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.14003caf0
sub rsp, rax
mov rax, qword [0x140052028]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1403eb2d0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140037822
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x140037776
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140037776
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14003775b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1400376f8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400377e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140037841
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14003781d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140037841
jmp 0x1400376ce
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140002c90
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140037860
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.14003caf0
sub rsp, rax
mov rax, qword [0x140052028]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1403eb2d0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140037a6d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1400379b9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1400379b9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x140037999
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x140037928
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140037a2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140037a8c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x140037a68
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140037a8c
jmp 0x1400378fe
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.140002c90
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14000858c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140054080]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov r14, rdx
mov rdi, rcx
mov rdx, qword [rcx + 0x20]
mov r8, qword [rcx + 0x48]
mov r15d, 1
cmp r8, 6
jne 0x1400085e7
shr rdx, 4
add dx, r15w
movzx edx, dx
mov rcx, qword [rcx + 0x50]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x140008711
mov rdx, rax
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000867e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
cmp qword [rdi + 0x48], 6
jne 0x140008645
mov eax, dword [rdi + 0x20]
and eax, 0xf
jbe 0x14000863a
movzx ecx, word [rbx]
lea rbx, [rbx + rcx*2]
add rbx, 2
sub rax, r15
jne 0x14000862a
movzx eax, word [rbx]
add eax, eax
add rbx, 2
jmp 0x140008652
mov rdx, rsi
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [r14], eax
mov rax, rbx
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.1400158d0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.cannot_load_resource
lea rcx, [rbp + 0x50]
call fcn.140003828
nop
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0xa8]
mov rcx, rdi
call fcn.1400082e4
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140007fc4
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [sym.imp.KERNEL32.dll_LoadResource]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140011ddc
mov r10, rax
mov r9d, 0x46
lea r8, str.Resource::getPtr
lea rdx, str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_Resources.cpp
lea rcx, [rsp + 0x38]
call fcn.140002074
mov r8, rax
mov rdx, r10
lea rcx, [rbp + 0x70]
call fcn.140004b7c
lea rdx, [0x140052288]
lea rcx, [rbp + 0x70]
call fcn.140017a48
nop
lea rdx, str.cannot_find_resource
lea rcx, [rbp + 0x50]
call fcn.140003828
nop
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0xa8]
mov rcx, rdi
call fcn.1400082e4
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140007fc4
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [sym.imp.KERNEL32.dll_FindResourceA]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140011ddc
mov r10, rax
mov r9d, 0x41
lea r8, str.Resource::getPtr
lea rdx, str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_Resources.cpp
lea rcx, [rsp + 0x50]
call fcn.140002074
mov r8, rax
mov rdx, r10
lea rcx, [rbp + 0x70]
call fcn.140004b7c
lea rdx, [0x140052288]
lea rcx, [rbp + 0x70]
call fcn.140017a48
int3
Function at 0x140009684
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140054080]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x1400096bd
xor eax, eax
jmp 0x1400097df
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1400096f7
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x1400096f7
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x1400097df
cmp qword [rbx + 0x80], 0
je 0x1400097dd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140009732
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140009755
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call fcn.14001ba78
cmp eax, edi
cmovne edi, esi
jmp 0x1400097dd
lea r8, [rbp - 0x38]
mov byte [rbp - 0x40], sil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp - 0x3f]
lea r8, [rbp - 8]
mov qword [rsp + 0x30], r8
lea r8, [rbp - 0x28]
mov qword [rsp + 0x28], r8
lea r8, [rbp - 0x30]
mov qword [rsp + 0x20], r8
lea r8, [rbp - 0x40]
call qword [rax + 0x38]
test eax, eax
js 0x1400097dd
cmp eax, 1
jle 0x1400097a3
cmp eax, 3
jne 0x1400097dd
movsx ecx, byte [rbp - 0x40]
jmp 0x14000973f
mov r14, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x1400097cd
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call fcn.14001c564
cmp r14, rax
jne 0x1400097dd
lea rax, [rbp - 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x30], rax
mov eax, esi
jne 0x1400097df
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400158d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140009c04
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140054080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140009cac
cmp byte [rcx + 0x71], 0
je 0x140009cac
or edx, 0xffffffff
call fcn.140009684
cmp eax, 0xffffffff
je 0x140009c6e
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x140009c72
sub eax, 1
je 0x140009c76
sub eax, 2
je 0x140009cac
xor al, al
jmp 0x140009cae
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140009ca3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.14001c564
cmp rdi, rax
jne 0x140009c6e
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140009cae
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400158d0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14000cc78
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0x10
jb 0x14000cc86
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000cc99
test al, 0x10
je 0x14000cc99
mov al, 1
jmp 0x14000cc9b
xor al, al
add rsp, 0x28
ret
Function at 0x14000d9e8
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xd8]
sub rsp, 0x1d0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140054080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rcx
mov qword [rbp + 0x80], rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14000da34
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x14000dafe
cmp dword [0x140054b70], 0
jg 0x14000db12
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1400044f4
nop
lea rcx, [rbp - 0x68]
call fcn.1400038f0
nop
lea rdx, str.Created__
lea rcx, [rbp - 0x68]
call fcn.140005080
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.140004ad0
mov rbx, rax
lea rdx, str.__directory
mov rcx, rax
call fcn.140005080
mov qword [rsp + 0x28], rbx
lea r8, str.FileUtils::_anonymous_namespace::createDir
mov qword [rsp + 0x20], r8
mov r9d, 0x1ce
lea r8, str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_FileUtils.cpp
xor edx, edx
lea rcx, [0x140054b70]
call fcn.14000cb30
nop
lea rcx, [rbp + 0x20]
call fcn.140003874
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x20]
call fcn.140014628
nop
jmp 0x14000db12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, rdi
call fcn.14000cc78
test al, al
je 0x14000db86
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000db48
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000db43
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000db80
mov rcx, r8
call fcn.1400158f4
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400158d0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140019dc0
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140003850
mov rbx, rax
lea rcx, [rbp - 0x68]
call fcn.140001eec
nop
lea rdx, str.CreateDirectory_
mov rcx, rax
call fcn.140004ab8
mov rcx, rax
mov rdx, rbx
call fcn.140004ad0
mov rcx, rax
lea rdx, str.__failed
call fcn.140004ab8
mov rdx, rax
mov r9d, esi
mov r8, qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbp - 0x80]
call fcn.140011ddc
mov r10, rax
mov r9d, 0x1d7
lea r8, str.FileUtils::_anonymous_namespace::createDir
lea rdx, str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_FileUtils.cpp
lea rcx, [rsp + 0x38]
call fcn.140002074
mov r8, rax
mov rdx, r10
lea rcx, [rbp + 0x88]
call fcn.140004b7c
lea rdx, [0x140052288]
lea rcx, [rbp + 0x88]
call fcn.140017a48
int3
Function at 0x14000e3a0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0x48]
sub rsp, 0x140
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14000e3d0
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ecx, ecx
test eax, eax
je 0x14000e49b
cmp dword [0x140054b70], ecx
jg 0x14000e497
lea rax, [rsp + 0x30]
mov qword [rbp + 0x50], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400044f4
nop
lea rcx, [rsp + 0x58]
call fcn.1400038f0
nop
lea rdx, str.Deleted__
lea rcx, [rsp + 0x58]
call fcn.140005080
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140004ad0
mov rbx, rax
lea rdx, str.__file
mov rcx, rax
call fcn.140005080
mov qword [rsp + 0x28], rbx
lea rax, str.FileUtils::_anonymous_namespace::deleteFileImpl
mov qword [rsp + 0x20], rax
mov r9d, 0x25e
lea r8, str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_FileUtils.cpp
xor edx, edx
lea rcx, [0x140054b70]
call fcn.14000cb30
nop
lea rcx, [rbp - 0x20]
call fcn.140003874
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.140014628
nop
mov al, 1
jmp 0x14000e4aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
setbe al
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret