joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411a99
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x4b34c4]
xor eax, ebp
mov dword [ebp + 0x3b8], eax
push ebx
push esi
push edi
mov ebx, SysStringLen
lea ecx, [ebp - 0x64]
push ebx
call fcn.0043916c
lea eax, [ebp - 0x48]
push 0x400
push eax
call fcn.004120dc
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
js 0x411ae5
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call fcn.00411e80
pop ecx
test eax, eax
je 0x411b05
lea eax, [ebp - 0x48]
push eax
push eax
call fcn.00411f80
pop ecx
pop ecx
lea eax, [ebp - 0x48]
push eax
call esi
call fcn.00411bb9
xor edi, edi
push edi
push str.PreDownldStatus
push edi
call fcn.004121c3
add esp, 0xc
lea ecx, [ebp - 0x64]
push ebx
call fcn.004391aa
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.004391f1
test eax, eax
jne 0x411ba1
mov ebx, 0x20019
push ebx
lea eax, [ebp - 0x48]
inc edi
push eax
lea ecx, [ebp - 0x64]
call fcn.0043920a
lea ecx, [ebp - 0x64]
mov esi, eax
call fcn.00408b63
test esi, esi
jne 0x411b90
push eax
lea ecx, [ebp - 0x80]
call fcn.0043916c
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
call fcn.0043920a
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.00408b63
push eax
lea ecx, [ebp - 0x80]
call fcn.004391aa
test esi, esi
jne 0x411b90
push str.VersionXmlURL
lea ecx, [ebp - 0x80]
call fcn.004391e1
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.004391f1
test eax, eax
je 0x411b3a
mov ecx, dword [ebp + 0x3b8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450e68
add ebp, 0x3bc
leave
ret

Function at 0x411f80
Capabilities:
Get common file path
Parse url

Disassembly:
sub esp, 0x644
mov eax, dword [0x4b34c4]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x654]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x65c]
push 0x3c
pop ebx
push ebx
push 0
push eax
mov byte [esp + 0x15c], 0
call fcn.004541a0
add esp, 0xc
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x250]
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x3c], eax
xor ebx, ebx
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 0x412032
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.00460de8
lea eax, [esp + 0x70]
push 0x488200
push eax
call fcn.004547a0
add esp, 0x2c
test eax, eax
je 0x41204e
push 1
push esi
call fcn.004128da
push eax
lea eax, [esp + 0x58]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
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.00450e68
add esp, 0x644
ret
Function at 0x41626a
Capabilities:
Delete file

Disassembly:
push 0x6c
mov eax, 0x47c105
call fcn.00450edb
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
inc ebx
push ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], esi
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x4162f3
push str.Verify_integrity_of___s__file_from___s_...
lea ecx, [ebp - 0x28]
call fcn.004038cc
and dword [ebp - 4], 0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00416151
add esp, 0x10
push eax
push str.CheckFileIntegrity
push 0x95
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_wrappers_common_UpdateUtils.cpp
push ebx
mov byte [ebp - 4], bl
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp - 0x58]
call fcn.004063d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004063d7
test esi, esi
je 0x416300
push esi
call fcn.0042801c
pop ecx
mov ebx, eax
push edi
push 0xffffffffffffffff
call fcn.00416797
mov esi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x416318
test esi, esi
je 0x41639b
push edi
push 0
call fcn.00416797
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41639b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 3
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x41639b
push str.Integrity_verification_failed_for___s_
lea ecx, [ebp - 0x40]
call fcn.004038cc
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040b4e1
add esp, 0xc
push eax
push str.CheckFileIntegrity
push 0xac
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_wrappers_common_UpdateUtils.cpp
push 3
mov byte [ebp - 4], 3
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp - 0x70]
call fcn.004063d7
lea ecx, [ebp - 0x40]
call fcn.004063d7
mov eax, esi
call fcn.00450e8a
ret
Function at 0x41b0e6
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x68
mov eax, 0x47ced5
call fcn.00450edb
mov esi, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x60], esi
cmp dword [ebp + 0x10], ecx
jne 0x41b115
mov dword [esi], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xf
mov byte [esi], cl
jmp 0x41b232
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], ecx
push eax
push ecx
push 0x40000001
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x41b23a
xor ecx, ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], 2
test eax, eax
jne 0x41b15d
mov dword [ebp - 0x18], eax
mov byte [ebp + eax - 0x28], cl
jmp 0x41b167
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040645b
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x40000001
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x41b1bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041b6b2
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push str.binary2string__phase2__failed__sysError
push eax
call fcn.00407b42
add esp, 0x18
mov byte [ebp - 4], 4
jmp 0x41b266
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x18]
ja 0x41b1d7
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x41b1e5
sub ecx, dword [ebp - 0x18]
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040645b
and dword [esi], 0
lea eax, [ebp - 0x28]
and dword [esi + 0x10], 0
mov ecx, esi
and dword [esi + 0x14], 0
push eax
call fcn.00406263
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41b232
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
cmp eax, 0x1000
jb 0x41b229
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004055a1
mov eax, dword [ebp - 0x64]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x60]
push eax
push ecx
call fcn.00450c04
pop ecx
pop ecx
mov eax, esi
call fcn.00450e8a
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041b6b2
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.00407b42
add esp, 0x18
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.00403d30
push 0x4a6420
lea eax, [ebp - 0x70]
push eax
call fcn.0045437c
int3
Function at 0x41b27e
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x54
mov eax, 0x47cf11
call fcn.00450edb
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
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], ecx
push eax
movlpd qword [ebp - 0x48], xmm0
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x41b2f1
push dword [ebp - 0x48]
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.00411960
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [esi]
call fcn.00453c20
add esp, 0xc
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.00450e8a
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041b6b2
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], edi
push str.decryption_failed__sysError
push eax
call fcn.00407b42
add esp, 0x18
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00403d30
push 0x4a6420
lea eax, [ebp - 0x60]
push eax
call fcn.0045437c
int3

Function at 0x41b41b
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x54
mov eax, 0x47cf11
call fcn.00450edb
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x50], eax
xor eax, eax
push 5
inc eax
mov dword [ebp - 0x4c], ecx
cmp dword [ebp + 0x14], eax
pop ecx
cmove eax, ecx
movlpd qword [ebp - 0x48], xmm0
lea ecx, [ebp - 0x48]
push ecx
push eax
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x41b499
push dword [ebp - 0x48]
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.00411960
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [esi]
call fcn.00453c20
add esp, 0xc
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
call fcn.00450e8a
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041b6b2
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], edi
push str.encryption_failed__sysError
push eax
call fcn.00407b42
add esp, 0x18
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00403d30
push 0x4a6420
lea eax, [ebp - 0x60]
push eax
call fcn.0045437c
int3
Function at 0x41b537
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x47cfb9
call fcn.00450edb
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x74], edi
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x74], ecx
cmp dword [ecx], esi
jne 0x41b565
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
jmp 0x41b663
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
mov dword [ebp - 0x5c], esi
jb 0x41b572
mov eax, dword [ebx]
push esi
push esi
lea edx, [ebp - 0x5c]
push edx
push esi
push 1
push dword [ecx]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x41b66b
mov esi, dword [ebp - 0x5c]
xor eax, eax
and dword [ebp - 0x68], eax
and dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], eax
test esi, esi
je 0x41b5da
cmp esi, 0x7fffffff
ja 0x41b6ac
push esi
cmp esi, 0x1000
jb 0x41b5ba
call fcn.00402e37
jmp 0x41b5bf
call fcn.00450bd4
pop ecx
add esi, eax
mov dword [ebp - 0x70], eax
push esi
push eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], esi
call fcn.004119fb
mov eax, dword [ebp - 0x70]
pop ecx
pop ecx
mov dword [ebp - 0x68], esi
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 4], 2
jb 0x41b5e9
mov ebx, dword [ebx]
push 0
push 0
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov eax, dword [ebp - 0x74]
push 1
push dword [eax]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x41b643
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041b6b2
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push str.string2binary__phase2__failed__sysError
push eax
call fcn.00407b42
add esp, 0x18
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00403d30
push 0x4a6420
lea eax, [ebp - 0x1c]
jmp 0x41b6a6
lea eax, [ebp - 0x5d]
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
call fcn.0041afd1
mov eax, dword [ebp - 0x6c]
mov dword [edi], eax
mov eax, dword [ebp - 0x68]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [edi + 8], eax
mov eax, edi
call fcn.00450e8a
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041b6b2
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], esi
push str.string2binary__phase1__failed__sysError
push eax
call fcn.00407b42
add esp, 0x18
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00403d30
push 0x4a6420
lea eax, [ebp - 0x6c]
push eax
call fcn.0045437c
call fcn.00410dc1
int3

Function at 0x41cfe8
Capabilities:
Hide graphical window

Disassembly:
cmp dword [ecx + 4], 0
je 0x41cff9
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4290db
Capabilities:
Check http status code

Disassembly:
push 0x80
mov eax, 0x47ecf4
call fcn.00450edb
mov edi, ecx
push 0xffffffffffffffff
push 0x13
call fcn.0042ac71
mov esi, eax
cmp esi, 0xc8
je 0x4291a5
cmp esi, 0xce
je 0x4291a5
cmp esi, 0x193
jne 0x429164
push 0x486974
lea ecx, [ebp - 0x28]
call fcn.004038cc
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
push 0x14
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0042afd3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004063d7
push 0
push str.Export_Denied
lea ecx, [ebp - 0x40]
call fcn.0040d2aa
cmp eax, 0xffffffff
jne 0x4291ab
or dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
call fcn.0040401f
push esi
lea ecx, [ebp - 0x8c]
call fcn.00428b58
mov esi, eax
push 0x2ce
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 4
call fcn.00403a94
push eax
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.004283e3
add esp, 0xc
push 0x4a9724
jmp 0x4291e6
call fcn.00450e8a
ret
lea ecx, [ebp - 0x8c]
call fcn.00428b1a
mov esi, eax
push 0x2cb
push str.HttpConnection::Response::checkStatus
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00403a94
push eax
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.004283cc
add esp, 0xc
push 0x4a9784
lea eax, [ebp - 0x6c]
push eax
call fcn.0045437c
int3
Function at 0x42b2fd
Capabilities:
Check http status code
Check internet connectivity via wininet

Disassembly:
push 0xec
mov eax, 0x47f32a
call fcn.00450f47
xor ebx, ebx
lea eax, [ebp - 0xdc]
push ebx
push eax
mov dword [ebp - 0xdc], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x42b461
test byte [ebp - 0xdc], 0x40
jne 0x42b461
push str.http:__java.sun.com
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xd5], bl
mov dword [ebp - 4], ebx
call fcn.004038cc
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xd4]
call fcn.00428952
push ebx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
mov dword [eax + 0x1c], 2
mov word [eax + 0x18], 1
call fcn.00429370
push 0xffffffffffffffff
push 0x13
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0042ac71
lea ecx, [ebp - 0xf8]
mov esi, eax
call fcn.004161e9
lea ecx, [ebp - 0xd4]
call fcn.00428e38
lea ecx, [ebp - 0x2c]
call fcn.004063d7
cmp esi, 0xc8
je 0x42b3c3
cmp esi, 0x197
jne 0x42b45d
mov bl, 1
jmp 0x42b45d
mov al, bl
jmp 0x42b463
mov al, 1
call fcn.00450e99
ret

Function at 0x42b7e9
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x6c
mov eax, 0x47f41a
call fcn.00450edb
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x58]
and dword [ebp - 0x58], 0
push edx
push dword [ebp + 0xc]
push eax
push dword [ecx + 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42b81c
mov eax, dword [ebp - 0x58]
call fcn.00450e8a
ret 8
push str.InternetReadFile_failed
lea ecx, [ebp - 0x28]
call fcn.004038cc
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2c9
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x78]
call fcn.00428bda
mov esi, eax
push 0x2eb
push str.HttpConnection::Response::readContent
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00403a94
push eax
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.004283fa
add esp, 0xc
lea eax, [ebp - 0x54]
push 0x4a9608
push eax
call fcn.0045437c
int3
Function at 0x42b998
Capabilities:
Clear file content

Disassembly:
push 0xe4
mov eax, 0x47f4c9
call fcn.00450edb
mov edi, dword [ebp + 8]
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x42b9b4
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 0x42baf4
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push eax
push eax
push eax
push dword [ebp + 0xc]
push esi
call ebx
test eax, eax
jne 0x42ba67
push 0x16c
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x58]
call fcn.00403a94
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.004038b0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 5
call fcn.00403bef
mov byte [ebp - 4], 6
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00402de5
mov ecx, eax
call fcn.00402c01
push eax
lea ecx, [ebp - 0x4c]
call fcn.0043ca54
mov byte [ebp - 4], 8
jmp 0x42bb5e
mov ebx, dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call ebx
test eax, eax
jne 0x42bae0
push 0x170
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x58]
call fcn.00403a94
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.004038b0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 9
call fcn.00403bef
mov byte [ebp - 4], 0xa
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00402de5
mov ecx, eax
call fcn.00402c01
push eax
lea ecx, [ebp - 0x4c]
call fcn.0043ca54
mov byte [ebp - 4], 0xc
jmp 0x42bb5e
push esi
mov dword [ebp - 4], 0xd
call fcn.0043d963
pop ecx
call fcn.00450e8a
ret
push 0x166
push str._anonymous_namespace::setFileSize
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_NetUtils.cpp
lea ecx, [ebp - 0x4c]
call fcn.00403a94
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.004038b0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
call fcn.00403bef
mov byte [ebp - 4], 2
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00402de5
mov ecx, eax
call fcn.00402c01
push eax
lea ecx, [ebp - 0x58]
call fcn.0043ca54
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041d5c0
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x4a7474
push eax
call fcn.0045437c
int3
Function at 0x42c31f
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x148]
sub esp, 0x148
push 0xffffffffffffffff
push 0x47f60e
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4b34c4]
xor eax, ebp
mov dword [ebp + 0x144], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x150]
lea eax, [ebp + 0x40]
mov edi, dword [ebp + 0x154]
mov ebx, dword [ebp + 0x158]
push 0x104
push 0
push eax
mov dword [ebp - 0x10], esi
call fcn.004541a0
add esp, 0xc
lea eax, [ebp + 0x40]
xor edx, edx
mov ecx, 0x8000
push eax
xor eax, eax
cmp ebx, 1
push edx
cmove eax, ecx
push edx
or eax, edi
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x42c3f5
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x28]
call fcn.004038cc
lea eax, [ebp + 0x28]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.00434576
pop ecx
pop ecx
lea ecx, [ebp + 0x28]
call fcn.004063d7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x144]
xor ecx, ebp
call fcn.00450e68
add ebp, 0x148
leave
ret
lea ecx, [ebp - 0xc8]
call fcn.00403bef
push dword [ebp - 0x10]
and dword [ebp - 4], 0
mov ecx, eax
push 0x4877d0
push ebx
push str.__mode
push edi
push fcn.004154d2
push str.SHGetFolderPath_0x
call fcn.00402c01
mov ecx, eax
call fcn.00414da8
mov ecx, eax
call fcn.00414162
mov ecx, eax
call fcn.00402c01
mov ecx, eax
call fcn.00414162
mov ecx, eax
call fcn.00402c01
push eax
lea ecx, [ebp - 0x30]
call fcn.0043a2b8
mov esi, eax
push 0x1e7
push str.SysInfo::SHGetFolderPathAdapter
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_SysInfo.cpp
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00403a94
push eax
lea eax, [ebp]
push esi
push eax
call fcn.0042c00e
add esp, 0xc
lea eax, [ebp]
push 0x4a9c78
push eax
call fcn.0045437c
int3
Function at 0x432012
Capabilities:
Get file version info

Disassembly:
push 0xe8
mov eax, 0x4802bd
call fcn.00450edb
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], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.00405607
lea edi, [esi + 0x18]
mov dword [ebp - 4], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
jb 0x43205b
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x432121
lea ecx, [ebp - 0x35]
push ecx
push eax
mov ecx, edi
call fcn.0041afd1
mov eax, dword [edi + 4]
mov ecx, esi
sub eax, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x432088
mov ecx, dword [esi]
push dword [edi]
push eax
push dword [ebp - 0x3c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x432117
push 0x487
push str.VersionResource::VersionResource
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x5c]
call fcn.00403a94
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push sub.VERSION.dll_GetFileVersionInfoA
push 0x48afbc
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.004038b0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call fcn.00403bef
mov byte [ebp - 4], 7
push str.GetFileVersionInfo_
mov ecx, eax
call fcn.00402c01
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00402de5
mov ecx, eax
call fcn.00402c01
push eax
lea ecx, [ebp - 0x50]
call fcn.0043ca54
mov byte [ebp - 4], 9
jmp 0x43219b
mov eax, esi
call fcn.00450e8a
ret 4
push 0x47e
push str.VersionResource::VersionResource
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x50]
call fcn.00403a94
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push sub.VERSION.dll_GetFileVersionInfoSizeA
push 0x48afbc
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.004038b0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.00403bef
mov byte [ebp - 4], 3
push str.GetFileVersionInfoSize_
mov ecx, eax
call fcn.00402c01
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00402de5
mov ecx, eax
call fcn.00402c01
push eax
lea ecx, [ebp - 0x5c]
call fcn.0043ca54
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041d5c0
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x4a7474
push eax
call fcn.0045437c
int3