joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419642
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa0c
mov eax, dword [0x494244]
xor eax, esp
mov dword [esp + 0xa08], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa1c]
lea eax, [esp + 0x110]
push edi
mov ebp, 0x104
xor ebx, ebx
push ebp
push ebx
push eax
call fcn.00442690
add esp, 0xc
lea eax, [esp + 0x114]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, eax
test edi, edi
je 0x4197d7
cmp edi, ebp
ja 0x4197d7
push ebp
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00442690
push esi
lea eax, [esp + 0x124]
push eax
push 0x470118
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.00409cd1
add esp, 0x24
test eax, eax
jg 0x419738
mov esi, 0x800
lea eax, [esp + 0x218]
push esi
push ebx
push eax
call fcn.00442690
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._snprintf_failed.__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [esp + 0x224]
push esi
push eax
call fcn.00409cd1
add esp, 0x14
cmp eax, esi
jae 0x419868
push 3
mov byte [esp + eax + 0x21c], bl
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x41984d
lea eax, [esp + 0x218]
push eax
push str.JRE_System_LoadLibrary
push 0x50
jmp 0x41983a
cmp eax, ebp
jae 0x419868
mov byte [esp + eax + 0x10], bl
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x4197d3
mov esi, 0x800
lea eax, [esp + 0x218]
push esi
push ebx
push eax
call fcn.00442690
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push eax
push str.LoadLibrary__s__failed.__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [esp + 0x228]
push esi
push eax
call fcn.00409cd1
add esp, 0x18
cmp eax, esi
jae 0x419868
push 3
mov byte [esp + eax + 0x21c], bl
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x4197d3
lea eax, [esp + 0x218]
push eax
push str.JRE_System_LoadLibrary
push 0x5a
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_AllUtils.cpp
push 3
call fcn.004185e3
mov ecx, eax
call fcn.004088a5
mov eax, edi
jmp 0x41984f
mov esi, 0x800
lea eax, [esp + 0x218]
push esi
push ebx
push eax
call fcn.00442690
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.GetSystemDirectory_failed.__Return_Code:__d__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [esp + 0x228]
push esi
push eax
call fcn.00409cd1
add esp, 0x18
cmp eax, esi
jae 0x419868
push 3
mov byte [esp + eax + 0x21c], bl
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x41984d
lea eax, [esp + 0x218]
push eax
push str.JRE_System_LoadLibrary
push 0x46
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_AllUtils.cpp
push 3
call fcn.004185e3
mov ecx, eax
call fcn.004088a5
xor eax, eax
mov ecx, dword [esp + 0xa18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00440ce3
add esp, 0xa0c
ret
call fcn.00440bff
int3
Function at 0x419ad9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x467fc4
call fcn.00440d23
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 0x419b5c
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.00419a17
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x419b58
mov eax, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x419b4f
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00407ee8
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.00440879
pop ecx
pop ecx
mov eax, esi
jmp 0x419b81
lea eax, [ebp + 0xf]
push eax
push dword [ebp - 0x10]
lea ecx, [edi + 4]
call fcn.004169a1
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.00440cf1
ret 8
Function at 0x41d82a
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.00442690
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 0x41e366
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 0x41df02
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.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x41defe
push str.Create_pipe_SUCCESS
push str.Executor::createPipe
push 0xe8
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Executor.cpp
push ebx
call fcn.004185e3
mov ecx, eax
call fcn.004088a5
mov al, bl
jmp 0x41df36
push ebp
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x41df34
push str.Create_pipe_FAILURE
push str.Executor::createPipe
push 0xeb
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Executor.cpp
push ebp
call fcn.004185e3
mov ecx, eax
call fcn.004088a5
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.00442690
push 0x10
lea eax, [edi + 0x60]
mov dword [esi], 0x44
push 0
push eax
call fcn.00442690
add esp, 0x18
cmp dword [edi + 0xb4], 1
jne 0x41e3ad
or dword [edi + 0x9c], 1
xor eax, eax
mov word [edi + 0xa0], ax
mov dword [edi + 0x54], 0x8000000
cmp byte [edi + 0xc1], 0
je 0x41e3bf
mov ecx, edi
pop edi
pop esi
jmp 0x41de68
pop edi
pop esi
ret
Function at 0x41e4e6
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x468979
call fcn.00440d56
mov esi, ecx
xor ebx, ebx
lea edi, [esi + 0x30]
inc ebx
push ebx
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x41e54a
push edi
lea eax, [ebp - 0x28]
push str.Executor.exec__:
push eax
call fcn.004149ea
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_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Executor.cpp
push ebx
call fcn.004185e3
mov ecx, eax
call fcn.004187aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004083fa
mov ecx, esi
call fcn.0041e366
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x41e55b
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
add eax, ecx
cmp dword [edi + 0x14], 0x10
jb 0x41e568
mov edi, dword [edi]
lea ecx, [ebp - 0x29]
push ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004131d0
lea eax, [ebp - 0x29]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x29], 0
call fcn.00413292
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x41e593
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.00413145
mov al, bl
call fcn.00440d05
ret
Function at 0x41f0cf
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x494244]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push esi
lea ecx, [ebp - 0x34]
call fcn.0041ed43
cmp dword [ebp - 0x24], 0
je 0x41f166
mov eax, dword [ebx + 8]
mov esi, 0x47b3f0
push 0
or eax, 0x2001f
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.0041fcda
mov edi, dword [ebp - 0x64]
add esp, 0x18
test edi, edi
jne 0x41f159
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x6c]
push ecx
push ecx
mov ecx, esp
push ebx
mov dword [ecx], eax
mov al, byte [ebp - 0x68]
mov byte [ecx + 4], al
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x68], 0
call fcn.0041ed7a
mov ecx, eax
call fcn.0041f0cf
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.0041effb
lea ecx, [ebp - 0x6c]
call fcn.0041efb1
jmp 0x41f1fe
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41f170
mov eax, dword [esi]
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, eax
test edi, edi
jne 0x41f1fe
push eax
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x41f1fe
push 1
lea ecx, [ebp - 0x104]
call fcn.00402e8f
lea eax, [ebp - 0x104]
push str.Deleted__
push eax
call fcn.004027d5
sub esp, 0x10
mov ecx, ebx
mov eax, esp
push esi
push eax
call fcn.0041f394
lea ecx, [ebp - 0x104]
call fcn.0040ae4d
mov esi, eax
push str.__value
push esi
call fcn.004027d5
pop ecx
pop ecx
push esi
push str.Registry::deleteValue
push 0x1d2
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Registry.cpp
push edi
call fcn.004185e3
mov ecx, eax
call fcn.0040f39a
lea ecx, [ebp - 0x104]
call fcn.00403981
lea ecx, [ebp - 0x1c]
call fcn.004083fa
lea ecx, [ebp - 0x34]
call fcn.004083fa
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00440ce3
leave
ret 8
Function at 0x41f853
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0xac
push 0xffffffffffffffff
push 0x468d8a
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x494244]
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.0041ed43
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x88], eax
je 0x41f8f3
push eax
lea eax, [ebp + 0x78]
push eax
push edi
lea ecx, [ebp + 0x3c]
call fcn.0041ee92
push dword [ebp - 0x18]
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 1
push ecx
push esi
mov ecx, eax
call fcn.0041f853
lea ecx, [ebp + 0x3c]
call fcn.0041effb
jmp 0x41f98a
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 0x41f922
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 0x41f950
cmp byte [ebp - 0xd], 0
je 0x41f968
test edi, edi
jne 0x41f9c4
test ecx, ecx
je 0x41f96c
lea eax, [ebp - 0xd]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.004169a1
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
jmp 0x41f904
test edi, edi
jne 0x41f9c4
lea eax, [ebp - 0xd]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.004169a1
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.004083fa
lea ecx, [ebp + 0x78]
call fcn.004083fa
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.00440ce3
add ebp, 0xac
leave
ret 0xc
push str.query_value
lea ecx, [ebp + 0x60]
call fcn.00402f72
lea ecx, [ebp]
call fcn.00402fc3
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.0041f3c4
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.0041944a
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.0042cd89
mov esi, eax
push 0x12b
push str.Registry::getValue
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.004030f3
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.0041a246
add esp, 0xc
lea eax, [ebp + 0x18]
push 0x48bb40
push eax
call fcn.00442add
int3
Function at 0x41fd89
Capabilities:
Set registry value

Disassembly:
push 0x17c
mov eax, 0x468ef3
call fcn.00440d56
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x70]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0xec], eax
call fcn.0041ed43
and dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0
je 0x41fdf4
push 1
lea eax, [ebp - 0x70]
push eax
push edi
lea ecx, [ebp - 0xac]
call fcn.0041ee92
push ebx
push dword [ebp - 0xec]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0041fd89
lea ecx, [ebp - 0xac]
call fcn.0041effb
jmp 0x41fee6
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41fdfe
mov eax, dword [esi]
push ebx
push dword [ebp - 0xec]
push 3
push 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xec], eax
test eax, eax
jne 0x41fefe
push eax
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x41fee6
push 1
lea ecx, [ebp - 0x188]
call fcn.00402e8f
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 7
push str.length
push eax
call fcn.004027d5
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x188]
call fcn.0040c4b8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x184]
call fcn.00408ea9
push esi
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.0041f394
push 3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ebd8
add esp, 0x10
push eax
push str.Registry::setBinary
push 0x1b3
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Registry.cpp
push 0
mov byte [ebp - 4], 0xa
call fcn.004185e3
mov ecx, eax
call fcn.004187aa
lea ecx, [ebp - 0x40]
call fcn.004083fa
lea ecx, [ebp - 0x88]
call fcn.004083fa
lea ecx, [ebp - 0x28]
call fcn.004083fa
lea ecx, [ebp - 0x188]
call fcn.00403981
lea ecx, [ebp - 0x58]
call fcn.004083fa
lea ecx, [ebp - 0x70]
call fcn.004083fa
call fcn.00440d05
ret 0xc
push str.set_binary_value
lea ecx, [ebp - 0x40]
call fcn.00402f72
lea ecx, [ebp - 0xe8]
call fcn.00402fc3
push eax
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.0041f3c4
push eax
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 4
call fcn.0041944a
push str.System_error
push dword [ebp - 0xec]
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 5
push dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x7c]
push eax
call fcn.0042cd89
mov esi, eax
push 0x1ae
push str.Registry::setBinary
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004030f3
push eax
lea eax, [ebp - 0xd0]
push esi
push eax
call fcn.0041a246
add esp, 0xc
lea eax, [ebp - 0xd0]
push 0x48bb40
push eax
call fcn.00442add
int3
Function at 0x41ffa2
Capabilities:
Set registry value

Disassembly:
push 0x16c
mov eax, 0x468f79
call fcn.00440d56
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push esi
call fcn.0041ed43
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0
je 0x41fffd
push 1
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0x94]
call fcn.0041ee92
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0041ffa2
lea ecx, [ebp - 0x94]
call fcn.0041effb
jmp 0x42008c
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x420007
mov eax, dword [esi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp + 0xc]
push 4
push ecx
push 4
push 0
push eax
push dword [edi]
call ebx
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x4200a4
xor ebx, ebx
push ebx
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x42008c
push esi
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.0041f394
push ebx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041eafb
add esp, 0x10
push eax
push str.Registry::setDword
push 0x184
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Registry.cpp
push ebx
mov byte [ebp - 4], 8
call fcn.004185e3
mov ecx, eax
call fcn.004187aa
lea ecx, [ebp - 0x28]
call fcn.004083fa
lea ecx, [ebp - 0x70]
call fcn.004083fa
lea ecx, [ebp - 0x40]
call fcn.004083fa
lea ecx, [ebp - 0x58]
call fcn.004083fa
call fcn.00440d05
ret 8
push str.set_dword_value
lea ecx, [ebp - 0x28]
call fcn.00402f72
lea ecx, [ebp - 0xd0]
call fcn.00402fc3
push eax
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.0041f3c4
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 4
call fcn.0041944a
push str.System_error
push dword [ebp - 0xd4]
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 5
push ebx
push eax
lea ecx, [ebp - 0xe0]
call fcn.0042cd89
mov esi, eax
push 0x181
push str.Registry::setDword
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.004030f3
push eax
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.0041a246
add esp, 0xc
lea eax, [ebp - 0xb8]
push 0x48bb40
push eax
call fcn.00442add
int3
Function at 0x420146
Capabilities:
Set registry value

Disassembly:
push 0x16c
mov eax, 0x468f79
call fcn.00440d56
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov esi, dword [ebp + 0xc]
push edi
call fcn.0041ed43
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0
je 0x4201a2
push 1
lea eax, [ebp - 0x58]
push eax
push ebx
lea ecx, [ebp - 0x94]
call fcn.0041ee92
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00420146
lea ecx, [ebp - 0x94]
call fcn.0041effb
jmp 0x420236
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x4201ac
mov edx, dword [esi]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x4201b6
mov ecx, dword [edi]
mov eax, dword [esi + 0x10]
inc eax
push eax
push edx
push 1
push 0
push ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x42024e
push eax
call fcn.004185e3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x420236
push edi
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.0041f394
push 0
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.0041ebd8
add esp, 0x10
push eax
push str.Registry::setString
push 0x193
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Registry.cpp
push 0
mov byte [ebp - 4], 8
call fcn.004185e3
mov ecx, eax
call fcn.004187aa
lea ecx, [ebp - 0x28]
call fcn.004083fa
lea ecx, [ebp - 0x70]
call fcn.004083fa
lea ecx, [ebp - 0x40]
call fcn.004083fa
lea ecx, [ebp - 0x58]
call fcn.004083fa
call fcn.00440d05
ret 8
push str.set_string_value
lea ecx, [ebp - 0x28]
call fcn.00402f72
lea ecx, [ebp - 0xd0]
call fcn.00402fc3
push eax
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.0041f3c4
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 4
call fcn.0041944a
push str.System_error
push dword [ebp - 0xd4]
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 5
push dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0xe0]
push eax
call fcn.0042cd89
mov esi, eax
push 0x190
push str.Registry::setString
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.004030f3
push eax
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.0041a246
add esp, 0xc
lea eax, [ebp - 0xb8]
push 0x48bb40
push eax
call fcn.00442add
int3
Function at 0x427ba5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x10c
mov eax, 0x46a0e5
call fcn.00440d56
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
call fcn.00427aee
mov ebx, eax
test ebx, ebx
je 0x427c92
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push dword [esi + 0x38]
call edi
test eax, eax
jne 0x427c48
push str.cannot_load_resource
lea ecx, [ebp - 0x28]
call fcn.00402f72
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.00427b0c
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.0041944a
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.0042cd89
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_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Resources.cpp
jmp 0x427cfc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esi + 0x34], 6
mov edi, eax
jne 0x427c79
mov edx, dword [esi + 0x18]
mov ecx, edi
and edx, 0xf
jbe 0x427c6f
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub edx, 1
jne 0x427c61
movzx eax, word [ecx]
lea edi, [ecx + 2]
add eax, eax
jmp 0x427c83
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.00440d05
ret 4
push str.cannot_find_resource
lea ecx, [ebp - 0x28]
call fcn.00402f72
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.00427b0c
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.0041944a
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.0042cd89
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_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_Resources.cpp
call fcn.004030f3
push eax
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.0041a246
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x48bb40
push eax
call fcn.00442add
int3