joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405020
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42df8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x402ed8
call fcn.00405630
push 4
mov dword [esp + 0x18], 0
call fcn.00406030
mov edi, eax
add esp, 4
test edi, edi
je 0x405094
push ebx
call fcn.0040580e
mov dword [edi], eax
call fcn.004056d7
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00405515
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405088
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040553d
pop ebx
jmp 0x405096
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40671b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430cf0]
jne 0x406725
repz ret
jmp fcn.0040b1dc
Function at 0x40e7e9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407755
and dword [ebp - 4], 0
cmp dword [0x4328c4], 0
mov ebx, eax
jne 0x40e89a
push 0x402bc4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e94b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402bb8
push edi
call esi
test eax, eax
je 0x40e94b
push eax
call fcn.004076e3
mov dword [esp], 0x402ba8
push edi
mov dword [0x4328c4], eax
call esi
push eax
call fcn.004076e3
mov dword [esp], 0x402b94
push edi
mov dword [0x4328c8], eax
call esi
push eax
call fcn.004076e3
mov dword [esp], 0x402b78
push edi
mov dword [0x4328cc], eax
call esi
push eax
call fcn.004076e3
pop ecx
mov dword [0x4328d4], eax
test eax, eax
je 0x40e89a
push 0x402b60
push edi
call esi
push eax
call fcn.004076e3
pop ecx
mov dword [0x4328d0], eax
mov eax, dword [0x4328d0]
cmp eax, ebx
je 0x40e8f2
cmp dword [0x4328d4], ebx
je 0x40e8f2
push eax
call fcn.0040775e
push dword [0x4328d4]
mov esi, eax
call fcn.0040775e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e8f2
test edi, edi
je 0x40e8f2
call esi
test eax, eax
je 0x40e8e9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e8e9
test byte [ebp - 0xc], 1
jne 0x40e8f2
or dword [ebp + 0x10], 0x200000
jmp 0x40e92b
mov eax, dword [0x4328c8]
cmp eax, ebx
je 0x40e92b
push eax
call fcn.0040775e
pop ecx
test eax, eax
je 0x40e92b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e92b
mov eax, dword [0x4328cc]
cmp eax, ebx
je 0x40e92b
push eax
call fcn.0040775e
pop ecx
test eax, eax
je 0x40e92b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4328c4]
call fcn.0040775e
pop ecx
test eax, eax
je 0x40e94b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e94d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40bd2c
Capabilities:
Check mutex on windows

Disassembly:
push 0xa0
mov eax, 0x44eab5
call fcn.00429ef0
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 0x40bdec
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
cmp dword [ebp + 8], ebx
je 0x40bde4
push 1
call fcn.00411ac3
mov ecx, eax
call fcn.00411cf3
test al, al
je 0x40bde4
push 1
lea ecx, [ebp - 0xac]
call fcn.00403356
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 1
push str.finish_waiting_for_mutex:
push eax
call fcn.00402686
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0xac]
call fcn.00403de5
lea eax, [ebp - 0xac]
push eax
push str.msi::waitForInstallationCompletion
push 0x1c8
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_MsiUtils.cpp
push 1
call fcn.00411ac3
mov ecx, eax
call fcn.0040717d
lea ecx, [ebp - 0xac]
call fcn.004040c1
cmp edi, 0x102
je 0x40bdee
mov bl, 1
push esi
mov dword [ebp - 4], 3
call fcn.00417df8
pop ecx
mov al, bl
call fcn.00429ebe
ret
Function at 0x40c7bc
Capabilities:
Get file version info

Disassembly:
push 0xe8
mov eax, 0x44ec01
call fcn.00429f23
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.004044a1
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 0x40c805
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x40c8cb
lea ecx, [ebp - 0x35]
push ecx
push eax
mov ecx, edi
call fcn.0040760c
mov eax, dword [edi + 4]
mov ecx, esi
sub eax, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x40c832
mov ecx, dword [esi]
push dword [edi]
push eax
push dword [ebp - 0x3c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40c8c1
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.0040371a
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push sub.VERSION.dll_GetFileVersionInfoA
push 0x455058
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.0040341d
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call fcn.0040385e
mov byte [ebp - 4], 7
push str.GetFileVersionInfo_
mov ecx, eax
call fcn.00402671
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00402855
mov ecx, eax
call fcn.00402671
push eax
lea ecx, [ebp - 0x50]
call fcn.004180bb
mov byte [ebp - 4], 9
jmp 0x40c945
mov eax, esi
call fcn.00429ed2
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.0040371a
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push sub.VERSION.dll_GetFileVersionInfoSizeA
push 0x455058
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push esi
call fcn.0040341d
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.0040385e
mov byte [ebp - 4], 3
push str.GetFileVersionInfoSize_
mov ecx, eax
call fcn.00402671
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00402855
mov ecx, eax
call fcn.00402671
push eax
lea ecx, [ebp - 0x5c]
call fcn.004180bb
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040744d
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x469ec8
push eax
call fcn.0042ccac
int3
Function at 0x40ca93
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4711b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x40caea
cmp byte [esi + 0x3d], bl
je 0x40caea
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40cb23
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x40cafb
sub eax, 1
je 0x40cafe
dec eax
sub eax, 1
jne 0x40cb23
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429eb0
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40cb1b
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00432327
add esp, 0x10
cmp edi, eax
jne 0x40cb23
cmp byte [esi + 0x3d], bl
sete al
jmp 0x40caec
xor al, al
jmp 0x40caec

Function at 0x40cfbf
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 0x40cfd9
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 0x40d0b3
push ebx
call fcn.00411ac3
mov ecx, eax
call fcn.00411cf3
test al, al
je 0x40d0b0
push esi
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
call fcn.004044a1
push 1
lea ecx, [ebp - 0x48]
call fcn.00403356
lea eax, [ebp - 0x48]
push str.Deleted__
push eax
call fcn.00402686
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00402640
mov eax, dword [ebp + 0x64]
add esp, 0x10
cmp eax, 0x10
jb 0x40d078
mov ecx, dword [ebp + 0x50]
inc eax
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x68], ecx
cmp eax, 0x1000
jb 0x40d06f
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004043d5
mov eax, dword [ebp + 0x6c]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x68]
push eax
push ecx
call fcn.00429c4c
pop ecx
pop ecx
lea eax, [ebp - 0x48]
push str.__directory
push eax
call fcn.00402686
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.00411ac3
mov ecx, eax
call fcn.0040717d
lea ecx, [ebp - 0x48]
call fcn.004040c1
mov cl, byte [ebp + 0x7b]
test cl, cl
jne 0x40d0ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040d6ef
add esp, 4
test al, al
je 0x40d0cc
mov bl, 1
pop esi
mov al, bl
pop ebx
add ebp, 0x70
leave
ret
Function at 0x40d34a
Capabilities:
Delete file

Disassembly:
push 0x98
mov eax, 0x44eca3
call fcn.00429ef0
mov esi, dword [ebp + 0xc]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x40d366
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40d413
xor edi, edi
push edi
call fcn.00411ac3
mov ecx, eax
call fcn.00411cf3
test al, al
je 0x40d40f
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.004044a1
push 1
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], edi
call fcn.00403356
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 1
push str.Deleted__
push eax
call fcn.00402686
pop ecx
pop ecx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.00402855
mov esi, eax
push str.__file
push esi
call fcn.00402686
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.00411ac3
mov ecx, eax
call fcn.0040717d
lea ecx, [ebp - 0xa4]
call fcn.004040c1
mov al, 1
jmp 0x40d422
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040d6ef
add esp, 4
call fcn.00429ebe
ret

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

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

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

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 0x10
jb 0x40d6e1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
ret
Function at 0x40d703
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x4711b0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x40d728
xor eax, eax
jmp 0x40d7f8
mov eax, dword [esi + 0x20]
push ebp
mov ecx, dword [eax]
test ecx, ecx
je 0x40d756
mov edx, dword [esi + 0x30]
mov ebp, dword [edx]
lea eax, [ecx + ebp]
cmp ecx, eax
jae 0x40d756
lea ecx, [ebp - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x40d7f7
cmp dword [esi + 0x4c], 0
je 0x40d7f5
mov ecx, esi
call fcn.0040cc42
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x40d782
push dword [esi + 0x4c]
push eax
call fcn.0040c149
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x40d7f5
mov byte [esp + 0x10], al
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x40d7c6
sub eax, 1
je 0x40d7c6
dec eax
sub eax, 1
jne 0x40d7f5
push dword [esi + 0x4c]
push dword [esp + 0x14]
jmp 0x40d774
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x1c]
sub ebp, eax
je 0x40d7e5
push dword [esi + 0x4c]
push ebp
push 1
push eax
call fcn.00432327
add esp, 0x10
cmp ebp, eax
jne 0x40d7f5
lea eax, [esp + 0x10]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x18], eax
mov eax, ebx
jne 0x40d7f7
mov eax, edi
pop ebp
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00429eb0
add esp, 0x30
ret 4
Function at 0x40dd49
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
test ebp, ebp
jg 0x40dd6e
jl 0x40dd65
test ebx, ebx
jne 0x40dd6e
xor eax, eax
xor edx, edx
jmp 0x40de33
cmp dword [esi + 0x38], 0
je 0x40dd84
push ebp
push ebx
push dword [esp + 0x1c]
call fcn.0040675c
jmp 0x40de33
mov eax, dword [esi + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x40ddca
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x40ddca
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x18]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.004054f5
mov ecx, dword [esp + 0x1c]
add edi, esi
mov dword [esp + 0x24], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x40ddd2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x4c], 0
je 0x40de29
mov ecx, esi
call fcn.0040cc42
mov ecx, dword [esp + 0x18]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x40de14
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.00431cbb
mov ecx, dword [esp + 0x28]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x18], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x40de29
jmp 0x40dde5
test edx, edx
je 0x40de29
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.00431cbb
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb ebp, 0
mov edx, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x40de3a
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x40de5c
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.00406849
jmp 0x40df2e
mov eax, dword [ebx + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x40de89
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40de8f
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
mov dword [esp + 0x2c], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x40def7
jg 0x40dea6
test esi, esi
je 0x40def7
test ecx, ecx
jl 0x40def1
jg 0x40deb0
test eax, eax
je 0x40def1
cmp edi, ecx
jg 0x40dec4
jl 0x40deba
cmp esi, eax
jae 0x40dec4
mov eax, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x28]
push eax
push ebp
push dword [esp + 0x20]
call fcn.004054f5
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
add ebp, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x40defb
mov ebp, dword [esp + 0x28]
jmp 0x40df05
mov ebp, dword [esp + 0x28]
test edi, edi
jl 0x40df1f
jg 0x40df05
test esi, esi
je 0x40df1f
cmp dword [ebx + 0x4c], 0
je 0x40df1f
push dword [ebx + 0x4c]
push esi
push 1
push ebp
call fcn.00432327
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x40ec47
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x148]
sub esp, 0x148
push 0xffffffffffffffff
push 0x44efcc
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4711b0]
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.0042cad0
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 0x40ed1d
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x28]
call fcn.00403439
lea eax, [ebp + 0x28]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.0040d890
pop ecx
pop ecx
lea ecx, [ebp + 0x28]
call fcn.0040529d
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.00429eb0
add ebp, 0x148
leave
ret
lea ecx, [ebp - 0xc8]
call fcn.0040385e
push dword [ebp - 0x10]
and dword [ebp - 4], 0
mov ecx, eax
push 0x454b8c
push ebx
push str.__mode
push edi
push 0x4111b7
push str.SHGetFolderPath_0x
call fcn.00402671
mov ecx, eax
call fcn.0040e93e
mov ecx, eax
call fcn.00409fb1
mov ecx, eax
call fcn.00402671
mov ecx, eax
call fcn.00409fb1
mov ecx, eax
call fcn.00402671
push eax
lea ecx, [ebp - 0x30]
call fcn.004189ee
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.0040371a
push eax
lea eax, [ebp]
push esi
push eax
call fcn.0040e57d
add esp, 0xc
lea eax, [ebp]
push 0x46b5d8
push eax
call fcn.0042ccac
int3
Function at 0x410e6a
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x44f233
call fcn.00429f23
mov eax, dword [ebp + 8]
mov edi, 0x104
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
call fcn.00429c1c
mov ebx, eax
mov dword [ebp - 0x40], ebx
lea esi, [ebx + 0x104]
push esi
push ebx
mov dword [ebp - 0x38], esi
call fcn.004076d8
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 0x410edc
lea ecx, [ebp - 0x2d]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0040760c
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.00403439
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.0040d890
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0040529d
test edi, edi
je 0x410f32
sub esi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], esi
cmp esi, 0x1000
jb 0x410f29
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004043d5
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
pop ecx
pop ecx
push esi
push edi
call fcn.00429c4c
pop ecx
pop ecx
mov eax, ebx
call fcn.00429ed2
ret

Function at 0x4115b2
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.0042cad0
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 0x413bd2
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 0x41376e
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.00411ac3
mov ecx, eax
call fcn.00411cf3
test al, al
je 0x41376a
push str.Create_pipe_SUCCESS
push str.Executor::createPipe
push 0xe8
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.00411ac3
mov ecx, eax
call fcn.0040600c
mov al, bl
jmp 0x4137a2
push ebp
call fcn.00411ac3
mov ecx, eax
call fcn.00411cf3
test al, al
je 0x4137a0
push str.Create_pipe_FAILURE
push str.Executor::createPipe
push 0xeb
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_Executor.cpp
push ebp
call fcn.00411ac3
mov ecx, eax
call fcn.0040600c
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.0042cad0
push 0x10
lea eax, [edi + 0x60]
mov dword [esi], 0x44
push 0
push eax
call fcn.0042cad0
add esp, 0x18
cmp dword [edi + 0xb4], 1
jne 0x413c19
or dword [edi + 0x9c], 1
xor eax, eax
mov word [edi + 0xa0], ax
mov dword [edi + 0x54], 0x8000000
cmp byte [edi + 0xc1], 0
je 0x413c2b
mov ecx, edi
pop edi
pop esi
jmp 0x4136d4
pop edi
pop esi
ret
Function at 0x413d52
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x44fa0a
call fcn.00429f23
mov esi, ecx
xor ebx, ebx
lea edi, [esi + 0x30]
inc ebx
push ebx
call fcn.00411ac3
mov ecx, eax
call fcn.00411cf3
test al, al
je 0x413db6
push edi
lea eax, [ebp - 0x28]
push str.Executor.exec__:
push eax
call fcn.004028bb
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.00411ac3
mov ecx, eax
call fcn.00411cff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040529d
mov ecx, esi
call fcn.00413bd2
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x413dc7
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
add eax, ecx
cmp dword [edi + 0x14], 0x10
jb 0x413dd4
mov edi, dword [edi]
lea ecx, [ebp - 0x29]
push ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040be10
lea eax, [ebp - 0x29]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x29], 0
call fcn.0040c46c
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x413dff
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.00407362
mov al, bl
call fcn.00429ed2
ret