joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d5b4810
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.6d593190
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x6d5b4931
mov eax, dword [esp + 0x1c]
push 0x20019
push str.JavaSoft
push eax
lea ecx, [esp + 0x1c]
call fcn.6d593190
test eax, eax
jne 0x6d5b4914
lea ecx, [esp + 0x10]
push str.Java_Plug_in
push ecx
call fcn.6d5a5730
add esp, 8
test eax, eax
je 0x6d5b48f3
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.6d593190
mov edi, dword [esp + 0x28]
test eax, eax
je 0x6d5b48c8
push str.DeleteEmptyDeploymentKeysInHLKM:_failed_to_open_JRE_key
call fcn.6d5951a0
add esp, 4
jmp 0x6d5b48ec
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.6d592e00
push ebx
call fcn.6d5ac540
add esp, 8
cmp edi, esi
je 0x6d5b48f3
push edi
call ebp
lea edx, [esp + 0x10]
push str.Java_Web_Start
push edx
call fcn.6d5a5730
lea eax, [esp + 0x18]
push str.Java_Web_Start_Caps
push eax
call fcn.6d5a5730
add esp, 0x10
lea ecx, [esp + 0x1c]
push str.JavaSoft
push ecx
call fcn.6d5a5730
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, esi
je 0x6d5b4931
push eax
call ebp
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x6d5b493c
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x6d5ba8b0
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x6d5ba8c3
push 0x80004005
call fcn.6d595d00
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 0x6d5ba92e
mov ecx, dword [edi]
test ecx, ecx
je 0x6d5ba929
mov edx, dword [esp + 0x14]
test edx, edx
je 0x6d5ba951
cmp edx, 2
jbe 0x6d5ba933
cmp edx, 7
jne 0x6d5ba951
test cl, 1
jne 0x6d5ba924
shr ecx, 1
cmp ecx, 1
jb 0x6d5ba924
cmp word [esi + ecx*2 - 2], 0
jne 0x6d5ba924
cmp ecx, 1
jbe 0x6d5ba92e
cmp word [esi + ecx*2 - 4], 0
je 0x6d5ba92e
mov eax, 0xd
xor ecx, ecx
mov word [esi], cx
pop esi
pop edi
ret 0xc
test cl, 1
jne 0x6d5ba942
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x6d5ba92e
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 0x6d5ba9d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
mov eax, dword [0x6d5e2a5c]
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 0x6d5baa75
mov eax, dword [esp + 8]
cmp eax, 6
jne 0x6d5baa3d
mov eax, 1
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x11c
ret
cmp eax, 5
jne 0x6d5baa75
cmp dword [esp + 0xc], 1
jae 0x6d5baa23
cmp word [esp + 0x18], 0
je 0x6d5baa68
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 0x6d5baa75
cmp dword [esp], 2
jae 0x6d5baa23
mov ecx, dword [esp + 0x118]
xor ecx, esp
xor eax, eax
call fcn.6d5ca6ac
add esp, 0x11c
ret

Function at 0x6d5baa90
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x6d5e2a5c]
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 0x6d5bab04
mov eax, dword [esp + 4]
cmp eax, 6
jne 0x6d5baaf4
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x118
ret
cmp eax, 5
jne 0x6d5bab04
mov eax, 1
cmp dword [esp + 8], eax
je 0x6d5bab06
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x118
ret
Function at 0x6d5bac50
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 0x6d5bac74
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.6d5baa90
test eax, eax
je 0x6d5bad4f
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 0x6d5bada0
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 0x6d5bae1a
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 0x6d5bae20
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x28
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
push str.advapi32.dll
call fcn.6d594550
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
add esp, 4
mov esi, eax
push 0x6d5d7654
push esi
call edi
push 0x6d5d7640
push esi
mov dword [esp + 0x18], eax
call edi
push 0x6d5d762c
push esi
mov dword [esp + 0x30], eax
call edi
push str.EqualSid
push esi
mov ebp, eax
call edi
push 0x6d5d7618
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 0x6d5baf21
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 0x6d5baf0c
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.6d5ca6ac
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 0x6d5baf60
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 0x6d5baf60
add dword [esp + 0x10], 8
inc ebp
cmp ebp, dword [edi]
jb 0x6d5baf42
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 0x6d5baf92
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.6d5ca6ac
add esp, 0x28
ret
Function at 0x6d5bafb0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x6d5e2a5c]
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 0x6d5bb01b
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x114
call esi
test eax, eax
jne 0x6d5bb01b
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x120
ret
cmp dword [esp + 0x14], 2
jne 0x6d5bb04b
mov eax, dword [esp + 8]
cmp eax, 6
jae 0x6d5bb04b
cmp eax, 4
jb 0x6d5bb04b
call fcn.6d5bae20
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x120
ret
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
mov eax, 1
call fcn.6d5ca6ac
add esp, 0x120
ret
Function at 0x6d5bb560
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareJreMetrics
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x6d5bb5b1
xor eax, eax
add esp, 0x14
ret
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.OfferedSPCnt
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6d5bb5f7
mov eax, dword [esp]
push str.OfferedSPCnt
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
add esp, 0x14
ret
cmp eax, 2
je 0x6d5bb604
mov dword [esp + 4], 0xfffffffe
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
add esp, 0x14
ret
Function at 0x6d5bb620
Capabilities:
Get common file path
Query environment variable
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x6d5e2a5c]
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 + 0x6d5cda3c]
mov word [esp + ecx + 0x224], dx
add ecx, 2
test dx, dx
jne 0x6d5bb660
test eax, eax
je 0x6d5bb6a0
push eax
call dword [sym.imp.MSVCR100.dll__wasctime]
add esp, 4
test eax, eax
je 0x6d5bb6a0
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 0x6d5bb6cb
lea ecx, [esp + 0x1c]
push ecx
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x6d5bb6e6
lea edi, [esp + 0x1c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x6d5bb6d2
mov edx, dword [0x6d5ce20c]
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 0x6d5bb6f0
mov ecx, dword [str.jusched.log]
mov edx, dword [0x6d5d78c4]
mov dword [eax], ecx
mov ecx, dword [0x6d5d78c8]
push 0
mov dword [eax + 4], edx
mov edx, dword [0x6d5d78cc]
push 0x80
mov dword [eax + 8], ecx
mov ecx, dword [0x6d5d78d0]
push 4
mov dword [eax + 0xc], edx
mov edx, dword [0x6d5d78d4]
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 0x6d5bb7f5
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
jne 0x6d5bb781
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 0x6d5bb7a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d5bb7a0
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 0x6d5bb7d0
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.6d5ca6ac
add esp, 0x41c
ret
Function at 0x6d5bb810
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x6d5e2a5c]
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 SysReAllocString
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6d5bb8aa
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 0x6d5bb89f
lea eax, [esp + 0xc]
push str.JRERunOnce.exe
push eax
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x6d5bb89f
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.6d5ca6ac
add esp, 0x80c
ret

Function at 0x6d5bb8d0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x118]
sub esp, 0x118
push 0xfffffffffffffffe
push 0x6d5db640
push 0x6d5ca792
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6d5e2a5c]
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 pe_nt_image_headers32
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 0x6d5bb984
cmp dword [ebp + 4], 5
jb 0x6d5bb984
mov dword [ebp - 4], edi
push str.Crypt32.dll
call fcn.6d594550
add esp, 4
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, edi
je 0x6d5bb978
push str.CryptProtectData
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x6d5bb978
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.6d5bb9af
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.6d5ca6ac
lea esp, [ebp + 0x118]
pop ebp
ret
Function at 0x6d5bbb80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x6d5e2a5c]
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 0x6d5bbbf2
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 0x6d5bbbf4
mov eax, edi
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x20c
ret

Function at 0x6d5bbc30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
xor edi, edi
mov dword [esp + 4], 0x200
call fcn.6d5bbb80
test al, 0x10
jne 0x6d5bbc61
call fcn.6d5ba9d0
test eax, eax
jne 0x6d5bbc7c
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x210
ret
lea eax, [esp + 0xc]
push eax
push 0x201
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6d5bbd04
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 0x6d5bbd04
mov dword [esp + 8], edi
call fcn.6d5bb8d0
test eax, eax
je 0x6d5bbcf6
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.6d5ca1c9
mov eax, dword [esp + 0x18]
add esp, 0x10
jmp 0x6d5bbcfa
mov eax, dword [esp + 0x10]
cmp eax, 0x64
mov eax, 1
je 0x6d5bbd06
mov eax, edi
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x210
ret

Function at 0x6d5bbd20
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x202
push 0
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6d5bbd59
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 0x6d5bbd60
Capabilities:
Set registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x6d5e2a5c]
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 SysReAllocString
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 0x6d5bbe0a
call fcn.6d5bb8d0
test eax, eax
je 0x6d5bbddb
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push 4
push ecx
call fcn.6d5ca1c9
add esp, 0x10
jmp 0x6d5bbde3
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.6d5ca6ac
add esp, 0x214
ret
Function at 0x6d5bc020
Capabilities:
Get common file path
Parse url

Disassembly:
sub esp, 0xc48
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0xc44], eax
push ebx
mov ebx, dword [esp + 0xc54]
push esi
mov esi, dword [esp + 0xc54]
push edi
xor eax, eax
push 0x3c
push eax
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x25c], ax
call sub.MSVCR100.dll_memset
lea edx, [esp + 0x45c]
mov eax, esi
mov dword [esp + 0x44], edx
add esp, 0xc
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x3c], 0x400
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d5bc080
lea ecx, [esp + 0xc]
push ecx
sub eax, edx
push 0
sar eax, 1
push eax
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
je 0x6d5bc0d8
lea edx, [esp + 0x250]
push edx
lea eax, [esp + 0x4c]
push eax
push 0
lea ecx, [esp + 0x45c]
push 0
push ecx
call dword [sym.imp.MSVCR100.dll__wsplitpath]
lea edx, [esp + 0x5c]
push 0x6d5d7a14
push edx
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 0x1c
test eax, eax
je 0x6d5bc122
xor edi, edi
mov eax, esi
cmp word [esi], di
je 0x6d5bc10e
mov esi, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x6d5bc0f4
cmp ecx, 9
jne 0x6d5bc0f9
push eax
call esi
jmp 0x6d5bc0e7
mov ecx, edi
shl ecx, 5
sub ecx, edi
movzx edi, word [eax]
add eax, 2
add edi, ecx
cmp word [eax], 0
jne 0x6d5bc0e7
push edi
lea eax, [esp + 0x4c]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
lea eax, [esp + 0x48]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d5bc134
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x6d5bc144
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x250]
rep movsb byte es:[edi], byte [esi]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d5bc170
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x6d5bc180
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc50]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0xc48
ret