joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a99e
Capabilities:
Check mutex on windows

Disassembly:
push 0xa0
mov eax, 0x44f178
call fcn.00428fd0
push str.Global_MSIExecute
xor ebx, ebx
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
mov byte [ebp - 0x10], 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
test esi, esi
je 0x40aa5e
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
cmp dword [ebp + 8], ebx
je 0x40aa56
push 1
call fcn.004109c7
mov ecx, eax
call fcn.00410cad
test al, al
je 0x40aa56
push 1
lea ecx, [ebp - 0xac]
call fcn.00402d17
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 1
push str.finish_waiting_for_mutex:
push eax
call fcn.00401fb6
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0xac]
call fcn.004037f4
lea eax, [ebp - 0xac]
push eax
push str.msi::waitForInstallationCompletion
push 0x180
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_MsiUtils.cpp
push 1
call fcn.004109c7
mov ecx, eax
call fcn.00406995
lea ecx, [ebp - 0xac]
call fcn.00403ad0
cmp edi, 0x102
je 0x40aa60
mov bl, 1
push esi
mov dword [ebp - 4], 3
call fcn.004173a0
pop ecx
mov al, bl
call fcn.00428f9e
ret
Function at 0x40b415
Capabilities:
Get file version info

Disassembly:
push 0xe8
mov eax, 0x44f2c4
call fcn.00429003
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x44], esi
call fcn.00402e02
xor eax, eax
lea edi, [esi + 0x18]
mov dword [ebp - 4], eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x3c], eax
mov eax, esi
mov byte [ebp - 4], 1
jb 0x40b456
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x40b51c
lea ecx, [ebp - 0x35]
push ecx
push eax
mov ecx, edi
call fcn.00406e0d
mov eax, dword [edi + 4]
mov ecx, esi
sub eax, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x40b483
mov ecx, dword [esi]
push dword [edi]
push eax
push dword [ebp - 0x3c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40b512
push 0x487
push str.VersionResource::VersionResource
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x5c]
call fcn.00403167
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push sub.VERSION.dll_GetFileVersionInfoA
push 0x456078
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.00402e02
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call fcn.004032a1
mov byte [ebp - 4], 7
push str.GetFileVersionInfo_
mov ecx, eax
call fcn.00401fa1
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00402185
mov ecx, eax
call fcn.00401fa1
push eax
lea ecx, [ebp - 0x50]
call fcn.00417663
mov byte [ebp - 4], 9
jmp 0x40b596
mov eax, esi
call fcn.00428fb2
ret 4
push 0x47e
push str.VersionResource::VersionResource
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_FileUtils.cpp
lea ecx, [ebp - 0x50]
call fcn.00403167
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push sub.VERSION.dll_GetFileVersionInfoSizeA
push 0x456078
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.00402e02
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.004032a1
mov byte [ebp - 4], 3
push str.GetFileVersionInfoSize_
mov ecx, eax
call fcn.00401fa1
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00402185
mov ecx, eax
call fcn.00401fa1
push eax
lea ecx, [ebp - 0x5c]
call fcn.00417663
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00406c57
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x46af98
push eax
call fcn.0042be4c
int3
Function at 0x40bb2e
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x40bb46
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne cl
xor ebx, ebx
mov byte [ebp + 0xb], cl
test eax, eax
je 0x40bbda
push ebx
call fcn.004109c7
mov ecx, eax
call fcn.00410cad
test al, al
je 0x40bbd7
push 1
lea ecx, [ebp - 0x9c]
call fcn.00402d17
lea eax, [ebp - 0x9c]
push str.Deleted__
push eax
call fcn.00401fb6
sub esp, 0x10
mov ecx, esp
push esi
call fcn.00402e02
lea ecx, [ebp - 0x9c]
call fcn.00402185
mov esi, eax
push str.__directory
push esi
call fcn.00401fb6
pop ecx
pop ecx
push esi
push str.FileUtils::deleteDirectory
push 0x2ab
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_FileUtils.cpp
push ebx
call fcn.004109c7
mov ecx, eax
call fcn.00406995
lea ecx, [ebp - 0x9c]
call fcn.00403ad0
mov cl, byte [ebp + 0xb]
test cl, cl
jne 0x40bbf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040c12e
add esp, 4
test al, al
je 0x40bbf3
mov bl, 1
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x40bbf9
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xbc]
push edi
push 0x45def0
call fcn.0040bde2
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, al
pop ecx
pop ecx
call ebp
test bl, bl
jne 0x40bdd3
xor ebx, ebx
cmp eax, 5
jne 0x40bdc4
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x40bc3e
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 5
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, 0xffffffff
jne 0x40bc5b
xor al, al
jmp 0x40bdd7
test bl, 1
je 0x40bdc2
and ebx, 0xfffffffe
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x40bc71
mov eax, dword [edi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call ebx
test eax, eax
je 0x40bd13
xor ebx, ebx
push ebx
call fcn.004109c7
mov ecx, eax
call fcn.00410cad
test al, al
je 0x40bcf9
push 1
lea ecx, [esp + 0x24]
call fcn.00402d17
lea eax, [esp + 0x20]
push str.Discarded_R_O_attribute_from__
push eax
call fcn.00401fb6
sub esp, 0x10
mov ecx, esp
push edi
call fcn.00402e02
lea ecx, [esp + 0x38]
call fcn.00402185
mov esi, eax
push str.__file
push esi
call fcn.00401fb6
pop ecx
pop ecx
push esi
push str.FileUtils::deleteFile
push 0x290
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_FileUtils.cpp
push ebx
call fcn.004109c7
mov ecx, eax
call fcn.00406995
lea ecx, [esp + 0x20]
call fcn.00403ad0
push edi
push 0x45def0
call fcn.0040bde2
pop ecx
pop ecx
test al, al
jne 0x40bdd3
jmp 0x40bdc4
push 2
call fcn.004109c7
mov ecx, eax
call fcn.00410cad
test al, al
je 0x40bdba
push 1
lea ecx, [esp + 0x24]
call fcn.00402d17
lea eax, [esp + 0x20]
push str.Failed_to_discard_R_O_attribute_from__
push eax
call fcn.00401fb6
sub esp, 0x10
mov ecx, esp
push edi
call fcn.00402e02
lea ecx, [esp + 0x38]
call fcn.00402185
mov esi, eax
push str.__file._File_will_not_be_deleted
push esi
call fcn.00401fb6
pop ecx
pop ecx
push str.System_error
call ebp
push eax
push ebx
push esi
lea ecx, [esp + 0x24]
call fcn.00417663
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push eax
push str.FileUtils::deleteFile
push 0x296
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_FileUtils.cpp
push 2
call fcn.004109c7
mov ecx, eax
call fcn.00405912
lea eax, [esp + 0x18]
mov dword [esp + 0x14], vtable.std::exception.0
push eax
call fcn.0042be2d
pop ecx
lea ecx, [esp + 0x20]
call fcn.00403ad0
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
call ebp
push eax
call fcn.0040c12e
add esp, 4
test al, al
je 0x40bdd5
mov bl, 1
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
Function at 0x40bde2
Capabilities:
Delete file

Disassembly:
push 0x98
mov eax, 0x44f366
call fcn.00428fd0
mov esi, dword [ebp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x40bdfe
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40bea0
push 0
call fcn.004109c7
mov ecx, eax
call fcn.00410cad
test al, al
je 0x40be9c
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0xc], esp
push esi
call fcn.00402e02
and dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
push 1
call fcn.00402d17
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 1
push str.Deleted__
push eax
call fcn.00401fb6
pop ecx
pop ecx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.00402185
mov esi, eax
push str.__file
push esi
call fcn.00401fb6
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_jdk8u421_1068_install_src_windows_common_FileUtils.cpp
push 0
call fcn.004109c7
mov ecx, eax
call fcn.00406995
lea ecx, [ebp - 0xa4]
call fcn.00403ad0
mov al, 1
jmp 0x40beaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040c12e
add esp, 4
call fcn.00428f9e
ret

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

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

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

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x40c120
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
ret
Function at 0x40d572
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x148]
sub esp, 0x148
push 0xffffffffffffffff
push 0x44f65b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x472224]
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.0042bc70
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 0x40d648
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x28]
call fcn.00402e5e
lea eax, [ebp + 0x28]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.0040c2cb
pop ecx
pop ecx
lea ecx, [ebp + 0x28]
call fcn.00404bf5
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.00428f90
add ebp, 0x148
leave
ret
lea ecx, [ebp - 0xc8]
call fcn.004032a1
push dword [ebp - 0x10]
and dword [ebp - 4], 0
mov ecx, eax
push 0x455b8c
push ebx
push str.__mode
push edi
push 0x40fbbd
push str.SHGetFolderPath_0x
call fcn.00401fa1
mov ecx, eax
call fcn.0040d269
mov ecx, eax
call fcn.00409497
mov ecx, eax
call fcn.00401fa1
mov ecx, eax
call fcn.00409497
mov ecx, eax
call fcn.00401fa1
push eax
lea ecx, [ebp - 0x30]
call fcn.00417fb4
mov esi, eax
push 0x1f5
push str.SysInfo::SHGetFolderPathAdapter
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_SysInfo.cpp
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00403167
push eax
lea eax, [ebp]
push esi
push eax
call fcn.0040ceb2
add esp, 0xc
lea eax, [ebp]
push 0x46c49c
push eax
call fcn.0042be4c
int3
Function at 0x40f86e
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x44f917
call fcn.00429003
mov eax, dword [ebp + 8]
mov edi, 0x104
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
call fcn.00428cfc
mov ebx, eax
mov dword [ebp - 0x40], ebx
lea esi, [ebx + 0x104]
push esi
push ebx
mov dword [ebp - 0x38], esi
call fcn.00406ed9
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 0x40f8e0
lea ecx, [ebp - 0x2d]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00406e0d
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.00402e5e
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.0040c2cb
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00404bf5
test edi, edi
je 0x40f936
sub esi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], esi
cmp esi, 0x1000
jb 0x40f92d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403de4
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
pop ecx
pop ecx
push esi
push edi
call fcn.00428d2c
pop ecx
pop ecx
mov eax, ebx
call fcn.00428fb2
ret

Function at 0x410006
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.0042bc70
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x24], 9
sete al
leave
ret
Function at 0x412936
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
and dword [esp + 4], 0
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0xc
push 0
push eax
xor ebp, ebp
lea edi, [esi + 0xc8]
inc ebp
push edi
lea ebx, [esi + 0xc4]
mov dword [esp + 0x24], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x4124d2
mov eax, dword [edi]
or dword [esi + 0x9c], 0x100
push 0
push ebp
push dword [ebx]
mov dword [esi + 0xb0], eax
mov dword [esi + 0xac], eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
xor ebx, ebx
inc ebx
push ebx
mov dword [esi + 0x50], ebx
call fcn.004109c7
mov ecx, eax
call fcn.00410cad
test al, al
je 0x4124ce
push str.Create_pipe_SUCCESS
push str.Executor::createPipe
push 0xe8
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_Executor.cpp
push ebx
call fcn.004109c7
mov ecx, eax
call fcn.00405912
mov al, bl
jmp 0x412506
push ebp
call fcn.004109c7
mov ecx, eax
call fcn.00410cad
test al, al
je 0x412504
push str.Create_pipe_FAILURE
push str.Executor::createPipe
push 0xeb
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_Executor.cpp
push ebp
call fcn.004109c7
mov ecx, eax
call fcn.00405912
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push esi
push edi
mov edi, ecx
push 0x44
push 0
lea esi, [edi + 0x70]
push esi
call fcn.0042bc70
push 0x10
lea eax, [edi + 0x60]
mov dword [esi], 0x44
push 0
push eax
call fcn.0042bc70
add esp, 0x18
cmp dword [edi + 0xb4], 1
jne 0x41297d
or dword [edi + 0x9c], 1
xor eax, eax
mov word [edi + 0xa0], ax
mov dword [edi + 0x54], 0x8000000
cmp byte [edi + 0xc1], 0
je 0x41298f
mov ecx, edi
pop edi
pop esi
jmp 0x412438
pop edi
pop esi
ret
Function at 0x412a76
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x450176
call fcn.00429003
mov esi, ecx
xor ebx, ebx
lea edi, [esi + 0x30]
inc ebx
push ebx
call fcn.004109c7
mov ecx, eax
call fcn.00410cad
test al, al
je 0x412ada
push edi
lea eax, [ebp - 0x28]
push str.Executor.exec__:
push eax
call fcn.004021dc
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_jdk8u421_1068_install_src_windows_common_Executor.cpp
push ebx
call fcn.004109c7
mov ecx, eax
call fcn.00410cb9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404bf5
mov ecx, esi
call fcn.00412936
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x412aeb
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
add eax, ecx
cmp dword [edi + 0x14], 0x10
jb 0x412af8
mov edi, dword [edi]
lea ecx, [ebp - 0x29]
push ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040aa82
lea eax, [ebp - 0x29]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x29], 0
call fcn.0040ace7
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x412b23
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.00406b6c
mov al, bl
call fcn.00428fb2
ret
Function at 0x416479
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x450ba2
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x472224]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x78]
sub esp, 0x18
mov eax, dword [ebp + 0x7c]
mov ecx, esp
mov dword [ebp + 8], edi
mov dword [ebp + 8], esp
push eax
call fcn.00402e02
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc4]
push 1
call fcn.00402d17
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 1
push str.SELECT_Value_FROM_Property_WHERE_Property__
push eax
call fcn.00401fb6
pop ecx
pop ecx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.00402185
mov esi, eax
push 0x456458
push esi
call fcn.00401fb6
pop ecx
pop ecx
lea eax, [ebp + 0x54]
push eax
lea ecx, [esi + 4]
call fcn.00405ecf
lea ecx, [ebp - 0xc4]
call fcn.00403ad0
xor esi, esi
mov dword [ebp + 8], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp + 0x54]
push eax
push ebx
lea ecx, [ebp + 0x34]
call fcn.00415fa3
mov byte [ebp - 4], 8
cmp dword [ebp + 8], esi
je 0x41654e
push dword [ebp + 8]
call fcn.0040a00d
pop ecx
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp + 4]
mov dword [ebp + 4], esi
call fcn.0041625b
lea ecx, [ebp + 4]
mov byte [ebp - 4], 9
call fcn.00416366
cmp eax, 1
jne 0x4165c0
push eax
push edi
lea ecx, [ebp + 4]
call fcn.0040a4ab
cmp dword [ebp + 4], 0
mov byte [ebp - 4], 0x10
je 0x41658f
push dword [ebp + 4]
call fcn.0040a00d
pop ecx
lea ecx, [ebp + 0x34]
call fcn.004161b6
lea ecx, [ebp + 0x54]
call fcn.00404bf5
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.00428f90
add ebp, 0x70
leave
ret 8
push 0x48
push str.msi::Database::getProperty
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_MsiDb.cpp
lea ecx, [ebp - 0x1c]
call fcn.00403167
push eax
push esi
push str.__returned_unexpected_value
sub esp, 0x18
lea eax, [ebp + 0x54]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.00402e02
push 0x4562dc
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x10], esp
push ebx
call fcn.00402e02
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0xb
call fcn.004032a1
mov byte [ebp - 4], 0xc
push str.record.getFieldCount_
mov ecx, eax
call fcn.00401fa1
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00402185
mov ecx, eax
call fcn.00401fa1
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00402185
mov ecx, eax
call fcn.00401fa1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409c03
push eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xf
push eax
call fcn.00409a0d
add esp, 0xc
lea eax, [ebp + 0xc]
push 0x46b9f4
push eax
call fcn.0042be4c
int3
Function at 0x416d8a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0xac
push 0xffffffffffffffff
push 0x450dd7
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x472224]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
mov esi, dword [ebp + 0xb4]
lea ecx, [ebp + 0x78]
mov ebx, dword [ebp + 0xb8]
mov eax, dword [ebp + 0xbc]
mov dword [ebp - 0x18], esi
push ebx
mov dword [ebp - 0x18], eax
call fcn.004167fc
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x88], eax
je 0x416e2a
push eax
lea eax, [ebp + 0x78]
push eax
push edi
lea ecx, [ebp + 0x3c]
call fcn.00416870
push dword [ebp - 0x18]
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 1
push ecx
push esi
mov ecx, eax
call fcn.00416d8a
lea ecx, [ebp + 0x3c]
call fcn.004169e6
jmp 0x416ec1
mov ecx, eax
mov dword [ebp - 0x1c], eax
mov edx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 2
mov eax, edx
sub eax, ecx
cmp ecx, edx
mov dword [ebp - 0x14], eax
sete byte [ebp - 0xd]
xor eax, eax
cmp ecx, edx
cmove ecx, eax
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x416e59
mov eax, dword [ebx]
lea edx, [ebp - 0x14]
push edx
push ecx
push dword [ebp - 0x18]
push 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x14]
mov edi, eax
cmp edi, 0xea
je 0x416e87
cmp byte [ebp - 0xd], 0
je 0x416e9f
test edi, edi
jne 0x416efb
test ecx, ecx
je 0x416ea3
lea eax, [ebp - 0xd]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00406e0d
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
jmp 0x416e3b
test edi, edi
jne 0x416efb
lea eax, [ebp - 0xd]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00406e0d
mov eax, dword [ebp - 0x24]
mov dword [esi], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 8], eax
lea ecx, [ebp + 0x90]
call fcn.00404bf5
lea ecx, [ebp + 0x78]
call fcn.00404bf5
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 + 0xa8]
xor ecx, ebp
call fcn.00428f90
add ebp, 0xac
leave
ret 0xc
push str.query_value
lea ecx, [ebp + 0x60]
call fcn.00402e5e
lea ecx, [ebp]
call fcn.0040305d
mov ecx, dword [ebp - 0x28]
push eax
push ebx
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.00416b4f
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.0040d183
push str.System_error
push edi
push dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x38]
call fcn.00417663
mov esi, eax
push 0x12b
push str.Registry::getValue
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00403167
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.00406c57
add esp, 0xc
lea eax, [ebp + 0x18]
push 0x46af98
push eax
call fcn.0042be4c
int3