joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439e8e
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x7c4]
sub esp, 0x844
mov eax, dword [0x4c2660]
xor eax, ebp
mov dword [ebp + 0x7c0], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x7ff
lea eax, [ebp - 0x3f]
push ebx
push eax
mov byte [ebp - 0x40], bl
call fcn.00468970
add esp, 0xc
mov eax, 0x800
push eax
lea ecx, [ebp - 0x40]
push ecx
push 0x1002
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x40]
push str.Japan
push eax
call fcn.004692b8
pop ecx
pop ecx
test eax, eax
jne 0x439ef6
mov dword [ebp - 0x80], 0x4a0730
jmp 0x439f49
cmp dword [0x4c8604], 2
jl 0x439f42
lea eax, [ebp - 0x40]
push str.Korea
push eax
call fcn.004692b8
pop ecx
pop ecx
test eax, eax
je 0x439f42
lea eax, [ebp - 0x40]
push str.China
push eax
call fcn.004692b8
pop ecx
pop ecx
test eax, eax
je 0x439f42
lea eax, [ebp - 0x40]
push str.Taiwan
push eax
call fcn.004692b8
pop ecx
pop ecx
mov dword [ebp - 0x80], str.Segoe_UI
test eax, eax
jne 0x439f49
mov dword [ebp - 0x80], str.Sun_Sans
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
mov edi, eax
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push dword [ebp + 0x7cc]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push edi
mov esi, eax
push ebx
neg esi
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp + 0x7d0], ebx
push 0xffffffffffffffff
push dword [ebp - 0x80]
setne al
mov byte [ebp - 0x67], al
lea eax, [ebp - 0x60]
push 0x20
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], 0x1f4
mov byte [ebp - 0x68], bl
mov dword [ebp - 0x66], ebx
mov word [ebp - 0x62], bx
call fcn.00468e61
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, dword [ebp + 0x7c0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465f42
add ebp, 0x7c4
leave
ret
Function at 0x43c03b
Capabilities:
Check if file exists
Get file attributes

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

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

Disassembly:
cmp dword [eax + 0x14], 0x10
jb 0x43c05b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43c06f
test al, 0x10
je 0x43c06f
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x43c32b
Capabilities:
Get disk information

Disassembly:
push 0x7c
mov eax, 0x483322
call fcn.0046e3a1
xor esi, esi
push 0x49901c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x88], esi
call fcn.0040d21d
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x10]
xor edi, edi
inc edi
mov dword [ebp - 0x88], edi
cmp eax, dword [ebp - 0x1c]
jb 0x43c3ae
push dword [ebp - 0x1c]
push esi
push ebx
lea esi, [ebp - 0x64]
call fcn.00415bce
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], edi
push 0
push eax
mov edi, esi
call fcn.004439dc
pop ecx
pop ecx
push 0
push 1
mov ecx, esi
mov byte [ebp - 0x81], al
call fcn.0040e7d9
cmp byte [ebp - 0x81], 0
je 0x43c3ab
cmp dword [ebx + 0x10], 1
je 0x43c3ab
xor edi, edi
mov byte [ebp - 0x81], 1
inc edi
jmp 0x43c3b5
xor edi, edi
inc edi
mov byte [ebp - 0x81], 0
or dword [ebp - 4], 0xffffffff
push 0
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040e7d9
cmp byte [ebp - 0x81], 0
je 0x43c3d4
mov eax, edi
jmp 0x43c45d
push 0x4a09d0
lea ecx, [ebp - 0x64]
call fcn.0040d21d
mov esi, dword [eax + 0x10]
push 0
push edi
lea ecx, [ebp - 0x64]
call fcn.0040e7d9
cmp dword [ebx + 0x10], esi
jae 0x43c3f9
push 3
pop eax
jmp 0x43c45d
push esi
push 0
push ebx
lea esi, [ebp - 0x80]
call fcn.00415bce
push 2
pop esi
push 0x49901c
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], esi
call fcn.0041121e
add esp, 0xc
push 0
push edi
lea ecx, [ebp - 0x80]
call fcn.0040e7d9
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x43c434
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, esi
jb 0x43c450
cmp eax, 3
jbe 0x43c44e
cmp eax, 4
je 0x43c463
cmp eax, 6
jne 0x43c450
xor esi, esi
push 0
push edi
lea ecx, [ebp - 0x48]
call fcn.0040e7d9
mov eax, esi
call fcn.0046e424
ret
mov esi, edi
jmp 0x43c450
Function at 0x43c936
Capabilities:
Create directory

Disassembly:
push 0xe4
mov eax, 0x4894d5
call fcn.0046e3a1
mov eax, dword [ebp + 0x24]
mov ebx, ecx
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x43c95d
lea eax, [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push eax
call edi
test eax, eax
je 0x43ca27
cmp dword [0x4c8640], 0
jg 0x43c9fd
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040d1fc
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 1
call fcn.0040d5e7
lea eax, [ebp - 0xf0]
push str.Created__
push eax
mov byte [ebp - 4], 2
call fcn.00412a1a
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.00411135
mov esi, eax
push str.__directory
push esi
call fcn.00412a1a
pop ecx
pop ecx
push esi
push 0x1ce
push 0
mov ebx, str.FileUtils::_anonymous_namespace::createDir
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
mov esi, 0x4c8640
call fcn.004082ac
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0
call fcn.00408292
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x43ca3f
lea edx, [ebp + 8]
lea eax, [ebp - 0x2c]
call fcn.0043c2cb
push eax
mov byte [ebp - 4], 4
call fcn.00439576
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040e7d9
jmp 0x43ca3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x43ca51
lea eax, [ebp + 8]
call fcn.0043c053
test al, al
je 0x43ca51
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0040e7d9
call fcn.0046e424
ret
push str.System_error
push esi
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x4c], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.FileUtils::_anonymous_namespace::createDir
mov dword [ebp - 0x44], 0x1d7
lea ebx, [ebp - 0x4c]
call fcn.0040d1fc
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 5
call fcn.0040d5e7
lea eax, [ebp - 0xf0]
push str.CreateDirectory_
push eax
mov byte [ebp - 4], 6
call fcn.00412a1a
pop ecx
pop ecx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 7
call fcn.00411135
mov esi, eax
push 0x49fea4
push esi
call fcn.00412a1a
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x58]
call fcn.004552c0
lea ecx, [ebp - 0x38]
push ecx
mov esi, ebx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00428300
lea eax, [ebp - 0x38]
mov dword [esp], 0x4ad6f0
push eax
call fcn.0046de80
int3
Function at 0x43d130
Capabilities:
Delete file

Disassembly:
push 0x9c
mov eax, 0x4864f5
call fcn.0046e338
mov edi, ecx
cmp dword [edi + 0x14], 0x10
jb 0x43d14b
mov eax, dword [edi]
jmp 0x43d14d
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
xor ebx, ebx
cmp al, bl
je 0x43d1eb
cmp dword [0x4c8640], ebx
jg 0x43d1e7
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.0040d1fc
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 4], ebx
call fcn.0040d5e7
lea eax, [ebp - 0xa8]
push str.Deleted__
push eax
mov byte [ebp - 4], 1
call fcn.00412a1a
pop ecx
pop ecx
lea esi, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.00411135
mov esi, eax
push str.__file
push esi
call fcn.00412a1a
pop ecx
pop ecx
push esi
push 0x25b
push ebx
mov ebx, str.FileUtils::_anonymous_namespace::deleteFileImpl
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
mov esi, 0x4c8640
call fcn.004082ac
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa8]
call fcn.00408292
mov al, 1
jmp 0x43d1fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043d11b
add esp, 4
call fcn.0046e410
ret
Function at 0x43d200
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.0043d130
mov byte [esp + 0xf], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esp + 0xf], 0
jne 0x43d3cb
cmp eax, 5
jne 0x43d3b4
cmp dword [edi + 0x14], 0x10
jb 0x43d241
mov eax, dword [edi]
jmp 0x43d243
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 0x43d260
xor al, al
jmp 0x43d3ce
test bl, 1
je 0x43d3b4
and ebx, 0xfffffffe
cmp dword [edi + 0x14], 0x10
jb 0x43d276
mov eax, dword [edi]
jmp 0x43d278
mov eax, edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
call ebx
test eax, eax
je 0x43d30b
cmp dword [0x4c8640], 0
jg 0x43d2fb
lea eax, [esp + 0x20]
push eax
call fcn.0040d5e7
lea eax, [esp + 0x20]
push str.Discarded_R_O_attribute_from__
push eax
call fcn.00412a1a
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x2c], esp
push edi
call fcn.0040d1fc
lea esi, [esp + 0x3c]
call fcn.00411135
mov esi, eax
push str.__file
push esi
call fcn.00412a1a
pop ecx
pop ecx
push esi
push 0x273
push 0
mov ebx, str.FileUtils::deleteFile
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
mov esi, 0x4c8640
call fcn.004082ac
lea eax, [esp + 0x20]
call fcn.00408292
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0043d130
mov byte [esp + 0xf], al
jmp 0x43d3ad
cmp dword [0x4c8640], 2
jg 0x43d3a5
lea eax, [esp + 0x20]
push eax
call fcn.0040d5e7
lea eax, [esp + 0x20]
push str.Failed_to_discard_R_O_attribute_from__
push eax
call fcn.00412a1a
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x2c], esp
push edi
call fcn.0040d1fc
lea esi, [esp + 0x3c]
call fcn.00411135
mov esi, eax
push str.__file._File_will_not_be_deleted
push esi
call fcn.00412a1a
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.004552c0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
push eax
push 0x279
push 2
mov ebx, str.FileUtils::deleteFile
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
mov esi, 0x4c8640
call fcn.004082ed
lea ecx, [esp + 0x14]
call fcn.00466416
lea eax, [esp + 0x20]
call fcn.00408292
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [esp + 0xf], 0
jne 0x43d3cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043d11b
add esp, 4
test al, al
jne 0x43d3cb
xor eax, eax
jmp 0x43d3ce
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d4a6
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 0x43d4bf
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne al
test al, al
je 0x43d547
cmp dword [0x4c8640], 0
jg 0x43d53d
lea eax, [esp + 0x10]
push eax
call fcn.0040d5e7
lea eax, [esp + 0x10]
push str.Deleted__
push eax
call fcn.00412a1a
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x28], esp
push edi
call fcn.0040d1fc
lea esi, [esp + 0x2c]
call fcn.00411135
mov esi, eax
push str.__directory
push esi
call fcn.00412a1a
pop ecx
pop ecx
push esi
push 0x28e
push 0
mov ebx, str.FileUtils::deleteDirectory
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
mov esi, 0x4c8640
call fcn.004082ac
lea eax, [esp + 0x10]
call fcn.00408292
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.0043d11b
add esp, 4
test al, al
jne 0x43d53d
xor eax, eax
jmp 0x43d540

Function at 0x43d750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48b6a9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea esi, [esp + 0xc]
call fcn.0040d1fc
and dword [esp + 0x38], 0
mov byte [esp + 0x24], 1
call fcn.0043d5c2
push 0
push 1
mov ecx, esi
call fcn.0040e7d9
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret
Function at 0x43e291
Capabilities:
Get file version info

Disassembly:
push 0xf0
mov eax, 0x48928b
call fcn.0046e3a1
mov eax, dword [ebp + 8]
push eax
mov esi, ebx
mov dword [ebp - 0x54], ebx
call fcn.0040d1fc
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 0x43e2cd
mov eax, dword [ebx]
jmp 0x43e2cf
mov eax, ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
cmp eax, esi
jne 0x43e387
push str.System_error
mov dword [ebp - 0x4c], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x461
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.0040d1fc
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.0040d5e7
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfoSize_
push eax
mov byte [ebp - 4], 3
call fcn.00412a1a
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.00411135
mov esi, eax
push 0x49fea4
push esi
call fcn.00412a1a
pop ecx
pop ecx
mov ecx, dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
push esi
lea edi, [ebp - 0x60]
call fcn.004552c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
push ecx
lea esi, [ebp - 0x4c]
mov ecx, eax
call fcn.00428300
lea eax, [ebp - 0x3c]
mov dword [esp], 0x4ad6f0
push eax
call fcn.0046de80
mov esi, eax
lea eax, [ebx + 0x1c]
call fcn.00429580
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
sub eax, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x43e3a3
mov edx, dword [ebx]
jmp 0x43e3a5
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 0x43e443
push str.System_error
mov dword [ebp - 0x4c], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x46a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.0040d1fc
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 6
call fcn.0040d5e7
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfo_
push eax
mov byte [ebp - 4], 7
call fcn.00412a1a
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 8
call fcn.00411135
mov esi, eax
push 0x49fea4
push esi
call fcn.00412a1a
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x60]
call fcn.004552c0
mov byte [ebp - 4], 9
jmp 0x43e369
mov eax, ebx
call fcn.0046e424
ret 4
Function at 0x4418e8
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x4814e5
call fcn.0046e338
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
mov eax, esi
call fcn.004418bc
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.004418bc
pop ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.004418bc
mov eax, esi
mov dword [esp], 0x409
call fcn.004418bc
pop ecx
mov eax, esi
call fcn.0046e410
ret
Function at 0x44325d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489147
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x10], eax
mov eax, esi
call fcn.0044323f
mov edi, eax
test edi, edi
jne 0x443365
push str.cannot_find_resource
lea ecx, [esp + 0xcc]
call fcn.0040d21d
and dword [esp + 0x138], edi
lea eax, [esp + 0x10c]
push eax
lea edx, [esp + 0xcc]
mov ecx, esi
call fcn.0044318a
mov edi, eax
lea esi, [esp + 0x2c]
mov byte [esp + 0x138], 1
call fcn.00438167
push str.System_error
mov byte [esp + 0x13c], 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, [esp + 0x2c]
call fcn.004552c0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x138], 3
push ecx
lea esi, [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x18], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Resources.cpp
mov dword [esp + 0x1c], str.Resource::getPtr
mov dword [esp + 0x20], 0x41
call fcn.00428300
mov dword [esp], 0x4ad6f0
lea eax, [esp + 0xe8]
push eax
call fcn.0046de80
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push dword [esi + 0x40]
call ebx
test eax, eax
jne 0x443426
push str.cannot_load_resource
lea ecx, [esp + 0xcc]
call fcn.0040d21d
lea eax, [esp + 0x10c]
push eax
lea edx, [esp + 0xcc]
mov ecx, esi
mov dword [esp + 0x13c], 4
call fcn.0044318a
mov edi, eax
lea esi, [esp + 0x2c]
mov byte [esp + 0x138], 5
call fcn.00438167
push str.System_error
mov byte [esp + 0x13c], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, esi
push eax
mov ecx, ebx
lea edi, [esp + 0x2c]
call fcn.004552c0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x138], 7
push ecx
lea esi, [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x18], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Resources.cpp
mov dword [esp + 0x1c], str.Resource::getPtr
mov dword [esp + 0x20], 0x46
call fcn.00428300
mov dword [esp], 0x4ad6f0
lea eax, [esp + 0xe8]
jmp 0x44335f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esi + 0x3c], 6
mov ebx, eax
jne 0x443457
mov esi, dword [esi + 0x1c]
and esi, 0xf
jbe 0x443447
dec esi
movzx ecx, word [eax]
lea eax, [eax + ecx*2 + 2]
jne 0x44343d
movzx ecx, word [eax]
mov edx, dword [esp + 0x10]
add ecx, ecx
mov dword [edx], ecx
lea ebx, [eax + 2]
jmp 0x443467
push edi
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, ebx
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret 4
Function at 0x44389e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4853db
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2660]
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 0x443942
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], str.Destination_buffer_cant_be_NULL
call fcn.0046639c
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:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_common_share_tstrings.cpp
mov dword [esp + 0x1c], str.tstrings::format
mov dword [esp + 0x20], 0x1b
call fcn.0041c9ff
lea eax, [esp + 0x4c]
mov dword [esp], 0x4ad658
push eax
call fcn.0046de80
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.00429531
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x44397d
lea eax, [esp + 0x2c]
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push 0xffffffffffffffff
push dword [esp + 0x48]
push eax
call fcn.004682a5
add esp, 0x14
cmp eax, 0xffffffff
je 0x44395c
lea ecx, [esp + 0x2c]
call fcn.00429531
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
lea esi, [esp + 0x2c]
mov byte [edi], bl
call fcn.0040e5e0
push ebx
push 1
mov ecx, esi
call fcn.0040e7d9
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.00465f42
mov esp, ebp
pop ebp
ret
Function at 0x4447a3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4c2660]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x6c], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
mov esi, ecx
call fcn.0043c096
pop ecx
push edi
lea eax, [ebp - 0x20]
call fcn.0043c14a
xor ebx, ebx
pop ecx
cmp dword [ebp - 0x2c], ebx
je 0x444896
mov ecx, dword [esi + 8]
mov eax, dword [esi]
push ebx
or ecx, 0x20019
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00444299
add esp, 0x14
cmp dword [ebp - 0x78], ebx
je 0x444844
cmp byte [ebp - 0x7c], bl
je 0x444817
push dword [ebp - 0x80]
mov byte [ebp - 0x7c], bl
call fcn.0044e0f3
pop ecx
mov byte [ebp - 0x65], bl
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.0040e7d9
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040e7d9
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x65]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465f42
leave
ret 8
push dword [ebp - 0x6c]
lea eax, [ebp - 0x20]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x80]
mov eax, esp
mov dword [eax], ecx
mov cl, byte [ebp - 0x7c]
mov byte [eax + 4], cl
mov dword [ebp - 0x6c], esp
push esi
lea ecx, [ebp - 0x3c]
lea edi, [ebp - 0x64]
mov byte [ebp - 0x7c], bl
call fcn.0044440c
mov ecx, eax
call fcn.004447a3
mov esi, edi
mov byte [ebp - 0x65], al
call fcn.00444513
cmp byte [ebp - 0x7c], bl
je 0x44488e
push dword [ebp - 0x80]
mov byte [ebp - 0x7c], bl
call fcn.0044e0f3
pop ecx
mov al, byte [ebp - 0x65]
mov byte [ebp - 0x65], al
jmp 0x44481a
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x70], ebx
jb 0x4448a7
mov edi, dword [edi]
mov esi, dword [esi]
lea eax, [ebp - 0x84]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x444817
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x4448d2
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
mov byte [ebp - 0x65], 1
jmp 0x44481a