joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10f2a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10f2a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10f2a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f2a06a
add dl, dl
jne 0x10f2a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f2a0dc
xor eax, eax
add dl, dl
jne 0x10f2a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f2a17d
add dl, dl
jne 0x10f2a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f2a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f2a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f2a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10f2a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10f2a075
mov eax, 1
add dl, dl
jne 0x10f2a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f2a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f2a0e1
sub eax, ebx
mov ebx, 1
jne 0x10f2a128
mov ecx, 1
add dl, dl
jne 0x10f2a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10f2a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f2a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f2a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10f2a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10f2a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f2a136
cmp eax, 0x7d00
jae 0x10f2a16d
cmp eax, 0x500
jb 0x10f2a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f2a075
cmp eax, 0x7f
ja 0x10f2a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f2a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10f2a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10f2a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x406cdf
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440f6e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x459624]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
push str.Global_MSIExecute
xor esi, esi
push esi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 1
mov dword [esp + 0xc0], esi
cmp eax, esi
je 0x406df0
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x10], eax
cmp dword [ebp + 8], esi
je 0x406dba
cmp dword [0x45cc10], 1
jg 0x406dba
lea eax, [esp + 0x1c]
push eax
call fcn.0040212a
lea eax, [esp + 0x1c]
push str.finish_waiting_for_mutex:
push eax
mov byte [esp + 0xc8], 1
call fcn.00404dad
pop ecx
pop ecx
push dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
call fcn.00403a24
lea eax, [esp + 0x1c]
push eax
push 0x1c8
push 1
mov ebx, str.msi::waitForInstallationCompletion
mov edi, str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_MsiUtils.cpp
mov esi, 0x45cc10
call fcn.004052e9
lea eax, [esp + 0x1c]
mov byte [esp + 0xc0], 0
call fcn.00401590
cmp dword [esp + 0x10], 0x102
jne 0x406df0
xor bl, bl
or dword [esp + 0xc0], 0xffffffff
push dword [esp + 0x14]
call fcn.004147f3
pop ecx
mov al, bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x406dc6

Function at 0x4080c0
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.004274e0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
cmp word [ebp - 0x24], 9
sete al
leave
ret

Function at 0x40833d
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x43e05f
call fcn.0042be9d
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x30], eax
mov esi, 0x104
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.0040791c
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
sub edi, esi
push edi
call ebx
cmp eax, edi
jbe 0x408399
mov esi, eax
lea eax, [ebp - 0x40]
call fcn.0040791c
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
push esi
sub eax, esi
push eax
call ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401d77
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004092ec
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402a4b
test esi, esi
je 0x4083c8
push esi
call fcn.00425455
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.0042bf20
ret
Function at 0x40860d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440f2a
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x459624]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x459624]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor esi, esi
push 0x104
lea eax, [esp + 0x118]
push esi
push eax
mov edi, ecx
mov dword [esp + 0x2c], esi
call fcn.004274e0
add esp, 0xc
lea eax, [esp + 0x114]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ebx, eax
cmp ebx, esi
je 0x408759
lea eax, [esp + 0x34]
push eax
call fcn.0040212a
lea eax, [esp + 0x34]
push str.SHGetFolderPath_0x
push eax
mov dword [esp + 0x238], esi
call fcn.00404dad
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
pop ecx
lea eax, [esp + eax + 0x38]
pop ecx
mov ecx, dword [eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [eax + 0x14], ecx
push 0x23
lea eax, [esp + 0x38]
push eax
call fcn.00407817
lea eax, [esp + 0x34]
push str.__mode
push eax
call fcn.00404dad
pop ecx
pop ecx
push 1
lea eax, [esp + 0x38]
push eax
call fcn.00407817
lea eax, [esp + 0x34]
push 0x44783c
push eax
call fcn.00404dad
pop ecx
pop ecx
lea eax, [esp + 0x34]
push eax
lea edi, [esp + 0x28]
call fcn.00415365
lea ecx, [esp + 0xe8]
mov byte [esp + 0x230], 1
push ecx
lea esi, [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x18], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_SysInfo.cpp
mov dword [esp + 0x1c], str.SysInfo::SHGetFolderPathAdapter
mov dword [esp + 0x20], 0x1bf
call fcn.00408dac
lea eax, [esp + 0xec]
mov dword [esp], 0x450838
push eax
call fcn.0042ba04
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0xd0]
call fcn.00401d77
lea edx, [esp + 0xcc]
mov eax, edi
mov dword [esp + 0x230], 2
call fcn.004092ec
push esi
push 1
lea ecx, [esp + 0xd4]
call fcn.00402a4b
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00425460
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x409088
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

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

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x4090a0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4090b4
test al, 0x10
je 0x4090b4
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x409361
Capabilities:
Delete file

Disassembly:
push 0x9c
mov eax, 0x43fd89
call fcn.0042be34
mov edi, ecx
cmp dword [edi + 0x14], 0x10
jb 0x40937c
mov eax, dword [edi]
jmp 0x40937e
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
xor ebx, ebx
cmp al, bl
je 0x40941c
cmp dword [0x45cc10], ebx
jg 0x409418
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.00401d56
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 4], ebx
call fcn.0040212a
lea eax, [ebp - 0xa8]
push str.Deleted__
push eax
mov byte [ebp - 4], 1
call fcn.00404dad
pop ecx
pop ecx
lea esi, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.00403933
mov esi, eax
push str.__file
push esi
call fcn.00404dad
pop ecx
pop ecx
push esi
push 0x25e
push ebx
mov ebx, str.FileUtils::_anonymous_namespace::deleteFileImpl
mov edi, str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_FileUtils.cpp
mov esi, 0x45cc10
call fcn.004052e9
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa8]
call fcn.00401590
mov al, 1
jmp 0x40942b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040934c
add esp, 4
call fcn.0042bf0c
ret
Function at 0x409431
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00409361
mov byte [esp + 0xf], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esp + 0xf], 0
jne 0x4095fc
cmp eax, 5
jne 0x4095e5
cmp dword [edi + 0x14], 0x10
jb 0x409472
mov eax, dword [edi]
jmp 0x409474
mov eax, 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 0x409491
xor al, al
jmp 0x4095ff
test bl, 1
je 0x4095e5
and ebx, 0xfffffffe
cmp dword [edi + 0x14], 0x10
jb 0x4094a7
mov eax, dword [edi]
jmp 0x4094a9
mov eax, edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call ebx
test eax, eax
je 0x40953c
cmp dword [0x45cc10], 0
jg 0x40952c
lea eax, [esp + 0x20]
push eax
call fcn.0040212a
lea eax, [esp + 0x20]
push str.Discarded_R_O_attribute_from__
push eax
call fcn.00404dad
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x2c], esp
push edi
call fcn.00401d56
lea esi, [esp + 0x3c]
call fcn.00403933
mov esi, eax
push str.__file
push esi
call fcn.00404dad
pop ecx
pop ecx
push esi
push 0x276
push 0
mov ebx, str.FileUtils::deleteFile
mov edi, str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_FileUtils.cpp
mov esi, 0x45cc10
call fcn.004052e9
lea eax, [esp + 0x20]
call fcn.00401590
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00409361
mov byte [esp + 0xf], al
jmp 0x4095de
cmp dword [0x45cc10], 2
jg 0x4095d6
lea eax, [esp + 0x20]
push eax
call fcn.0040212a
lea eax, [esp + 0x20]
push str.Failed_to_discard_R_O_attribute_from__
push eax
call fcn.00404dad
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x2c], esp
push edi
call fcn.00401d56
lea esi, [esp + 0x3c]
call fcn.00403933
mov esi, eax
push str.__file._File_will_not_be_deleted
push esi
call fcn.00404dad
pop ecx
pop ecx
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
mov ecx, ebx
lea edi, [esp + 0x20]
call fcn.0041467f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
push eax
push 0x27c
push 2
mov ebx, str.FileUtils::deleteFile
mov edi, str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_FileUtils.cpp
mov esi, 0x45cc10
call fcn.00401653
lea ecx, [esp + 0x14]
call fcn.00425908
lea eax, [esp + 0x20]
call fcn.00401590
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [esp + 0xf], 0
jne 0x4095fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040934c
add esp, 4
test al, al
jne 0x4095fc
xor eax, eax
jmp 0x4095ff
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409606
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
push edi
mov edi, eax
cmp dword [edi + 0x14], 0x10
jb 0x40961f
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne al
test al, al
je 0x4096a7
cmp dword [0x45cc10], 0
jg 0x40969d
lea eax, [esp + 0x10]
push eax
call fcn.0040212a
lea eax, [esp + 0x10]
push str.Deleted__
push eax
call fcn.00404dad
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x28], esp
push edi
call fcn.00401d56
lea esi, [esp + 0x2c]
call fcn.00403933
mov esi, eax
push str.__directory
push esi
call fcn.00404dad
pop ecx
pop ecx
push esi
push 0x291
push 0
mov ebx, str.FileUtils::deleteDirectory
mov edi, str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_FileUtils.cpp
mov esi, 0x45cc10
call fcn.004052e9
lea eax, [esp + 0x10]
call fcn.00401590
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040934c
add esp, 4
test al, al
jne 0x40969d
xor eax, eax
jmp 0x4096a0
Function at 0x409793
Capabilities:
Get file version info

Disassembly:
push 0xf0
mov eax, 0x440e4d
call fcn.0042be9d
mov eax, dword [ebp + 8]
push eax
mov esi, ebx
mov dword [ebp - 0x54], ebx
call fcn.00401d56
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x40], esi
jb 0x4097cf
mov eax, dword [ebx]
jmp 0x4097d1
mov eax, ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
cmp eax, esi
jne 0x409889
push str.System_error
mov dword [ebp - 0x4c], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x464
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.00401d56
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.0040212a
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfoSize_
push eax
mov byte [ebp - 4], 3
call fcn.00404dad
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.00403933
mov esi, eax
push 0x447bdc
push esi
call fcn.00404dad
pop ecx
pop ecx
mov ecx, dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
push esi
lea edi, [ebp - 0x60]
call fcn.0041467f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
push ecx
lea esi, [ebp - 0x4c]
mov ecx, eax
call fcn.00405622
lea eax, [ebp - 0x3c]
mov dword [esp], 0x450748
push eax
call fcn.0042ba04
mov esi, eax
lea eax, [ebx + 0x1c]
call fcn.004057be
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
sub eax, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x4098a5
mov edx, dword [ebx]
jmp 0x4098a7
mov edx, ebx
mov edi, dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
push ecx
push eax
push dword [ebp - 0x40]
push edx
call edi
test eax, eax
jne 0x409945
push str.System_error
mov dword [ebp - 0x4c], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x46d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.00401d56
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 6
call fcn.0040212a
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfo_
push eax
mov byte [ebp - 4], 7
call fcn.00404dad
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 8
call fcn.00403933
mov esi, eax
push 0x447bdc
push esi
call fcn.00404dad
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x60]
call fcn.0041467f
mov byte [ebp - 4], 9
jmp 0x40986b
mov eax, ebx
call fcn.0042bf20
ret 4
Function at 0x40cdfd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440019
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x459624]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x459624]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
cmp dword [0x45cc10], 1
mov ebx, ecx
jg 0x40ce87
lea eax, [esp + 0x1c]
push str.Executor.exec__:
lea edi, [ebx + 0x38]
push eax
call fcn.004037f6
pop ecx
pop ecx
and dword [esp + 0x48], 0
push str.Executor::startExecution
push 0x93
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_Executor.cpp
push 1
mov edx, eax
mov ecx, 0x45cc10
call fcn.0040b1b2
or dword [esp + 0x48], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.00402a4b
push 0x44
pop esi
push esi
lea edi, [ebx + 0x7c]
push 0
push edi
call fcn.004274e0
add esp, 0xc
push 0x10
lea eax, [ebx + 0x6c]
push 0
push eax
mov dword [edi], esi
call fcn.004274e0
add esp, 0xc
cmp dword [ebx + 0xc0], 1
jne 0x40cecb
or dword [ebx + 0xa8], 1
xor eax, eax
mov word [ebx + 0xac], ax
mov dword [ebx + 0x60], 0x8000000
cmp byte [ebx + 0xcd], 0
je 0x40cedb
mov esi, ebx
call fcn.0040d451
lea eax, [ebx + 0x38]
mov edx, dword [eax + 0x14]
cmp edx, 0x10
jb 0x40ceea
mov esi, dword [eax]
jmp 0x40ceec
mov esi, eax
mov ecx, dword [eax + 0x10]
add ecx, esi
cmp edx, 0x10
jb 0x40cef8
mov eax, dword [eax]
push dword [esp + 0x18]
xor edx, edx
push ecx
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
call fcn.0040ac27
mov dword [esp + 0x48], 1
lea eax, [esp + 0x17]
lea esi, [esp + 0x1c]
mov byte [esp + 0x17], 0
call fcn.0040a16b
cmp dword [ebx + 0x14], 0x10
jb 0x40cf3a
mov ecx, dword [ebx]
jmp 0x40cf3c
mov ecx, ebx
lea eax, [ebx + 0x6c]
push eax
push edi
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push dword [ebx + 0x60]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne bl
cmp dword [esp + 0x1c], 0
je 0x40cf74
push dword [esp + 0x1c]
call fcn.00425455
pop ecx
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00425460
mov esp, ebp
pop ebp
ret
Function at 0x40d64c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43f791
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x459624]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x459624]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x40d6f0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], str.Destination_buffer_cant_be_NULL
call fcn.004258ac
mov dword [esp + 0x20], vtable.std::invalid_argument.0
mov dword [esp + 0x80], ebx
lea eax, [esp + 0x48]
push eax
lea esi, [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_common_share_tstrings.cpp
mov dword [esp + 0x1c], str.tstrings::unsafe_format
mov dword [esp + 0x20], 0x1b
call fcn.0040a6f5
lea eax, [esp + 0x4c]
mov dword [esp], 0x450894
push eax
call fcn.0042ba04
push 0xf
pop esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x80], 1
mov eax, dword [esp + 0x3c]
add eax, 0x100
lea ecx, [esp + 0x2c]
call fcn.0040576f
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x40d72b
lea eax, [esp + 0x2c]
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push 0xffffffffffffffff
push dword [esp + 0x48]
push eax
call fcn.00429a1d
add esp, 0x14
cmp eax, 0xffffffff
je 0x40d70a
lea ecx, [esp + 0x2c]
call fcn.0040576f
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
lea esi, [esp + 0x2c]
mov byte [edi], bl
call fcn.00402852
push ebx
push 1
mov ecx, esi
call fcn.00402a4b
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00425460
mov esp, ebp
pop ebp
ret
Function at 0x414d03
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x120
mov eax, 0x441256
call fcn.0042be9d
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x78], eax
mov eax, esi
call fcn.00414ce5
mov edi, eax
test edi, edi
jne 0x414dbb
push str.cannot_find_resource
lea ecx, [ebp - 0x30]
call fcn.00401d77
and dword [ebp - 4], edi
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
call fcn.00414c30
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.00407ac0
push str.System_error
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov eax, esi
push eax
lea edi, [ebp - 0x90]
call fcn.0041467f
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x41
lea ecx, [ebp - 0x58]
push ecx
lea esi, [ebp - 0x84]
mov ecx, eax
call fcn.00405622
lea eax, [ebp - 0x58]
mov dword [esp], 0x450748
push eax
call fcn.0042ba04
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push dword [esi + 0x40]
call ebx
test eax, eax
jne 0x414e3f
push str.cannot_load_resource
lea ecx, [ebp - 0x30]
call fcn.00401d77
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.00414c30
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.00407ac0
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, esi
push eax
mov ecx, ebx
lea edi, [ebp - 0x90]
call fcn.0041467f
mov byte [ebp - 4], 7
mov dword [ebp - 0x84], str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x46
jmp 0x414d9a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esi + 0x3c], 6
mov ebx, eax
jne 0x414e6f
mov esi, dword [esi + 0x1c]
and esi, 0xf
jbe 0x414e60
dec esi
movzx ecx, word [eax]
lea eax, [eax + ecx*2 + 2]
jne 0x414e56
movzx ecx, word [eax]
mov edx, dword [ebp - 0x78]
add ecx, ecx
mov dword [edx], ecx
lea ebx, [eax + 2]
jmp 0x414e7e
push edi
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov eax, ebx
call fcn.0042bf20
ret 4
Function at 0x41bc49
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43db0b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x459624]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x459624]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push ecx
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
call fcn.00401d56
mov byte [esp + 0x3c], bl
mov dword [esp + 0x70], ebx
jmp 0x41bcf6
lea edx, [esp + 0x20]
add edi, 0xfffffffc
mov ecx, dword [edi]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x20], edi
call dword [eax + 4]
mov esi, eax
lea edi, [esp + 0x20]
mov byte [esp + 0x70], 1
call fcn.00402852
mov al, byte [esi + 0x1c]
push ebx
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x44], al
mov byte [esp + 0x78], bl
call fcn.00402a4b
cmp byte [esp + 0x3c], bl
jne 0x41bcfc
mov edi, dword [esp + 0x18]
cmp edi, dword [esp + 0x14]
jne 0x41bcad
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
call fcn.00401d56
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.00402a4b
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00425460
mov esp, ebp
pop ebp
ret 8