joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410470
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
sub esp, 0x44c
mov eax, dword [0x4aa068]
xor eax, esp
mov dword [esp + 0x444], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0x54]
xor ebx, ebx
mov edi, SysStringLen
mov dword [esp + 0x34], ebx
push eax
mov edx, str.LocalFileName
mov dword [esp + 0x20], edi
xor ecx, ecx
mov byte [esp + 0x34], bl
call fcn.00410192
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
je 0x4104d2
cmp dword [esp + 0x14], ebx
je 0x4104d2
lea eax, [esp + 0x50]
push eax
call esi
lea ecx, [esp + 0x50]
call fcn.004100e3
test eax, eax
je 0x4104f1
lea edx, [esp + 0x50]
mov ecx, edx
call fcn.00410728
lea eax, [esp + 0x50]
push eax
call esi
call fcn.004105a0
push ebx
mov edx, str.PreDownldStatus
xor ecx, ecx
call fcn.004102de
pop ecx
push 0x80
lea eax, [esp + 0x54]
mov dword [esp + 0x20], edi
push eax
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, ebx
call edi
test eax, eax
jne 0x410587
mov ebp, 0x20019
push ebp
lea eax, [esp + 0x54]
inc esi
push eax
lea ecx, [esp + 0x20]
call fcn.004329ad
test eax, eax
jne 0x410572
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x50]
push ebp
push eax
mov dword [esp + 0x54], ebx
mov byte [esp + 0x50], bl
call fcn.004329ad
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
test eax, eax
jne 0x410572
push str.VersionXmlURL
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x80
lea eax, [esp + 0x54]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x410527
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004484c4
add esp, 0x44c
ret
Function at 0x410728
Capabilities:
Get common file path
Parse url

Disassembly:
sub esp, 0x644
mov eax, dword [0x4aa068]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push ebp
push esi
push edi
push 0x3c
pop ebp
xor ebx, ebx
lea eax, [esp + 0x10]
push ebp
push ebx
push eax
mov edi, edx
mov byte [esp + 0x15c], bl
mov esi, ecx
call fcn.0044b900
add esp, 0xc
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x250]
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov ebp, 0x104
test eax, eax
je 0x4107ce
push 0x100
lea eax, [esp + 0x154]
push eax
push ebp
lea eax, [esp + 0x58]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x26c]
push ebx
push eax
call fcn.004585e2
lea eax, [esp + 0x70]
push 0x48bc28
push eax
call fcn.0044bd40
add esp, 0x2c
test eax, eax
je 0x410809
cmp byte [esi], bl
je 0x4107f5
mov al, byte [esi]
cmp al, 0x20
je 0x4107dc
cmp al, 9
jne 0x4107e7
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x4107d2
imul ebx, ebx, 0x1f
movsx eax, al
add ebx, eax
inc esi
cmp byte [esi], 0
jne 0x4107d2
push ebx
lea eax, [esp + 0x50]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x4c]
push eax
push edi
call esi
lea eax, [esp + 0x150]
push eax
push edi
call esi
mov ecx, dword [esp + 0x650]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004484c4
add esp, 0x644
ret
Function at 0x414bc5
Capabilities:
Delete file

Disassembly:
push 0x64
mov eax, 0x473455
call fcn.00448ddd
mov esi, edx
mov edi, ecx
xor ebx, ebx
inc ebx
cmp dword [0x4ae0bc], ebx
jg 0x414c53
push str.Verify_integrity_of___s__file_from___s_...
lea ecx, [ebp - 0x28]
call fcn.00403e12
and dword [ebp - 4], 0
mov eax, str._null_
mov edx, eax
test esi, esi
mov ecx, eax
lea eax, [ebp - 0x28]
cmovne edx, esi
test edi, edi
push edx
cmovne ecx, edi
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004261a1
add esp, 0x10
lea eax, [ebp - 0x58]
mov byte [ebp - 4], bl
push eax
push str.CheckFileIntegrity
push 0x95
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_wrappers_common_UpdateUtils.cpp
push ebx
mov ecx, 0x4ae0bc
call fcn.00427250
lea ecx, [ebp - 0x58]
call fcn.004049c7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004049c7
test esi, esi
je 0x414c60
mov ecx, esi
call fcn.00426f0a
mov ebx, eax
mov edx, edi
or ecx, 0xffffffff
call fcn.00414afa
mov esi, eax
test ebx, ebx
je 0x414c78
test esi, esi
je 0x414d01
mov edx, edi
xor ecx, ecx
call fcn.00414afa
mov esi, eax
test esi, esi
je 0x414d01
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x4ae0bc], 3
jg 0x414d01
push str.Integrity_verification_failed_for___s_
lea ecx, [ebp - 0x40]
call fcn.00403e12
test edi, edi
mov dword [ebp - 4], 2
mov ecx, str._null_
lea eax, [ebp - 0x40]
cmovne ecx, edi
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004261a1
add esp, 0xc
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
push str.CheckFileIntegrity
push 0xac
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_wrappers_common_UpdateUtils.cpp
push 3
mov ecx, 0x4ae0bc
call fcn.00427250
lea ecx, [ebp - 0x70]
call fcn.004049c7
lea ecx, [ebp - 0x40]
call fcn.004049c7
mov eax, esi
call fcn.00448d87
ret
Function at 0x418a05
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x54
mov eax, 0x473f87
call fcn.00448ddd
mov esi, ecx
mov dword [ebp - 0x48], esi
push 5
xor eax, eax
mov dword [ebp - 0x48], esi
pop ecx
inc eax
mov dword [ebp - 0x54], 4
cmp dword [ebp + 0xc], eax
xorps xmm0, xmm0
mov dword [ebp - 0x50], edx
cmove eax, ecx
movlpd qword [ebp - 0x4c], xmm0
lea ecx, [ebp - 0x4c]
xor edi, edi
push ecx
push eax
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x418a7c
push ecx
push dword [ebp - 0x4c]
mov ecx, esi
call fcn.00410bb9
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [esi]
call fcn.0044a3b0
add esp, 0xc
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.00448d87
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea ecx, [ebp - 0x2c]
call fcn.004189ab
push eax
mov edx, str.encryption_failed__sysError
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x44]
call fcn.0040a016
add esp, 0xc
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a6ed4
lea eax, [ebp - 0x60]
push eax
call fcn.0044c197
int3

Function at 0x418abc
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x50
mov eax, 0x473fbc
call fcn.00448ddd
mov esi, ecx
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x44], esi
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x48]
push eax
push 1
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], edx
push eax
movlpd qword [ebp - 0x48], xmm0
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x418b27
push ecx
push dword [ebp - 0x48]
mov ecx, esi
call fcn.00410bb9
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [esi]
call fcn.0044a3b0
add esp, 0xc
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.00448d87
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.004189ab
push eax
mov edx, str.decryption_failed__sysError
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x40]
call fcn.0040a016
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a6ed4
lea eax, [ebp - 0x5c]
push eax
call fcn.0044c197
int3
Function at 0x418bca
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0xa0
mov eax, 0x47402f
call fcn.00448ddd
mov eax, edx
mov dword [ebp - 0x94], eax
mov esi, ecx
mov dword [ebp - 0x90], esi
xor ebx, ebx
mov dword [ebp - 0x90], esi
cmp dword [ebp + 8], ebx
jne 0x418c07
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
jmp 0x418cf3
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], ebx
push ecx
push ebx
push 0x40000001
push dword [ebp + 8]
push eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x418cfb
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
push ebx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x90]
call fcn.00403d4b
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x90]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x40000001
push dword [ebp + 8]
push dword [ebp - 0x94]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x418cbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea ecx, [ebp - 0x74]
call fcn.004189ab
push eax
mov edx, str.binary2string__phase2__failed__sysError
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.0040a016
add esp, 0xc
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.00402329
push 0x4a6ed4
lea eax, [ebp - 0xac]
jmp 0x418d3a
push ebx
push dword [ebp - 0x90]
lea ecx, [ebp - 0x2c]
call fcn.00403d4b
mov byte [ebp - 0x94], bl
lea eax, [ebp - 0x2c]
push dword [ebp - 0x94]
mov ecx, esi
mov dword [esi + 0x10], ebx
push eax
mov dword [esi + 0x14], ebx
call fcn.00404ba7
lea ecx, [ebp - 0x2c]
call fcn.004049c7
mov eax, esi
call fcn.00448d87
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
lea ecx, [ebp - 0x44]
call fcn.004189ab
push eax
mov edx, str.binary2string__phase1__failed__sysError
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x5c]
call fcn.0040a016
add esp, 0xc
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a6ed4
lea eax, [ebp - 0xa0]
push eax
call fcn.0044c197
int3
Function at 0x418d41
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x8c
mov eax, 0x47407f
call fcn.00448ddd
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x74], edi
xor esi, esi
mov dword [ebp - 0x74], edi
cmp dword [ebx + 0x10], esi
jne 0x418d6e
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
jmp 0x418e2e
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
mov dword [ebp - 0x74], esi
jb 0x418d7b
mov eax, dword [ebx]
push esi
push esi
lea ecx, [ebp - 0x74]
push ecx
push esi
push 1
push dword [ebx + 0x10]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x418e36
push ecx
push dword [ebp - 0x74]
lea ecx, [ebp - 0x80]
call fcn.00410bb9
mov dword [ebp - 4], 2
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
jb 0x418db4
mov ebx, dword [ebx]
push esi
push esi
lea ecx, [ebp - 0x74]
push ecx
push dword [ebp - 0x80]
push 1
push eax
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x418e0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x58]
call fcn.004189ab
push eax
mov edx, str.string2binary__phase2__failed__sysError
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.0040a016
add esp, 0xc
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
call fcn.00402329
push 0x4a6ed4
lea eax, [ebp - 0x98]
jmp 0x418e75
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x74]
mov ecx, eax
call fcn.00418eeb
lea eax, [ebp - 0x80]
mov ecx, edi
push eax
call fcn.00418ebe
lea ecx, [ebp - 0x80]
call fcn.0040c03a
mov eax, edi
call fcn.00448d87
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.004189ab
push eax
mov edx, str.string2binary__phase1__failed__sysError
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x40]
call fcn.0040a016
add esp, 0xc
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a6ed4
lea eax, [ebp - 0x8c]
push eax
call fcn.0044c197
int3
Function at 0x424ab7
Capabilities:
Check http status code

Disassembly:
push 0x84
mov eax, 0x475b5d
call fcn.00448ddd
mov edi, ecx
push ecx
push 0x13
call fcn.0042457f
mov esi, eax
cmp esi, 0xc8
je 0x424b7d
cmp esi, 0xce
je 0x424b7d
cmp esi, 0x193
jne 0x424b3f
push 0x4893dd
lea ecx, [ebp - 0x2c]
call fcn.00403e12
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push 0x14
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.004246bc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004049c7
push 0
push str.Export_Denied
lea ecx, [ebp - 0x44]
call fcn.0040bf23
cmp eax, 0xffffffff
jne 0x424b83
or dword [ebp - 4], eax
lea ecx, [ebp - 0x44]
call fcn.00403dc0
push esi
lea ecx, [ebp - 0x90]
call fcn.004223a6
mov edx, eax
push 0x2ce
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 4
call fcn.00402dde
push eax
lea ecx, [ebp - 0x70]
call fcn.004257e2
mov dword [esp], 0x4a72f8
jmp 0x424bbb
call fcn.00448d87
ret
lea ecx, [ebp - 0x90]
call fcn.00422438
mov edx, eax
push 0x2cb
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00402dde
push eax
lea ecx, [ebp - 0x70]
call fcn.0042581b
mov dword [esp], 0x4a73b8
lea eax, [ebp - 0x70]
push eax
call fcn.0044c197
int3

Function at 0x424e30
Capabilities:
Check http status code
Check internet connectivity via wininet

Disassembly:
push 0xf4
mov eax, 0x475c33
call fcn.00448e4b
xor ebx, ebx
lea eax, [ebp - 0xe4]
push ebx
push eax
mov dword [ebp - 0xe4], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x424e60
mov al, 1
jmp 0x424f8c
test byte [ebp - 0xe4], 0x40
jne 0x424e59
push str.http:__java.sun.com
lea ecx, [ebp - 0x48]
mov byte [ebp - 0xdd], bl
mov dword [ebp - 4], ebx
call fcn.00403e12
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xdc]
call fcn.00422642
push ebx
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
mov dword [eax + 0x1c], 2
mov word [eax + 0x18], 1
call fcn.0042336b
push ecx
push 0x13
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0042457f
lea ecx, [ebp - 0x100]
mov esi, eax
call fcn.00414a7e
lea ecx, [ebp - 0xdc]
call fcn.004226af
lea ecx, [ebp - 0x48]
call fcn.004049c7
cmp esi, 0xc8
je 0x424ef4
cmp esi, 0x197
jne 0x424f8a
mov bl, 1
jmp 0x424f8a
mov al, bl
call fcn.00448d98
ret
Function at 0x424f92
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4aa068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x58]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.0044b900
mov dword [ebp - 0x58], ebx
add esp, 0xc
xor ebx, ebx
inc ebx
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x44], ebx
jb 0x424fcc
mov edi, dword [edi]
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x424fe3
xor al, al
jmp 0x425021
mov eax, dword [ebp - 0x4c]
push 3
pop ecx
sub eax, ecx
je 0x424ffa
sub eax, 1
je 0x424ff6
mov dword [esi], ebx
jmp 0x425000
mov dword [esi], ecx
jmp 0x425000
mov dword [esi], 2
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x48]
call fcn.0042538e
push eax
lea ecx, [esi + 4]
call fcn.00403dc5
lea ecx, [ebp - 0x1c]
call fcn.004049c7
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004484c4
leave
ret
Function at 0x42a3d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x110
mov eax, 0x476a90
call fcn.00448ddd
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
call fcn.0042a3b3
mov ebx, eax
test ebx, ebx
je 0x42a4bf
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push dword [edi + 0x38]
call esi
test eax, eax
jne 0x42a477
push str.cannot_load_resource
lea ecx, [ebp - 0x2c]
call fcn.00403e12
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.0042a2f5
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 5
call fcn.00426e87
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x84]
call fcn.00435e5f
mov edx, eax
push 0x46
push str.Resource::getPtr
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_Resources.cpp
jmp 0x42a52c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [edi + 0x34], 6
mov esi, eax
jne 0x42a4a6
mov ecx, dword [edi + 0x18]
and ecx, 0xf
jbe 0x42a49c
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x42a48e
movzx eax, word [esi]
add eax, eax
add esi, 2
jmp 0x42a4b0
push ebx
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
mov eax, esi
call fcn.00448d87
ret 4
push str.cannot_find_resource
lea ecx, [ebp - 0x2c]
call fcn.00403e12
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.0042a2f5
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 1
call fcn.00426e87
push str.System_error
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [sym.imp.KERNEL32.dll_FindResourceA]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x78]
call fcn.00435e5f
mov edx, eax
push 0x41
push str.Resource::getPtr
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_Resources.cpp
call fcn.00402dde
push eax
lea ecx, [ebp - 0x50]
call fcn.0041e178
lea eax, [ebp - 0x50]
mov dword [esp], 0x4a7154
push eax
call fcn.0044c197
int3

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

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x42a803
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
ret

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

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x42a819
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42a82c
test al, 0x10
je 0x42a82c
mov al, 1
ret
xor al, al
ret
Function at 0x42b4be
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x9c
mov eax, 0x476c52
call fcn.00448da9
mov esi, edx
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x42b4d9
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x42b576
cmp dword [0x4ae0bc], 0
jg 0x42b56e
sub esp, 0x18
xor edi, edi
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.00404b39
push ecx
push ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], edi
call fcn.00403ead
mov edx, str.Deleted__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00406a2a
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.00405461
mov esi, eax
mov edx, str.__file
mov ecx, esi
call fcn.00406a2a
push esi
push str.FileUtils::_anonymous_namespace::deleteFileImpl
push 0x25e
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_FileUtils.cpp
push edi
mov ecx, 0x4ae0bc
call fcn.00402d4b
lea ecx, [ebp - 0xa8]
call fcn.00402bf1
mov al, 1
call fcn.00448d72
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42b56e
cmp eax, 3
je 0x42b56e
xor al, al
jmp 0x42b570
Function at 0x42b58a
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov edx, edi
call fcn.0042b4be
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, al
mov byte [esp + 0x17], bl
call ebp
test bl, bl
jne 0x42b749
xor ebx, ebx
cmp eax, 5
jne 0x42b73d
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x42b5ce
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 5
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
jne 0x42b5f1
xor al, al
jmp 0x42b74d
test al, 1
je 0x42b73d
and eax, 0xfffffffe
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x42b606
mov ecx, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
push ecx
call esi
test eax, eax
je 0x42b68d
cmp dword [0x4ae0bc], ebx
jg 0x42b681
sub esp, 0x18
mov ecx, esp
push edi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404b39
push ecx
push ecx
lea ecx, [esp + 0x48]
call fcn.00403ead
mov edx, str.Discarded_R_O_attribute_from__
lea ecx, [esp + 0x40]
call fcn.00406a2a
lea ecx, [esp + 0x40]
call fcn.00405461
mov esi, eax
mov edx, str.__file
mov ecx, esi
call fcn.00406a2a
push esi
push str.FileUtils::deleteFile
push 0x276
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_FileUtils.cpp
push ebx
mov ecx, 0x4ae0bc
call fcn.00402d4b
lea ecx, [esp + 0x28]
call fcn.00402bf1
mov edx, edi
call fcn.0042b4be
jmp 0x42b739
cmp dword [0x4ae0bc], 2
jg 0x42b72d
push str.System_error
call ebp
push eax
push esi
sub esp, 0x18
mov ecx, esp
push edi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404b39
push ecx
push ecx
lea ecx, [esp + 0x54]
call fcn.00403ead
mov edx, str.Failed_to_discard_R_O_attribute_from__
lea ecx, [esp + 0x4c]
call fcn.00406a2a
lea ecx, [esp + 0x4c]
call fcn.00405461
mov esi, eax
mov edx, str.__file._File_will_not_be_deleted
mov ecx, esi
call fcn.00406a2a
push esi
lea ecx, [esp + 0x2c]
call fcn.00435e5f
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push eax
push str.FileUtils::deleteFile
push 0x27c
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_FileUtils.cpp
push 2
mov ecx, 0x4ae0bc
call fcn.00402d95
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], vtable.std::exception.0
push eax
call fcn.00449e03
pop ecx
lea ecx, [esp + 0x28]
call fcn.00402bf1
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [esp + 0x17]
test al, al
jne 0x42b749
call ebp
cmp eax, 2
je 0x42b749
cmp eax, 3
jne 0x42b74b
mov bl, 1
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b80b
Capabilities:
Check if file exists
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
push ebx
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x42b825
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne cl
xor ebx, ebx
mov byte [esp + 0xb], cl
test eax, eax
je 0x42b8ac
cmp dword [0x4ae0bc], ebx
jg 0x42b8ac
sub esp, 0x18
mov ecx, esp
push esi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404b39
push ecx
push ecx
lea ecx, [esp + 0x30]
call fcn.00403ead
mov edx, str.Deleted__
lea ecx, [esp + 0x28]
call fcn.00406a2a
lea ecx, [esp + 0x28]
call fcn.00405461
mov esi, eax
mov edx, str.__directory
mov ecx, esi
call fcn.00406a2a
push esi
push str.FileUtils::deleteDirectory
push 0x291
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_common_FileUtils.cpp
push ebx
mov ecx, 0x4ae0bc
call fcn.00402d4b
lea ecx, [esp + 0x10]
call fcn.00402bf1
mov cl, byte [esp + 0xb]
test cl, cl
jne 0x42b8c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42b8c0
cmp eax, 3
jne 0x42b8c2
mov bl, 1
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret