joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415573
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48df5c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.0044b73a
and dword [esp + 0x30], 0
mov ecx, dword [esi + 0xc]
add ecx, 0x1c
push eax
call fcn.0044ca77
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 8]
push eax
call fcn.004154e4
mov ecx, dword [esi + 0xc]
push 0
push 0
push 3
push dword [esi + 8]
call fcn.00414fe9
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41638b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4c2660]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, edx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
jne 0x4163fb
lea eax, [ebp - 0x410]
push eax
push 0x20019
push ebx
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x410], ebx
je 0x4163f4
mov dword [ebp - 0x41c], 1
jmp 0x416401
xor eax, eax
jmp 0x4164a5
mov dword [ebp - 0x410], eax
push dword [ebp - 0x414]
lea eax, [ebp - 0x420]
push esi
push eax
push ebx
push edi
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebx
jne 0x41642f
mov dword [ebp - 0x418], 1
jmp 0x41648b
cmp esi, 2
je 0x41648b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3ff
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x40b]
push ebx
push eax
mov byte [ebp - 0x40c], bl
call fcn.00468970
add esp, 0xc
push dword [ebp - 0x414]
lea eax, [ebp - 0x40c]
push esi
push edi
push str.RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
push 0xffffffffffffffff
push 0x400
push eax
call fcn.00466793
add esp, 0x1c
lea eax, [ebp - 0x40c]
push eax
call fcn.00439ca9
pop ecx
cmp dword [ebp - 0x41c], ebx
je 0x41649f
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00465f42
leave
ret
Function at 0x4164b3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x79c]
sub esp, 0x81c
mov eax, dword [0x4c2660]
xor eax, ebp
mov dword [ebp + 0x798], eax
mov eax, dword [ebp + 0x7a4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x7a8]
push ebx
push esi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x7ac]
push edi
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x7b0]
xor ebx, ebx
mov esi, 0x3ff
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x399]
push ebx
push eax
xor edi, edi
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x7c], ebx
mov byte [ebp + 0x398], bl
call fcn.00468970
mov eax, dword [ebp - 0x78]
add esp, 0xc
cmp eax, ebx
jne 0x41657f
lea eax, [ebp - 0x6c]
push eax
push 0x20019
push ebx
push str.SoftwareJreMetrics
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, ebx
jne 0x41654b
mov dword [ebp - 0x7c], 1
jmp 0x416586
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push dword [ebp - 0x74]
lea eax, [ebp + 0x398]
push str.GetJreMetrics_____RegOpenKeyEx__s_:_Error:_d__ErrorCode:_d_n
push 0xffffffffffffffff
push 0x400
push eax
call fcn.00466793
lea eax, [ebp + 0x398]
push eax
call fcn.00439ca9
add esp, 0x20
jmp 0x416582
mov dword [ebp - 0x6c], eax
cmp edi, ebx
jne 0x4165f5
push dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push dword [ebp - 0x70]
push eax
push ebx
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp edi, ebx
je 0x4165e7
cmp edi, 2
je 0x4165e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call fcn.00468970
push dword [ebp - 0x70]
lea eax, [ebp - 0x68]
push edi
push dword [ebp - 0x74]
push str.GetJreMetrics_____RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
push 0xffffffffffffffff
push 0x400
push eax
call fcn.00466793
lea eax, [ebp - 0x68]
push eax
call fcn.00439ca9
add esp, 0x2c
cmp dword [ebp - 0x7c], ebx
je 0x4165f5
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x798]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465f42
add ebp, 0x79c
leave
ret
Function at 0x41660f
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp edi, esi
jne 0x41663a
lea eax, [ebp - 4]
push eax
push 0x2001f
push esi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x41665e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [ebp - 4], esi
je 0x41669d
cmp edi, esi
jne 0x416675
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x41668d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x4166a2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4c2660]
xor eax, ebp
mov dword [ebp + 0x74], eax
push 0x94
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.00468970
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4166fa
cmp dword [ebp - 0x1c], 6
jne 0x4166ec
xor eax, eax
inc eax
jmp 0x4166fc
cmp dword [ebp - 0x1c], 5
jne 0x4166fa
xor eax, eax
inc eax
cmp dword [ebp - 0x18], eax
je 0x4166fc
xor eax, eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.00465f42
add ebp, 0x78
leave
ret
Function at 0x41670b
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x4a4]
sub esp, 0x524
mov eax, dword [0x4c2660]
xor eax, ebp
mov dword [ebp + 0x4a0], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, 0x400
push esi
lea ecx, [ebp - 0x64]
lea edx, [ebp + 0xa0]
mov edi, str.LocalFileName
mov dword [ebp - 0x64], ebx
call fcn.0041638b
pop ecx
test eax, eax
je 0x41675e
cmp dword [ebp - 0x64], esi
je 0x41675e
lea eax, [ebp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x64]
push eax
push 1
push esi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocString
mov dword [ebp - 0x80], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4167d5
push dword [ebp - 0x64]
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0x60]
mov edi, str.VersionXmlURL
call fcn.0041638b
pop ecx
push dword [ebp - 0x64]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp edi, esi
je 0x4167d5
cmp dword [ebp - 0x80], esi
jbe 0x4167d5
lea eax, [ebp + 0xa0]
push eax
mov ecx, eax
call fcn.00417f0f
pop ecx
lea eax, [ebp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.004168b0
push str.PreDownldStatus
xor edi, edi
call fcn.0041660f
pop ecx
push ebx
lea eax, [ebp + 0xa0]
push eax
mov dword [ebp - 0x64], esi
push esi
mov edi, VariantInit
jmp 0x416889
inc dword [ebp - 0x64]
lea eax, [ebp + 0xa0]
push eax
push edi
mov eax, 0x20019
lea ebx, [ebp - 0x70]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
call fcn.00401c4b
test eax, eax
jne 0x416863
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push dword [ebp - 0x70]
mov eax, 0x2001f
lea ebx, [ebp - 0x7c]
call fcn.00401c4b
test eax, eax
jne 0x416852
push str.VersionXmlURL
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp - 0x7c], esi
je 0x416863
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
cmp dword [ebp - 0x70], esi
je 0x416877
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x70], esi
push 0x400
lea eax, [ebp + 0xa0]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x6c], esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x4167fd
mov ecx, dword [ebp + 0x4a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465f42
add ebp, 0x4a4
leave
ret
Function at 0x4168b0
Capabilities:
Delete registry value
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4168d7
xor eax, eax
leave
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.LocalFileName
push dword [ebp - 4]
call esi
push str.InstallOptions
push dword [ebp - 4]
call esi
push str.UpdateDescription
push dword [ebp - 4]
call esi
push str.UpdateTitle1
push dword [ebp - 4]
call esi
push str.UpdateTitle2
push dword [ebp - 4]
call esi
push str.UpdateMoreInfoUrl
push dword [ebp - 4]
call esi
push str.BalloonTitle
push dword [ebp - 4]
call esi
push str.BalloonTip
push dword [ebp - 4]
call esi
push str.DlgCaption
push dword [ebp - 4]
call esi
push str.MoreInfoTxt
push dword [ebp - 4]
call esi
push str.PreDownld
push dword [ebp - 4]
call esi
push str.UrlInfo
push dword [ebp - 4]
call esi
push str.NumTries
push dword [ebp - 4]
call esi
push str.LastUDCheckTime
push dword [ebp - 4]
call esi
push str.VersionXmlChecksum
push dword [ebp - 4]
call esi
push str.Country
push dword [ebp - 4]
call esi
call fcn.004166a2
test eax, eax
je 0x416991
push str.TransferJobID
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x417f0f
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x5cc]
sub esp, 0x64c
mov eax, dword [0x4c2660]
xor eax, ebp
mov dword [ebp + 0x5c8], eax
mov eax, dword [ebp + 0x5d4]
push ebx
push esi
push edi
push 0x3c
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x3c4], bl
call fcn.00468970
lea eax, [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x50], 0x400
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edi, 0x104
cmp eax, ebx
je 0x417fb7
push 0x100
lea eax, [ebp + 0x3c4]
push eax
push edi
lea eax, [ebp + 0x4c4]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.00468c13
lea eax, [ebp + 0x4c4]
push 0x49ac80
push eax
call fcn.00468470
add esp, 0x2c
test eax, eax
je 0x418000
mov eax, esi
mov dword [ebp - 0x40], ebx
cmp byte [esi], bl
je 0x417fe8
mov cl, byte [eax]
cmp cl, 0x20
je 0x417fcc
cmp cl, 9
jne 0x417fd5
push eax
call dword [sym.imp.USER32.dll_CharNextA]
jmp 0x417fc0
mov ecx, dword [ebp - 0x40]
movsx edx, byte [eax]
imul ecx, ecx, 0x1f
add ecx, edx
inc eax
mov dword [ebp - 0x40], ecx
cmp byte [eax], bl
jne 0x417fc0
push dword [ebp - 0x40]
lea eax, [ebp + 0x4c4]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [ebp - 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x4c4]
push eax
push dword [ebp - 0x44]
call esi
lea eax, [ebp + 0x3c4]
push eax
push dword [ebp - 0x44]
call esi
mov ecx, dword [ebp + 0x5c8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465f42
add ebp, 0x5cc
leave
ret
Function at 0x418990
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor esi, esi
push esi
push str.SOFTWAREJavaSoft
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, esi
je 0x4189e2
cmp edi, 2
jne 0x4189d0
push str.Could_not_find_HKEY_LOCAL_MACHINE__SOFTWAREJavaSoft_registry_key.
call fcn.00439ca9
xor edi, edi
jmp 0x4189da
push str.Could_not_open_HKEY_LOCAL_MACHINE__SOFTWAREJavaSoft_registry_key.
call fcn.00439ca9
pop ecx
mov eax, edi
jmp 0x418aaf
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
push 4
pop ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
mov esi, str.MSIStatusError
push esi
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call edi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x418a26
cmp eax, 0xea
je 0x418a26
cmp eax, 2
jne 0x418a42
and dword [ebp - 0x10], 0
jmp 0x418a42
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x418a42
push str.Could_not_delete_MSIStatusError_registry_value.
call fcn.00439ca9
pop ecx
and dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov esi, str.MSIStatusExtendedError
push esi
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call edi
mov edi, eax
pop ebx
test edi, edi
je 0x418a7a
cmp edi, 0xea
je 0x418a7a
cmp edi, 2
jne 0x418a95
xor edi, edi
jmp 0x418a95
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, eax
test edi, edi
je 0x418a95
push str.Could_not_delete_MSIStatusExtendedError_registry_value.
call fcn.00439ca9
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x418aaf
mov eax, edi
test edi, edi
jne 0x418aaf
mov eax, ecx
pop edi
pop esi
leave
ret
Function at 0x418ab3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push str.SOFTWAREJavaSoft
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
je 0x418aea
push str.Could_not_open_the_registry_key.
call fcn.00439ca9
pop ecx
mov eax, esi
jmp 0x418b6a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
and dword [ebp - 0xc], 0
push edi
push 4
pop edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0
push str.MSIStatusError
push dword [ebp - 4]
mov dword [ebp - 8], edi
call esi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x418b24
push str.Could_not_get_MSIStatusError_registry_value.
call fcn.00439ca9
pop ecx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0
push str.MSIStatusExtendedError
push dword [ebp - 4]
mov dword [ebp - 8], edi
call esi
mov esi, eax
pop edi
test esi, esi
je 0x418b50
push str.Could_not_get_MSIStatusExtendedError_registry_value.
call fcn.00439ca9
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x418b6a
mov eax, esi
test esi, esi
jne 0x418b6a
mov eax, ecx
pop esi
leave
ret
Function at 0x419656
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48568c
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
cmp dword [0x4c8640], 1
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov ebx, str.CheckFileIntegrity
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_wrappers_common_UpdateUtils.cpp
mov esi, 0x4c8640
jg 0x419702
test eax, eax
jne 0x4196b9
mov eax, 0x49b374
test ecx, ecx
jne 0x4196c2
mov ecx, 0x49b374
push eax
push ecx
push str.Verify_integrity_of___s__file_from___s_...
lea ecx, [esp + 0x2c]
call fcn.0044389e
add esp, 0xc
and dword [esp + 0x68], 0
push ebx
push 0x94
push edi
push 1
mov edx, eax
mov ecx, esi
call fcn.0043fde1
or dword [esp + 0x68], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.0040e7d9
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x419710
mov dword [esp + 0x1c], 1
jmp 0x41971b
push eax
call fcn.00439dcd
pop ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
call fcn.00419576
cmp dword [esp + 0x20], 0
pop ecx
mov dword [esp + 0x14], eax
je 0x419736
test eax, eax
je 0x4197a2
mov ecx, dword [esp + 0x18]
push 0
call fcn.00419576
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x4197a2
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x4c8640], 3
jg 0x4197a2
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41976a
mov eax, 0x49b374
push eax
push str.Integrity_verification_failed_for___s_
lea ecx, [esp + 0x44]
call fcn.0044389e
pop ecx
pop ecx
push ebx
push 0xab
push edi
push 3
mov edx, eax
mov ecx, esi
mov dword [esp + 0x78], 1
call fcn.0043fde1
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.0040e7d9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret

Function at 0x4197fd
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push dword [ebp + 8]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x419867
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x419857
inc eax
jmp 0x41987b
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
imul eax, dword [ebp - 0xc]
shr eax, 0x14
jmp 0x419875
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
shl eax, 0xc
shr ecx, 0x14
add eax, ecx
cmp eax, 0xf
sbb eax, eax
inc eax
pop esi
leave
ret
Function at 0x419e5f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x419eb4
cmp dword [ebp + 0xc], 1
je 0x419e99
cmp dword [ebp + 0xc], 2
je 0x419e99
push 0xd
pop eax
jmp 0x419eb4
mov eax, dword [ebp - 4]
test edi, edi
je 0x419eb0
test eax, eax
je 0x419ead
cmp byte [eax + edi - 1], 0
je 0x419eb0
jmp 0x419e94
mov byte [edi], 0
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x41a77e
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 0x10]
mov dword [ebp - 8], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor edi, edi
cmp eax, edi
jne 0x41a7ad
xor eax, eax
jmp 0x41a84f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x41a7a6
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x41a7a6
push ebx
xor ebx, ebx
cmp dword [ebp - 8], edi
jbe 0x41a826
mov dword [ebp - 0x18], 0x2000
mov eax, dword [ebp - 8]
sub eax, ebx
mov dword [ebp - 0x14], eax
cmp eax, 0x2000
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x14]
jb 0x41a802
lea eax, [ebp - 0x18]
push edi
lea ecx, [ebp - 0x10]
push ecx
push dword [eax]
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a840
mov eax, dword [ebp - 0x10]
add dword [ebp - 4], eax
add ebx, eax
cmp ebx, dword [ebp - 8]
jb 0x41a7ea
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41a84b
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x41a84e
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41a833
xor eax, eax
inc eax
pop ebx
pop edi
leave
ret
Function at 0x41b111
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x41b187
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x41b17c
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.004692b8
pop ecx
pop ecx
test eax, eax
jne 0x41b170
push dword [ebp + 8]
push dword [esp + 0x14]
call fcn.00439d56
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x41b153
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00465f42
mov esp, ebp
pop ebp
ret

Function at 0x41b341
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SOFTWAREJavaSoft
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41b379
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x41bac0
Capabilities:
Create directory

Disassembly:
sub esp, 0x804
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push ebp
push edi
push 0x7ff
xor ebp, ebp
lea eax, [esp + 0x11]
push ebp
push eax
mov byte [esp + 0x18], 0
call fcn.00468970
add esp, 0xc
mov ecx, esi
call fcn.00439c05
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str.Oracle_
push esi
call ebx
test eax, eax
je 0x41bb83
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebp
push esi
call edi
test eax, eax
jne 0x41bb28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp ebp, 0xb7
jne 0x41bb5e
push 0x49bc84
push esi
call ebx
test eax, eax
je 0x41bb5e
push 0
push esi
call edi
test eax, eax
jne 0x41bb4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp ebp, 0xb7
jne 0x41bb5e
push str.JAVA_INSTALL_FLAG
push esi
call ebx
test eax, eax
je 0x41bb5e
xor eax, eax
inc eax
jmp 0x41bb85
push ebp
push esi
push str.Fail_to_create_directory__s__ErrorCode_is__d
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push 0x800
push eax
call fcn.00466793
lea eax, [esp + 0x24]
push eax
call fcn.00439ca9
add esp, 0x1c
xor eax, eax
mov ecx, dword [esp + 0x80c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00465f42
add esp, 0x804
ret