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

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor eax, eax
push edi
mov word [ebx], ax
call fcn.10003310
test eax, eax
je 0x1001aa26
call fcn.100035c0
test eax, eax
je 0x1001aa18
call fcn.10003580
test eax, eax
je 0x1001aa18
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetSystemWow64DirectoryW]
jmp 0x1001aa32
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
jmp 0x1001aa32
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
push 0xc
mov dword [esp + 0x10], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
push str.__get_system_dir__
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10030fd0
push 0xc
mov dword [esi], eax
mov dword [esp + 0x1c], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
lea edi, [esi + 8]
push ebx
mov dword [esi + 4], 0
mov dword [edi], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x1001aa9b
push 0x8007000e
call fcn.10030fd0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.10004760
mov ebx, dword [sym.imp.kernel32.dll_InterlockedDecrement]
push edi
call ebx
test eax, eax
jne 0x1001aae0
mov eax, dword [esi]
test eax, eax
je 0x1001aac7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001aad7
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1001aa91
lea edi, [esi + 8]
push 0x1003ecc8
mov dword [esi + 4], 0
mov dword [edi], 1
call fcn.10030fd0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
mov dword [esi], eax
mov dword [esp + 0x14], esi
call fcn.10004760
push edi
call ebx
test eax, eax
jne 0x1001ab4b
mov eax, dword [esi]
test eax, eax
je 0x1001ab32
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001ab42
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x1001ab62
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
test edi, edi
setne cl
movzx edx, cl
push edx
call fcn.10019f50
add esp, 8
test esi, esi
je 0x1001abab
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x1001abab
mov eax, dword [esi]
test eax, eax
je 0x1001ab92
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001aba2
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x1001fd10
Capabilities:
Delete registry value

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
push 0x2001f
push str.SOFTWAREOracleJavaFX
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ebp, 1
call fcn.10003190
test eax, eax
je 0x1001fd67
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1001fda5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov edi, dword [esp + 0xc]
push str.Disabled
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
je 0x1001fd9a
cmp esi, 2
je 0x1001fd9a
push ecx
mov ecx, esp
push str.cleanupJavaFXDisabledEntry_error
call fcn.10002e00
push esi
call fcn.10019c30
add esp, 8
xor ebp, ebp
test edi, edi
je 0x1001fda5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 0xc
ret
Function at 0x10021ea0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x20019
push str.SOFTWARE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.10003190
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10021fc1
mov eax, dword [esp + 0x1c]
push 0x20019
push str.JavaSoft
push eax
lea ecx, [esp + 0x1c]
call fcn.10003190
test eax, eax
jne 0x10021fa4
lea ecx, [esp + 0x10]
push str.Java_Plug_in
push ecx
call fcn.10014ec0
add esp, 8
test eax, eax
je 0x10021f83
push 0x20006
push str.SOFTWAREJavaSoftJava_Runtime_Environment
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.10003190
mov edi, dword [esp + 0x28]
test eax, eax
je 0x10021f58
push str.DeleteEmptyDeploymentKeysInHLKM:_failed_to_open_JRE_key
call fcn.10004ff0
add esp, 4
jmp 0x10021f7c
push str.BrowserJavaVersion
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ecx
mov ecx, esp
push str.DeleteEmptyDeploymentKeysInHLKM:_Remove_BrowserJavaVersion_value
mov ebx, eax
call fcn.10002e00
push ebx
call fcn.10019c30
add esp, 8
cmp edi, esi
je 0x10021f83
push edi
call ebp
lea edx, [esp + 0x10]
push str.Java_Web_Start
push edx
call fcn.10014ec0
lea eax, [esp + 0x18]
push str.Java_Web_Start_Caps
push eax
call fcn.10014ec0
add esp, 0x10
lea ecx, [esp + 0x1c]
push str.JavaSoft
push ecx
call fcn.10014ec0
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, esi
je 0x10021fc1
push eax
call ebp
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x10021fcc
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x10026d90
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x10026da3
push 0x80004005
call fcn.10005b50
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x10026e0e
mov ecx, dword [edi]
test ecx, ecx
je 0x10026e09
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10026e31
cmp edx, 2
jbe 0x10026e13
cmp edx, 7
jne 0x10026e31
test cl, 1
jne 0x10026e04
shr ecx, 1
cmp ecx, 1
jb 0x10026e04
cmp word [esi + ecx*2 - 2], 0
jne 0x10026e04
cmp ecx, 1
jbe 0x10026e0e
cmp word [esi + ecx*2 - 4], 0
je 0x10026e0e
mov eax, 0xd
xor ecx, ecx
mov word [esi], cx
pop esi
pop edi
ret 0xc
test cl, 1
jne 0x10026e22
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x10026e0e
xor edx, edx
mov word [esi], dx
pop esi
mov eax, 0xd
pop edi
ret 0xc
xor eax, eax
mov word [esi], ax
pop esi
mov eax, 0xd
pop edi
ret 0xc

Function at 0x10026eb0
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x118], eax
push 0x114
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x114
call dword [sym.imp.kernel32.dll_GetVersionExW]
cmp dword [esp + 0x14], 2
jne 0x10026f55
mov eax, dword [esp + 8]
cmp eax, 6
jne 0x10026f1d
mov eax, 1
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1003779c
add esp, 0x11c
ret
cmp eax, 5
jne 0x10026f55
cmp dword [esp + 0xc], 1
jae 0x10026f03
cmp word [esp + 0x18], 0
je 0x10026f48
lea edx, [esp]
push edx
lea eax, [esp + 0x1c]
push str.Service_Pack__d
push eax
call dword [sym.imp.MSVCR100.dll_swscanf]
add esp, 0xc
cmp dword [esp + 0xc], 0
jne 0x10026f55
cmp dword [esp], 2
jae 0x10026f03
mov ecx, dword [esp + 0x118]
xor ecx, esp
xor eax, eax
call fcn.1003779c
add esp, 0x11c
ret

Function at 0x10026f70
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x114
lea eax, [esp + 4]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.kernel32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x10026fe4
mov eax, dword [esp + 4]
cmp eax, 6
jne 0x10026fd4
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1003779c
add esp, 0x118
ret
cmp eax, 5
jne 0x10026fe4
mov eax, 1
cmp dword [esp + 8], eax
je 0x10026fe6
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1003779c
add esp, 0x118
ret
Function at 0x10027130
Capabilities:
Delete registry value
Get geographical location

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10027154
xor eax, eax
pop ecx
ret
mov ecx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.LocalFileName
push ecx
call esi
mov edx, dword [esp + 4]
push str.InstallOptions
push edx
call esi
mov eax, dword [esp + 4]
push str.UpdateDescription
push eax
call esi
mov ecx, dword [esp + 4]
push str.UpdateTitle1
push ecx
call esi
mov edx, dword [esp + 4]
push str.UpdateTitle2
push edx
call esi
mov eax, dword [esp + 4]
push str.UpdateMoreInfoUrl
push eax
call esi
mov ecx, dword [esp + 4]
push str.BalloonTitle
push ecx
call esi
mov edx, dword [esp + 4]
push str.BalloonTip
push edx
call esi
mov eax, dword [esp + 4]
push str.DlgCaption
push eax
call esi
mov ecx, dword [esp + 4]
push str.MoreInfoTxt
push ecx
call esi
mov edx, dword [esp + 4]
push str.PreDownld
push edx
call esi
mov eax, dword [esp + 4]
push str.UrlInfo
push eax
call esi
mov ecx, dword [esp + 4]
push str.NumTries
push ecx
call esi
mov edx, dword [esp + 4]
push str.LastUDCheckTime
push edx
call esi
mov eax, dword [esp + 4]
push str.VersionXmlChecksum
push eax
call esi
mov ecx, dword [esp + 4]
push str.Country
push ecx
call esi
call fcn.10026f70
test eax, eax
je 0x1002722f
mov edx, dword [esp + 4]
push str.TransferJobID
push edx
call esi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x10027280
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100272fa
mov ecx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.NewJREVersion
push ecx
call esi
mov edx, dword [esp + 4]
push str.VisitorId
push edx
call esi
mov eax, dword [esp + 4]
push str.UpdateDetected
push eax
call esi
mov ecx, dword [esp + 4]
push str.UpdAvailNotifyCnt
push ecx
call esi
mov edx, dword [esp + 4]
push str.UpdAvailNotifyTime
push edx
call esi
mov eax, dword [esp + 4]
push str.UpdAvailElapsed
push eax
call esi
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x10027300
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x28
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
push str.advapi32.dll
call fcn.10004550
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
add esp, 4
mov esi, eax
push 0x1004431c
push esi
call edi
push 0x10044308
push esi
mov dword [esp + 0x18], eax
call edi
push 0x100442f4
push esi
mov dword [esp + 0x30], eax
call edi
push str.EqualSid
push esi
mov ebp, eax
call edi
push 0x100442e0
push esi
mov dword [esp + 0x2c], eax
call edi
xor ebx, ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x58], ebx
mov word [esp + 0x5c], 0x500
mov dword [esp + 0x44], ebx
call dword [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
push 8
mov dword [esp + 0x1c], ebx
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push 2
push ecx
mov dword [esp + 0x30], ebx
call ebp
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x10027401
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x18]
push ecx
call dword [esp + 0x24]
cmp esi, ebx
je 0x100273ec
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1003779c
add esp, 0x28
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
push edi
push 2
push ecx
call ebp
xor ebp, ebp
cmp dword [edi], ebx
jbe 0x10027440
lea edx, [edi + 4]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [esp + 0x2c]
test eax, eax
jne 0x10027440
add dword [esp + 0x10], 8
inc ebp
cmp ebp, dword [edi]
jb 0x10027422
xor eax, eax
cmp ebp, dword [edi]
push edi
setne al
mov ebp, eax
call dword [sym.imp.MSVCR100.dll_free]
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
push edx
call dword [esp + 0x24]
cmp esi, ebx
je 0x10027472
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x28
ret
Function at 0x10027490
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x11c
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR100.dll_memset
mov esi, dword [sym.imp.kernel32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call esi
test eax, eax
jne 0x100274fb
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x114
call esi
test eax, eax
jne 0x100274fb
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.1003779c
add esp, 0x120
ret
cmp dword [esp + 0x14], 2
jne 0x1002752b
mov eax, dword [esp + 8]
cmp eax, 6
jae 0x1002752b
cmp eax, 4
jb 0x1002752b
call fcn.10027300
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.1003779c
add esp, 0x120
ret
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
mov eax, 1
call fcn.1003779c
add esp, 0x120
ret
Function at 0x10027a40
Capabilities:
Get common file path
Query environment variable
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
mov ebx, dword [esp + 0x424]
push esi
lea eax, [esp + 0x10]
push edi
push eax
call dword [sym.imp.MSVCR100.dll__time64]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.MSVCR100.dll__localtime64]
add esp, 8
xor ecx, ecx
lea esp, [esp]
movzx edx, word [ecx + 0x1003a9fc]
mov word [esp + ecx + 0x224], dx
add ecx, 2
test dx, dx
jne 0x10027a80
test eax, eax
je 0x10027ac0
push eax
call dword [sym.imp.MSVCR100.dll__wasctime]
add esp, 4
test eax, eax
je 0x10027ac0
push eax
lea edx, [esp + 0x228]
push str._r_n_s::
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x104
lea eax, [esp + 0x20]
push eax
push str.TMPDIR
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x10027aeb
lea ecx, [esp + 0x1c]
push ecx
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x10027b06
lea edi, [esp + 0x1c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10027af2
mov edx, dword [0x1003b0cc]
mov dword [edi], edx
lea eax, [esp + 0x1c]
add eax, 0xfffffffe
lea ecx, [ecx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10027b10
mov ecx, dword [str.jusched.log]
mov edx, dword [0x10044548]
mov dword [eax], ecx
mov ecx, dword [0x1004454c]
push 0
mov dword [eax + 4], edx
mov edx, dword [0x10044550]
push 0x80
mov dword [eax + 8], ecx
mov ecx, dword [0x10044554]
push 4
mov dword [eax + 0xc], edx
mov edx, dword [0x10044558]
push 0
mov dword [eax + 0x10], ecx
push 2
mov dword [eax + 0x14], edx
push 0x40000000
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10027c15
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x10027ba1
push 0
lea ecx, [esp + 0x14]
push ecx
push 2
lea edx, [esp + 0x18]
push edx
push esi
mov word [esp + 0x20], 0xfeff
call edi
push 2
push 0
push 0
push esi
call dword [sym.imp.kernel32.dll_SetFilePointer]
lea eax, [esp + 0x224]
lea edx, [eax + 2]
jmp 0x10027bc0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10027bc0
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x230]
push eax
push esi
call edi
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10027bf0
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [eax + eax]
push edx
push ebx
push esi
call edi
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003779c
add esp, 0x41c
ret
Function at 0x10027c30
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x808], eax
push esi
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [esp + 4]
push edx
push 1
xor esi, esi
push esi
push str.SoftwareMicroSoftWindowsCurrentVersionRunOnce
push SysReAllocStringLen
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10027cca
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push esi
push str.JavaInstallRetry
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10027cbf
lea eax, [esp + 0xc]
push str.JRERunOnce.exe
push eax
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x10027cbf
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x80c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1003779c
add esp, 0x80c
ret

Function at 0x10027cf0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x118
push 0xfffffffffffffffe
push 0x10047b78
push 0x10037882
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1004f860]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x114], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp], 0x114
push 0x110
push edi
lea eax, [ebp + 4]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp]
push ecx
call dword [sym.imp.kernel32.dll_GetVersionExW]
cmp dword [ebp + 0x10], 2
jne 0x10027da4
cmp dword [ebp + 4], 5
jb 0x10027da4
mov dword [ebp - 4], edi
push str.Crypt32.dll
call fcn.10004550
add esp, 4
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, edi
je 0x10027d98
push str.CryptProtectData
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x10027d98
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.10027dcf
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.1003779c
lea esp, [ebp + 0x118]
pop ebp
ret
Function at 0x10027fa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
lea eax, [esp + 4]
push eax
push 0x201
xor edi, edi
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028012
push esi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.ITCONFIG
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [esp + 0x10]
test esi, esi
pop esi
je 0x10028014
mov eax, edi
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
call fcn.1003779c
add esp, 0x20c
ret

Function at 0x10028050
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
xor edi, edi
mov dword [esp + 4], 0x200
call fcn.10027fa0
test al, 0x10
jne 0x10028081
call fcn.10026eb0
test eax, eax
jne 0x1002809c
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1003779c
add esp, 0x210
ret
lea eax, [esp + 0xc]
push eax
push 0x201
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028124
mov eax, dword [esp + 0xc]
push esi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
push edi
push str.EnableAutoUpdateCheck
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
pop esi
jne 0x10028124
mov dword [esp + 8], edi
call fcn.10027cf0
test eax, eax
je 0x10028116
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10030fd0
mov eax, dword [esp + 0x18]
add esp, 0x10
jmp 0x1002811a
mov eax, dword [esp + 0x10]
cmp eax, 0x64
mov eax, 1
je 0x10028126
mov eax, edi
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
call fcn.1003779c
add esp, 0x210
ret

Function at 0x10028140
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x202
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10028179
mov ecx, dword [esp]
push str.EnableAutoUpdateCheck
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x10028180
Capabilities:
Set registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2021f
push 0
push 0
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocStringLen
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x64
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1002822a
call fcn.10027cf0
test eax, eax
je 0x100281fb
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push 4
push ecx
call fcn.10030fd0
add esp, 0x10
jmp 0x10028203
mov edx, dword [esp + 4]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 8]
mov edx, dword [esp]
push eax
lea ecx, [esp + 0x14]
push ecx
push 3
push 0
push str.EnableAutoUpdateCheck
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1003779c
add esp, 0x214
ret