joyce8/EMBER2024-capa huggingface dataset:
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.00474cc0
push 0xffffffffffffffff
push 0x13
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0042ac71
lea ecx, [ebp - 0xf8]
mov esi, eax
call fcn.00474cc0
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.00474cc0
mov esi, eax
push 0x2eb
push str.HttpConnection::Response::readContent
push str.c:_jenkins_workspace_8_2_build_windows_i586_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.00474cc0
add esp, 0xc
lea eax, [ebp - 0x54]
push 0x4a9688
push eax
call fcn.00474cc0
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_i586_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_i586_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_i586_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.00474cc0
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x4a74f4
push eax
call fcn.00474cc0
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_i586_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.00474cc0
add esp, 0xc
lea eax, [ebp]
push 0x4a9cf8
push eax
call fcn.00474cc0
int3
Function at 0x42cce9
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x47f7d2
call fcn.00450edb
mov eax, dword [ebp + 8]
mov edi, 0x104
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
call fcn.00474cc0
mov ebx, eax
mov dword [ebp - 0x40], ebx
lea esi, [ebx + 0x104]
push esi
push ebx
mov dword [ebp - 0x38], esi
call fcn.004119fb
add esp, 0xc
mov dword [ebp - 0x3c], esi
and dword [ebp - 4], 0
push ebx
push edi
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov edi, ebx
cmp eax, 0x104
jbe 0x42cd5b
lea ecx, [ebp - 0x2d]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0041afd1
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
sub eax, ebx
push ebx
push eax
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov esi, dword [ebp - 0x38]
mov edi, ebx
push ebx
lea ecx, [ebp - 0x28]
call fcn.004038cc
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.00434576
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.004063d7
test edi, edi
je 0x42cdb1
sub esi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], esi
cmp esi, 0x1000
jb 0x42cda8
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004055a1
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
pop ecx
pop ecx
push esi
push edi
call fcn.00474cc0
pop ecx
pop ecx
mov eax, ebx
call fcn.00450e8a
ret
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_i586_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 0x48afe0
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_i586_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 0x48afe0
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.00474cc0
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x4a74f4
push eax
call fcn.00474cc0
int3
Function at 0x4326b8
Capabilities:
Create directory

Disassembly:
push 0xe8
mov eax, 0x4803be
call fcn.00450edb
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
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 0x4327b8
xor ebx, ebx
push ebx
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x43278f
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00405607
push 1
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 1
call fcn.004037e9
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 2
push str.Created__
push eax
call fcn.00402c16
pop ecx
pop ecx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 3
call fcn.00402de5
mov esi, eax
push str.__directory
push esi
call fcn.00402c16
pop ecx
pop ecx
push esi
push str.FileUtils::_anonymous_namespace::createDir
push 0x1e8
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_FileUtils.cpp
push ebx
call fcn.00425c61
mov ecx, eax
call fcn.0040718f
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], bl
call fcn.00474cc0
test edi, edi
je 0x4327d2
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00434576
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00414696
lea ecx, [ebp - 0x28]
call fcn.004063d7
jmp 0x4327d2
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
test esi, esi
jne 0x4327e0
lea eax, [ebp + 8]
push eax
call fcn.00433d33
pop ecx
test al, al
je 0x4327e0
lea ecx, [ebp + 8]
call fcn.004063d7
call fcn.00450e8a
ret
push 0x1f1
push str.FileUtils::_anonymous_namespace::createDir
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x5c]
call fcn.00403a94
push eax
push str.System_error
push edi
push ebx
push 0x48afe0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.004038b0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 5
call fcn.00403bef
mov byte [ebp - 4], 6
push str.CreateDirectory_
mov ecx, eax
call fcn.00402c01
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00402de5
mov ecx, eax
call fcn.00402c01
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043ca54
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 8
push eax
call fcn.00474cc0
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x4a74f4
push eax
call fcn.00474cc0
int3
Function at 0x432f44
Capabilities:
Delete directory

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb8
push ebx
push esi
mov esi, dword [ebp + 0x78]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x432f5e
mov eax, dword [esi]
push eax
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
test eax, eax
setne cl
xor ebx, ebx
mov byte [ebp + 0x7b], cl
test eax, eax
je 0x433038
push ebx
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x433035
push esi
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
call fcn.00405607
push 1
lea ecx, [ebp - 0x48]
call fcn.004037e9
lea eax, [ebp - 0x48]
push str.Deleted__
push eax
call fcn.00402c16
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00402bd0
mov eax, dword [ebp + 0x64]
add esp, 0x10
cmp eax, 0x10
jb 0x432ffd
mov ecx, dword [ebp + 0x50]
inc eax
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x432ff4
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004055a1
mov eax, dword [ebp + 0x6c]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.00474cc0
pop ecx
pop ecx
lea eax, [ebp - 0x48]
push str.__directory
push eax
call fcn.00402c16
pop ecx
pop ecx
lea eax, [ebp - 0x48]
push eax
push str.FileUtils::deleteDirectory
push 0x2ab
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_FileUtils.cpp
push ebx
call fcn.00425c61
mov ecx, eax
call fcn.0040718f
lea ecx, [ebp - 0x48]
call fcn.00474cc0
mov cl, byte [ebp + 0x7b]
test cl, cl
jne 0x43304f
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.0043447f
add esp, 4
test al, al
je 0x433051
mov bl, 1
pop esi
mov al, bl
pop ebx
add ebp, 0x70
leave
ret
Function at 0x4334a0
Capabilities:
Delete file

Disassembly:
push 0x98
mov eax, 0x4805a8
call fcn.00450ea8
mov esi, dword [ebp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4334bc
mov eax, dword [esi]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
je 0x433569
xor edi, edi
push edi
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x433565
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0xc], esp
push esi
mov dword [ecx], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.00405607
push 1
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], edi
call fcn.004037e9
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 1
push str.Deleted__
push eax
call fcn.00402c16
pop ecx
pop ecx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.00402de5
mov esi, eax
push str.__file
push esi
call fcn.00402c16
pop ecx
pop ecx
push esi
push str.FileUtils::_anonymous_namespace::deleteFileImpl
push 0x278
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_FileUtils.cpp
push edi
call fcn.00425c61
mov ecx, eax
call fcn.0040718f
lea ecx, [ebp - 0xa4]
call fcn.00474cc0
mov al, 1
jmp 0x433578
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.0043447f
add esp, 4
call fcn.00450e76
ret

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

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x433d3f
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x433d52
test al, 0x10
je 0x433d52
mov al, 1
ret
xor al, al
ret

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

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x433d61
mov eax, dword [eax]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
ret
Function at 0x434818
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x10c
mov eax, 0x4809a4
call fcn.00450edb
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
call fcn.00434761
mov ebx, eax
test ebx, ebx
je 0x434905
mov edi, dword [sym.imp.kernel32.dll_LoadResource]
push ebx
push dword [esi + 0x38]
call edi
test eax, eax
jne 0x4348bb
push str.cannot_load_resource
lea ecx, [ebp - 0x28]
call fcn.004038cc
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.0043477f
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.00427e9c
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x80]
call fcn.0043ca54
mov esi, eax
push 0x46
push str.Resource::getPtr
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_Resources.cpp
jmp 0x43496f
push eax
call dword [sym.imp.kernel32.dll_LockResource]
cmp dword [esi + 0x34], 6
mov edi, eax
jne 0x4348ec
mov edx, dword [esi + 0x18]
mov ecx, edi
and edx, 0xf
jbe 0x4348e2
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub edx, 1
jne 0x4348d4
movzx eax, word [ecx]
lea edi, [ecx + 2]
add eax, eax
jmp 0x4348f6
push ebx
push dword [esi + 0x38]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov eax, edi
call fcn.00450e8a
ret 4
push str.cannot_find_resource
lea ecx, [ebp - 0x28]
call fcn.004038cc
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.0043477f
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.00427e9c
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 - 0x118]
push eax
lea ecx, [ebp - 0x74]
call fcn.0043ca54
mov esi, eax
push 0x41
push str.Resource::getPtr
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_Resources.cpp
call fcn.00403a94
push eax
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.00474cc0
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x4a74f4
push eax
call fcn.00474cc0
int3
Function at 0x4362d7
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x480e48
call fcn.00450edb
mov esi, ecx
xor ebx, ebx
lea edi, [esi + 0x30]
inc ebx
push ebx
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x43633b
push edi
lea eax, [ebp - 0x28]
push str.Executor.exec__:
push eax
call fcn.00474cc0
add esp, 0xc
and dword [ebp - 4], 0
push eax
push str.Executor::startExecution
push 0x93
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_Executor.cpp
push ebx
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004063d7
mov ecx, esi
call fcn.00436157
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x43634c
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
add eax, ecx
cmp dword [edi + 0x14], 0x10
jb 0x436359
mov edi, dword [edi]
lea ecx, [ebp - 0x29]
push ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00474cc0
lea eax, [ebp - 0x29]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x29], 0
call fcn.004129e1
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x436384
mov ecx, dword [esi]
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x70]
push eax
push dword [esi + 0x5c]
push dword [esi + 0x58]
push dword [esi + 0x54]
push dword [esi + 0x50]
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [ebp - 0x1c]
push ecx
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
lea ecx, [ebp - 0x1c]
setne bl
call fcn.0040d26e
mov al, bl
call fcn.00450e8a
ret

Function at 0x439241
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x48159c
call fcn.00450ea8
mov ebx, ecx
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push 0
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x4392c4
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov ecx, edi
lea eax, [ebp - 0x20]
push eax
call fcn.00474cc0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4392c0
mov eax, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x4392b7
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004055a1
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.00474cc0
pop ecx
pop ecx
mov eax, esi
jmp 0x4392e9
lea eax, [ebp + 0xf]
push eax
push dword [ebp - 0x10]
lea ecx, [edi + 4]
call fcn.0041afd1
lea eax, [ebp - 0x10]
push eax
push dword [edi + 4]
push edi
push 0
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call fcn.00450e76
ret 8
Function at 0x4396e5
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x481611
call fcn.00450ea8
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.kernel32.dll_GetThreadLocale]
push eax
push esi
call fcn.00474cc0
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
push esi
call fcn.00474cc0
pop ecx
pop ecx
call dword [sym.imp.kernel32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
push ecx
push esi
call fcn.00474cc0
push 0x409
push esi
call fcn.00474cc0
add esp, 0x10
mov eax, esi
call fcn.00450e76
ret