joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418a05
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x54
mov eax, 0x474238
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.004523ea
push eax
mov edx, str.encryption_failed__sysError
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x44]
call fcn.004523ea
add esp, 0xc
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a5b24
lea eax, [ebp - 0x60]
push eax
call fcn.004523ea
int3

Function at 0x418abc
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x50
mov eax, 0x47426d
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.004523ea
push eax
mov edx, str.decryption_failed__sysError
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x40]
call fcn.004523ea
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a5b24
lea eax, [ebp - 0x5c]
push eax
call fcn.004523ea
int3
Function at 0x418bca
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0xa0
mov eax, 0x4742e0
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.004523ea
push eax
mov edx, str.binary2string__phase2__failed__sysError
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.004523ea
add esp, 0xc
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.00402329
push 0x4a5b24
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.004523ea
push eax
mov edx, str.binary2string__phase1__failed__sysError
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x5c]
call fcn.004523ea
add esp, 0xc
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a5b24
lea eax, [ebp - 0xa0]
push eax
call fcn.004523ea
int3
Function at 0x418d41
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x8c
mov eax, 0x474330
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.004523ea
push eax
mov edx, str.string2binary__phase2__failed__sysError
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.004523ea
add esp, 0xc
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
call fcn.00402329
push 0x4a5b24
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.004523ea
push eax
mov edx, str.string2binary__phase1__failed__sysError
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x40]
call fcn.004523ea
add esp, 0xc
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00402329
push 0x4a5b24
lea eax, [ebp - 0x8c]
push eax
call fcn.004523ea
int3
Function at 0x4233b8
Capabilities:
Clear file content

Disassembly:
push 0xe4
mov eax, 0x47594a
call fcn.00448ddd
mov dword [ebp - 0x38], edx
mov edi, ecx
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4233d6
mov eax, dword [edi]
mov ebx, dword [sym.imp.kernel32.dll_CreateFileA]
xor ecx, ecx
push ecx
push 0x80
push 3
push ecx
push ecx
push 0xc0000000
push eax
call ebx
mov esi, eax
mov byte [ebp - 0x3c], 1
mov dword [ebp - 0x40], esi
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, 0xffffffff
je 0x423516
mov ebx, dword [sym.imp.kernel32.dll_SetFilePointerEx]
push eax
push eax
push eax
push dword [ebp - 0x38]
push esi
call ebx
test eax, eax
jne 0x423489
push 0x16c
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x58]
call fcn.00402dde
push eax
push str.System_error
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push ebx
push str.:_seek_failed
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
push edi
call fcn.00403e50
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 5
call fcn.00402b9d
mov byte [ebp - 4], 6
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00405461
mov ecx, eax
call fcn.0040544d
push eax
lea ecx, [ebp - 0x4c]
call fcn.00435e5f
mov byte [ebp - 4], 8
jmp 0x423580
mov ebx, dword [sym.imp.kernel32.dll_SetEndOfFile]
push esi
call ebx
test eax, eax
jne 0x423502
push 0x170
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x58]
call fcn.00402dde
push eax
push str.System_error
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push ebx
push str.:_cannot_set_EOF
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
push edi
call fcn.00403e50
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 9
call fcn.00402b9d
mov byte [ebp - 4], 0xa
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00405461
mov ecx, eax
call fcn.0040544d
push eax
lea ecx, [ebp - 0x4c]
call fcn.00435e5f
mov byte [ebp - 4], 0xc
jmp 0x423580
push esi
mov dword [ebp - 4], 0xd
call fcn.00436a38
pop ecx
call fcn.00448d87
ret
push 0x166
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x4c]
call fcn.00402dde
push eax
push str.System_error
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push ebx
push str.:_cannot_open
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
push edi
call fcn.00403e50
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
call fcn.00402b9d
mov byte [ebp - 4], 2
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00405461
mov ecx, eax
call fcn.0040544d
push eax
lea ecx, [ebp - 0x58]
call fcn.00435e5f
mov byte [ebp - 4], 4
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.0041e178
lea eax, [ebp - 0x34]
mov dword [esp], 0x4a5da4
push eax
call fcn.004523ea
int3
Function at 0x424ab7
Capabilities:
Check http status code

Disassembly:
push 0x84
mov eax, 0x475e0e
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 0x4880ad
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_i586_cygwin_jdk8u281_880_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], 0x4a5f48
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_i586_cygwin_jdk8u281_880_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], 0x4a6008
lea eax, [ebp - 0x70]
push eax
call fcn.004523ea
int3

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

Disassembly:
push 0xf4
mov eax, 0x475ee4
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.004523ea
push ecx
push 0x13
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0042457f
lea ecx, [ebp - 0x100]
mov esi, eax
call fcn.004523ea
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 0x42a3d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push pe_nt_image_headers32
mov eax, 0x476d41
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_i586_cygwin_jdk8u281_880_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_i586_cygwin_jdk8u281_880_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], 0x4a5da4
push eax
call fcn.004523ea
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 0x42aed7
Capabilities:
Create directory

Disassembly:
push 0xec
mov eax, 0x477015
call fcn.00448ddd
mov edi, edx
mov esi, ecx
and dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov ebx, dword [sym.imp.kernel32.dll_CreateDirectoryA]
cmovae eax, dword [ebp + 8]
push esi
push eax
call ebx
test eax, eax
je 0x42afc1
cmp dword [0x4ac0bc], 0
jg 0x42af9c
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x50], esp
xor ebx, ebx
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404b39
push ecx
push ecx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.00403ead
mov edx, str.Created__
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.00406a2a
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 3
call fcn.00405461
mov esi, eax
mov edx, str.__directory
mov ecx, esi
call fcn.00406a2a
push esi
push str.FileUtils::_anonymous_namespace::createDir
push 0x1ce
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_FileUtils.cpp
push ebx
mov ecx, 0x4ac0bc
call fcn.00402d4b
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], bl
call fcn.004523ea
test edi, edi
je 0x42afd9
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.0042aa4f
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004138d2
lea ecx, [ebp - 0x28]
call fcn.004049c7
jmp 0x42afd9
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x42afe7
lea ecx, [ebp + 8]
call fcn.0042a811
test al, al
je 0x42afe7
lea ecx, [ebp + 8]
call fcn.004049c7
call fcn.00448d87
ret
push 0x1d7
push str.FileUtils::_anonymous_namespace::createDir
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x5c]
call fcn.00402dde
push eax
push str.System_error
push edi
push ebx
push 0x48fbb8
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.00403e50
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 5
call fcn.00402b9d
mov byte [ebp - 4], 6
push str.CreateDirectory_
mov ecx, eax
call fcn.0040544d
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00405461
mov ecx, eax
call fcn.0040544d
push eax
lea ecx, [ebp - 0x1c]
call fcn.00435e5f
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4c]
call fcn.0041e178
lea eax, [ebp - 0x4c]
mov dword [esp], 0x4a5da4
push eax
call fcn.004523ea
int3
Function at 0x42b4be
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x9c
mov eax, 0x476f03
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 [0x4ac0bc], 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_i586_cygwin_jdk8u281_880_install_src_windows_common_FileUtils.cpp
push edi
mov ecx, 0x4ac0bc
call fcn.00402d4b
lea ecx, [ebp - 0xa8]
call fcn.004523ea
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 0x42c1be
Capabilities:
Get file version info

Disassembly:
push 0xe8
mov eax, 0x47739b
call fcn.00448ddd
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x44], esi
push eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.00404b39
lea edi, [esi + 0x18]
mov dword [ebp - 4], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x3c], ebx
jb 0x42c205
mov eax, dword [esi]
mov ebx, dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call ebx
test eax, eax
je 0x42c2ca
push edi
push eax
mov ecx, edi
call fcn.00418eeb
mov eax, dword [edi + 4]
mov ecx, esi
sub eax, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x42c232
mov ecx, dword [esi]
push dword [edi]
mov edi, dword [sym.imp.version.dll_GetFileVersionInfoA]
push eax
push dword [ebp - 0x3c]
push ecx
call edi
test eax, eax
jne 0x42c2c0
push 0x46d
push str.VersionResource::VersionResource
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x5c]
call fcn.00402dde
push eax
push str.System_error
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push edi
push 0x48fbb8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.00403e50
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call fcn.00402b9d
mov byte [ebp - 4], 7
push str.GetFileVersionInfo_
mov ecx, eax
call fcn.0040544d
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00405461
mov ecx, eax
call fcn.0040544d
push eax
lea ecx, [ebp - 0x50]
call fcn.00435e5f
mov byte [ebp - 4], 9
jmp 0x42c340
mov eax, esi
call fcn.00448d87
ret 4
push 0x464
push str.VersionResource::VersionResource
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x50]
call fcn.00402dde
push eax
push str.System_error
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push ebx
push 0x48fbb8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.00403e50
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.00402b9d
mov byte [ebp - 4], 3
push str.GetFileVersionInfoSize_
mov ecx, eax
call fcn.0040544d
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00405461
mov ecx, eax
call fcn.0040544d
push eax
lea ecx, [ebp - 0x5c]
call fcn.00435e5f
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.0041e178
lea eax, [ebp - 0x38]
mov dword [esp], 0x4a5da4
push eax
call fcn.004523ea
int3
Function at 0x42e4cf
Capabilities:
Get common file path

Disassembly:
push 0x2c
mov eax, 0x477829
call fcn.00448ddd
mov esi, ecx
mov dword [ebp - 0x38], esi
push ecx
push 0x104
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], esi
call fcn.00410bb9
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x34]
sub eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov ecx, dword [ebp - 0x34]
mov edx, eax
mov eax, dword [ebp - 0x30]
sub eax, ecx
cmp edx, eax
jbe 0x42e532
lea eax, [ebp - 0x34]
push eax
push edx
mov ecx, eax
call fcn.00425854
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x34]
sub eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403e12
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0042aa4f
lea ecx, [ebp - 0x28]
call fcn.004049c7
lea ecx, [ebp - 0x34]
call fcn.0040c03a
mov eax, esi
call fcn.00448d87
ret

Function at 0x42e5a8
Capabilities:
Get common file path

Disassembly:
push 0x208
mov eax, 0x47786f
call fcn.00448ddd
mov esi, ecx
mov dword [ebp - 0x160], esi
push 0x104
xor ebx, ebx
mov dword [ebp - 0x160], esi
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.0044b900
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push ebx
push ebx
push 0x8023
push ebx
call dword [sym.imp.shell32.dll_SHGetFolderPathA]
mov edi, eax
test edi, edi
jne 0x42e630
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x134]
call fcn.00403e12
lea edx, [ebp - 0x134]
mov dword [ebp - 4], 2
mov ecx, esi
call fcn.0042aa4f
lea ecx, [ebp - 0x134]
call fcn.004049c7
mov eax, esi
call fcn.00448d87
ret
lea ecx, [ebp - 0x214]
call fcn.00402b9d
push edi
push ecx
push 0x489fac
sub esp, 0xc
mov dword [ebp - 4], ebx
push str.__mode
push ecx
push 0x23
push 0x412372
push str.SHGetFolderPath_0x
mov ecx, eax
call fcn.0040544d
mov ecx, eax
call fcn.00412389
mov ecx, eax
call fcn.00413a79
pop ecx
mov ecx, eax
call fcn.0040544d
pop ecx
mov ecx, eax
call fcn.0042eaac
pop ecx
mov ecx, eax
call fcn.0040544d
pop ecx
push eax
lea ecx, [ebp - 0x17c]
call fcn.00433be6
mov edx, eax
push 0x1bf
push str.SysInfo::SHGetFolderPathAdapter
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_common_SysInfo.cpp
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 1
call fcn.00402dde
push eax
lea ecx, [ebp - 0x15c]
call fcn.0042eabe
lea eax, [ebp - 0x15c]
mov dword [esp], 0x4a60a4
push eax
call fcn.004523ea
int3