joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d1c4e20
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_RegCreateKeyExA]
test eax, eax
je 0x6d1c4e71
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_RegQueryValueExA]
test eax, eax
jne 0x6d1c4eb7
mov eax, dword [esp]
push str.OfferedSPCnt
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
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 0x6d1c4ec4
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 0x6d1c4ef0
Capabilities:
Get common file path
Query environment variable
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
mov ebp, dword [esp + 0x21c]
lea eax, [esp + 8]
push esi
push eax
call dword [sym.imp.MSVCR100.dll__time64]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.MSVCR100.dll__localtime64]
add esp, 8
mov byte [esp + 0x118], 0
test eax, eax
je 0x6d1c4f57
push eax
call dword [sym.imp.MSVCR100.dll_asctime]
add esp, 4
test eax, eax
je 0x6d1c4f57
push eax
lea edx, [esp + 0x11c]
push str._n_s::
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x104
lea eax, [esp + 0x18]
push eax
push str.TMPDIR
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov esi, dword [sym.imp.kernel32.dll_lstrcatA]
test eax, eax
jne 0x6d1c4f88
lea ecx, [esp + 0x14]
push ecx
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
jmp 0x6d1c4f94
push 0x6d1cbb50
lea edx, [esp + 0x18]
push edx
call esi
push str.jusched.log
lea eax, [esp + 0x18]
push eax
call esi
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x6d1c5014
push ebx
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.kernel32.dll_SetFilePointer]
mov edi, dword [sym.imp.kernel32.dll_lstrlenA]
push 0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x128]
push eax
call edi
mov ebx, dword [sym.imp.kernel32.dll_WriteFile]
push eax
lea ecx, [esp + 0x12c]
push ecx
push esi
call ebx
push 0
lea edx, [esp + 0x14]
push edx
push ebp
call edi
push eax
push ebp
push esi
call ebx
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop ebx
mov ecx, dword [esp + 0x218]
pop esi
pop ebp
xor ecx, esp
call fcn.6d1c932c
add esp, 0x214
ret
Function at 0x6d1c5030
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x408], eax
push esi
push 0x3ff
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 1
xor esi, esi
push esi
push str.SoftwareMicroSoftWindowsCurrentVersionRunOnce
push SysReAllocString
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d1c50c9
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
push esi
push esi
push str.JavaInstallRetry
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d1c50be
lea edx, [esp + 0xc]
push str.JRERunOnce.exe
push edx
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
jne 0x6d1c50be
lea esi, [eax + 1]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.6d1c932c
add esp, 0x40c
ret

Function at 0x6d1c50f0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x98
push 0xfffffffffffffffe
push 0x6d1cfbe0
push 0x6d1c943c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6d1d54cc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x94], 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], 0x94
push 0x90
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_GetVersionExA]
cmp dword [ebp + 0x10], 2
jne 0x6d1c51a4
cmp dword [ebp + 4], 5
jb 0x6d1c51a4
mov dword [ebp - 4], edi
push str.Crypt32.dll
call fcn.6d1b30d0
add esp, 4
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, edi
je 0x6d1c5198
push str.CryptProtectData
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x6d1c5198
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.6d1c51cf
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 + 0x94]
xor ecx, ebp
call fcn.6d1c932c
lea esp, [ebp + 0x98]
pop ebp
ret
Function at 0x6d1c53a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
lea eax, [esp + 4]
push eax
push 1
xor edi, edi
push edi
push 0x6d1cdf5c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d1c540f
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_RegQueryValueExA]
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 0x6d1c5411
mov eax, edi
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
call fcn.6d1c932c
add esp, 0x20c
ret

Function at 0x6d1c5450
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
xor edi, edi
mov dword [esp + 4], 0x200
call fcn.6d1c53a0
test al, 0x10
jne 0x6d1c5481
call fcn.6d1c43f0
test eax, eax
jne 0x6d1c549c
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x210
ret
lea eax, [esp + 0xc]
push eax
push 1
push edi
push 0x6d1cdf5c
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d1c5521
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_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
pop esi
jne 0x6d1c5521
mov dword [esp + 8], edi
call fcn.6d1c50f0
test eax, eax
je 0x6d1c5513
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.6d1c8ef8
mov eax, dword [esp + 0x18]
add esp, 0x10
jmp 0x6d1c5517
mov eax, dword [esp + 0x10]
cmp eax, 0x64
mov eax, 1
je 0x6d1c5523
mov eax, edi
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
call fcn.6d1c932c
add esp, 0x210
ret

Function at 0x6d1c5540
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 2
push 0
push 0x6d1cdf5c
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d1c5576
mov ecx, dword [esp]
push str.EnableAutoUpdateCheck
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x6d1c5580
Capabilities:
Set registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x6d1cdf5c
push SysReAllocString
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x64
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x6d1c562a
call fcn.6d1c50f0
test eax, eax
je 0x6d1c55fb
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push 4
push ecx
call fcn.6d1c8ef8
add esp, 0x10
jmp 0x6d1c5603
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_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x214
ret

Function at 0x6d1c5810
Capabilities:
Get common file path
Parse url

Disassembly:
sub esp, 0x644
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
mov ebx, dword [esp + 0x650]
push esi
mov esi, dword [esp + 0x650]
push 0x3c
lea eax, [esp + 0xc]
push 0
push eax
mov byte [esp + 0x154], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0
lea ecx, [esp + 0x250]
push esi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0x400
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x6d1c58b8
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x48]
push ecx
push 0
lea edx, [esp + 0x254]
push 0
push edx
call dword [sym.imp.MSVCR100.dll__splitpath]
lea eax, [esp + 0x58]
push 0x6d1ce3dc
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 0x1c
test eax, eax
je 0x6d1c5902
push edi
xor edi, edi
cmp byte [esi], 0
mov eax, esi
je 0x6d1c58ed
mov esi, dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
cmp cl, 0x20
je 0x6d1c58d4
cmp cl, 9
jne 0x6d1c58d9
push eax
call esi
jmp 0x6d1c58c8
movsx edx, byte [eax]
mov ecx, edi
shl ecx, 5
sub ecx, edi
add ecx, edx
inc eax
cmp byte [eax], 0
mov edi, ecx
jne 0x6d1c58c8
push edi
lea eax, [esp + 0x4c]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
pop edi
push ebx
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov esi, dword [sym.imp.kernel32.dll_lstrcatA]
lea ecx, [esp + 0x44]
push ecx
push ebx
call esi
lea edx, [esp + 0x148]
push edx
push ebx
call esi
mov ecx, dword [esp + 0x648]
pop esi
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0x644
ret
Function at 0x6d1c5c10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x40c], eax
mov eax, dword [esp + 0x414]
push ebx
push ebp
mov ebp, dword [esp + 0x428]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x428]
push edi
mov edi, dword [esp + 0x428]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
cmp eax, ebx
jne 0x6d1c5c80
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push 0x6d1cdf5c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6d1c5c7c
mov ebx, 1
jmp 0x6d1c5c84
xor eax, eax
jmp 0x6d1c5cfb
mov dword [esp + 0x10], eax
push ebp
push esi
lea ecx, [esp + 0x20]
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x6d1c5ca5
mov dword [esp + 0x14], 1
jmp 0x6d1c5ce8
cmp esi, 2
je 0x6d1c5ce8
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x3ff
lea edx, [esp + 0x21]
push 0
push edx
mov ebp, eax
mov byte [esp + 0x28], 0
call sub.MSVCR100.dll_memset
push ebp
push esi
push edi
lea eax, [esp + 0x34]
push str.RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x3c]
push ecx
call fcn.6d1c4ef0
add esp, 0x24
test ebx, ebx
je 0x6d1c5cf7
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0x410
ret
Function at 0x6d1c5d20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
mov ebx, dword [esp + 0x824]
push ebp
mov ebp, dword [esp + 0x824]
push esi
mov esi, dword [esp + 0x820]
push edi
mov edi, dword [esp + 0x828]
xor eax, eax
push 0x3ff
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x24], al
lea eax, [esp + 0x25]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
test esi, esi
jne 0x6d1c5dcf
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push esi
push str.SoftwareJreMetrics
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x6d1c5da4
mov dword [esp + 0x14], 1
jmp 0x6d1c5dd3
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
push edi
lea edx, [esp + 0x28]
push str.GetJreMetrics_____RegOpenKeyEx__s_:_Error:_d__ErrorCode:_d_n
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x30]
push eax
call fcn.6d1c4ef0
add esp, 0x18
jmp 0x6d1c5e4f
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x10]
push ebx
push ebp
lea ecx, [esp + 0x20]
push ecx
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x6d1c5e3d
cmp esi, 2
je 0x6d1c5e3d
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x3ff
mov ebp, eax
lea eax, [esp + 0x421]
push 0
push eax
mov byte [esp + 0x428], 0
call sub.MSVCR100.dll_memset
push ebp
push esi
push edi
lea ecx, [esp + 0x434]
push str.GetJreMetrics_____RegQueryValueEx__s_:_Error:_d__ErrorCode:_d_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x43c]
push edx
call fcn.6d1c4ef0
add esp, 0x24
cmp dword [esp + 0x14], 0
je 0x6d1c5e4f
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x81c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0x810
ret
Function at 0x6d1c69d0
Capabilities:
Delete registry value
Query or enumerate registry key
Set registry value

Disassembly:
sub esp, 0x20
push ebx
xor ebx, ebx
push 0x20019
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.6d1b2d40
test eax, eax
je 0x6d1c6a20
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x6d1c6a19
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ebx
add esp, 0x20
ret
push ebp
mov ebp, dword [esp + 0x10]
push esi
push 0x2001f
push str.JavaSoft
push ebp
lea ecx, [esp + 0x2c]
call fcn.6d1b2d40
test eax, eax
je 0x6d1c6a5f
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x6d1c6a4f
push eax
call esi
cmp ebp, ebx
je 0x6d1c6a56
push ebp
call esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov esi, dword [esp + 0x34]
cmp esi, ebx
jne 0x6d1c6ab9
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
push eax
push esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x6d1c6ad6
cmp dword [esp + 0xc], ebx
jne 0x6d1c6ad6
cmp dword [esp + 0x10], ebx
jne 0x6d1c6ad6
push str.JavaSoft
lea ecx, [esp + 0x18]
call fcn.6d1b3d00
jmp 0x6d1c6ad6
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x28]
push 1
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x6d1c6ae4
push esi
call edi
cmp ebp, ebx
je 0x6d1c6aeb
push ebp
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x6d1c7270
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
sub esp, 0x40c
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.LocalFileName
xor ebp, ebp
push ebp
mov dword [esp + 0x1c], 0x400
call fcn.6d1c5c10
mov esi, dword [sym.imp.kernel32.dll_DeleteFileA]
add esp, 0x10
test eax, eax
je 0x6d1c72c0
cmp dword [esp + 0xc], ebp
je 0x6d1c72c0
lea edx, [esp + 0x14]
push edx
call esi
lea eax, [esp + 0x14]
push eax
call fcn.6d1c7100
add esp, 4
test eax, eax
je 0x6d1c72e8
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call fcn.6d1c5810
add esp, 8
lea eax, [esp + 0x14]
push eax
call esi
call fcn.6d1c4680
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0xc]
push ecx
push 0x2001f
push ebp
push 0x6d1cdf5c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], ebp
call ebx
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x6d1c732d
push str.PreDownldStatus
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x400
lea eax, [esp + 0x18]
push eax
push ebp
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x6d1c73e0
push edi
lea esp, [esp]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x24]
push edx
push SysStringLen
inc ebp
mov dword [esp + 0x24], 0
call ebx
test eax, eax
jne 0x6d1c73c1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push 0x6d1cdf5c
push eax
mov edi, eax
mov dword [esp + 0x28], 0
call ebx
test eax, eax
jne 0x6d1c73b6
mov esi, dword [esp + 0x14]
push str.VersionXmlURL
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test esi, esi
je 0x6d1c73b6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x6d1c73c1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x400
lea edx, [esp + 0x1c]
push edx
push ebp
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x6d1c7350
pop edi
mov ecx, dword [esp + 0x414]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0x40c
ret

Function at 0x6d1c7400
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ecx
push esi
push str.SunJavaUpdateShutdownEvent
push 0
push 0x1f0003
call dword [sym.imp.kernel32.dll_OpenEventA]
mov esi, eax
test esi, esi
je 0x6d1c7428
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [esp + 0xc], 0
pop esi
je 0x6d1c747b
call fcn.6d1c7270
call fcn.6d1c47d0
call fcn.6d1c43f0
test eax, eax
je 0x6d1c747b
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d1c747b
mov ecx, dword [esp]
push str.SunJavaUpdateSched
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret
Function at 0x6d1c8730
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x114
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x130]
push ebx
mov ebx, dword [esp + 0x124]
push ebp
mov ebp, dword [esp + 0x12c]
push esi
mov esi, dword [esp + 0x124]
push edi
mov edi, dword [esp + 0x12c]
push 0x6d1cec18
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.kernel32.dll_lstrcpyA]
push 0x6d1cb9cb
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.kernel32.dll_lstrcpyA]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push str.Country
push 0
mov dword [esp + 0x24], 3
call fcn.6d1c5c10
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
push str.PostStatusUrl
push 0
mov dword [esp + 0x34], pe_nt_image_headers32
call fcn.6d1c5c10
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x15c]
push str.sunjfxinstallstat
push edx
push eax
push ebp
push ebx
push 0x6d1ce91c
push 0x6d1ce91c
push 0xffffffffffffff9d
push ecx
push 0
push 0
push 0
push 0
lea edx, [esp + 0x64]
push edx
push edi
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.6d1c7480
mov ecx, dword [esp + 0x184]
add esp, 0x64
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0x114
ret
Function at 0x6d1c8830
Capabilities:
Delete registry value
Get common file path
Persist via run registry key

Disassembly:
sub esp, 0x614
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x610], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x624]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x19]
push ebx
push eax
mov byte [esp + 0x20], bl
call sub.MSVCR100.dll_memset
push 0x103
lea ecx, [esp + 0x129]
push ebx
push ecx
mov byte [esp + 0x130], bl
call sub.MSVCR100.dll_memset
push 0x3ff
lea edx, [esp + 0x239]
push ebx
push edx
xor ebp, ebp
mov byte [esp + 0x240], bl
call sub.MSVCR100.dll_memset
add esp, 0x24
call fcn.6d1c71c0
test eax, eax
jne 0x6d1c88be
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x610]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x614
ret
push edi
push 0x104
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
cmp esi, ebx
jne 0x6d1c88ed
push str._schtasks.exe__delete__tn_JavaUpdateSched__f
lea ecx, [esp + 0x1c]
push ecx
mov ebp, 1
call dword [sym.imp.kernel32.dll_lstrcatA]
jmp 0x6d1c8975
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x1c], ebx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x6d1c891c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call edi
push esi
cmp dword [esp + 0x18], ebx
je 0x6d1c8932
push str.__slib_task64.xml_
lea eax, [esp + 0x124]
push eax
jmp 0x6d1c893f
push str.__slib_task.xml_
lea ecx, [esp + 0x124]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.kernel32.dll_lstrcatA]
add esp, 0xc
push str._schtasks.exe__create__xml
lea edx, [esp + 0x1c]
push edx
call esi
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call esi
push str.__tn_JavaUpdateSched__f
lea edx, [esp + 0x1c]
push edx
call esi
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.6d1c45e0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x6d1c8a07
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d1c8a07
cmp ebp, ebx
jne 0x6d1c89d4
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.SunJavaUpdateSched
push edx
call edi
mov eax, dword [esp + 0x10]
push str.SunJavaUpdateReg
push eax
call edi
call fcn.6d1c47a0
call fcn.6d1c7270
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x224]
push str.create_delete_task_scheduler_successfully:_n_s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x22c]
push ecx
call fcn.6d1c4ef0
add esp, 0x10
mov ecx, dword [esp + 0x620]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0x614
ret