joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40513d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402854
and dword [ebp - 4], 0
cmp dword [0x40d8ec], 0
mov ebx, eax
jne 0x4051ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40529f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40529f
push eax
call fcn.004027e2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40d8ec], eax
call esi
push eax
call fcn.004027e2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40d8f0], eax
call esi
push eax
call fcn.004027e2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40d8f4], eax
call esi
push eax
call fcn.004027e2
pop ecx
mov dword [0x40d8fc], eax
test eax, eax
je 0x4051ee
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004027e2
pop ecx
mov dword [0x40d8f8], eax
mov eax, dword [0x40d8f8]
cmp eax, ebx
je 0x405246
cmp dword [0x40d8fc], ebx
je 0x405246
push eax
call fcn.0040285d
push dword [0x40d8fc]
mov esi, eax
call fcn.0040285d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405246
test edi, edi
je 0x405246
call esi
test eax, eax
je 0x40523d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40523d
test byte [ebp - 0xc], 1
jne 0x405246
or dword [ebp + 0x10], 0x200000
jmp 0x40527f
mov eax, dword [0x40d8f0]
cmp eax, ebx
je 0x40527f
push eax
call fcn.0040285d
pop ecx
test eax, eax
je 0x40527f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40527f
mov eax, dword [0x40d8f4]
cmp eax, ebx
je 0x40527f
push eax
call fcn.0040285d
pop ecx
test eax, eax
je 0x40527f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40d8ec]
call fcn.0040285d
pop ecx
test eax, eax
je 0x40529f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4052a1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001f60
Capabilities:
Check for sandbox and av modules

Disassembly:
push str.pstorec.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
jne 0x10001f81
push str.pstorec.dll
call fcn.10003eb0
add esp, 4
test eax, eax
jne 0x10001f81
ret
push str.PStoreCreateInstance
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
ret

Function at 0x100024e0
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xfffffffffffffffe
push 0x1004b080
push 0x1003b8cc
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100530a0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0xff
or ebx, 0xffffffff
push str.Secur32.dll
call fcn.10003eb0
add esp, 4
mov dword [ebp - 0x1c], eax
push str.LsaEnumerateLogonSessions
push eax
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
call esi
mov edi, eax
push str.LsaGetLogonSessionData
push dword [ebp - 0x1c]
call esi
mov dword [ebp - 0x3c], eax
push str.LsaFreeReturnBuffer
push dword [ebp - 0x1c]
call esi
mov dword [ebp - 0x28], eax
test edi, edi
je 0x1000258e
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call edi
mov ebx, eax
mov ecx, dword [ebp - 0x20]
mov eax, 1
test ebx, ebx
cmovne ecx, eax
mov dword [ebp - 0x20], ecx
xor esi, esi
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
cmp esi, ecx
jge 0x1000264d
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x1000264d
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x30]
lea eax, [eax + esi*8]
push eax
call ecx
test eax, eax
jne 0x1000264d
mov edi, dword [ebp - 0x24]
cmp dword [edi + 0x20], eax
je 0x1000263e
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp]
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0x10]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10002619
test dx, dx
je 0x10002615
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10002619
add eax, 4
add ecx, 4
test dx, dx
jne 0x100025f3
xor eax, eax
jmp 0x1000261e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000263e
mov ebx, dword [edi + 4]
mov dword [ebp - 0x48], ebx
mov eax, dword [edi + 8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], esi
push edi
mov edi, dword [ebp - 0x28]
call edi
inc esi
mov ecx, dword [ebp - 0x20]
jmp 0x100025a6
test edi, edi
je 0x10002656
push dword [ebp - 0x30]
call edi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10002664
push eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
mov edx, dword [ebp - 0x34]
jmp 0x10002694
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.1003b4ee
lea esp, [ebp + 0x204]
pop ebp
ret 8
Function at 0x10003850
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
test edi, edi
je 0x100038b5
cmp dword [edi], 0
mov esi, dword [esi]
je 0x10003895
push 0x1003e9d0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x100038ab
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x100038ab
push 0
push dword [edi]
push 0
push 0
push dword [esp + 0x1c]
push esi
call eax
pop edi
pop esi
ret 4
cmp dword [edi + 4], 0
je 0x100038ab
push dword [esp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
cmp byte [0x1005394c], 0
jne 0x100038f5
push 0x1003e9d0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x100038e7
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x10053948], eax
mov byte [0x1005394c], 1
jmp 0x100038fa
mov eax, dword [0x10053948]
mov byte [0x1005394c], 1
jmp 0x100038fa
mov eax, dword [0x10053948]
test eax, eax
je 0x10003910
push 0
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esi]
call eax
pop edi
pop esi
ret 4
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4

Function at 0x10003ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push esi
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x1c]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10003b35
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x10003b03
cmp eax, 2
jne 0x10003b20
mov ecx, dword [esp + 0x14]
test esi, esi
je 0x10003b2f
test ecx, ecx
je 0x10003b2a
test cl, 1
jne 0x10003b20
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x10003b2f
pop edi
mov eax, 0xd
pop esi
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
ret 0xc
Function at 0x10003b40
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x220
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebp
mov ebp, ecx
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x228]
push esi
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 4]
or eax, 0x2001f
mov dword [esp + 0x10], 0
push eax
push ecx
push dword [ebp]
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], 0
call fcn.10003a10
mov esi, eax
test esi, esi
jne 0x10003c2d
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
call edi
test eax, eax
jne 0x10003c00
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.10003b40
mov esi, eax
test esi, esi
jne 0x10003c2c
lea eax, [esp + 0x20]
mov dword [esp + 0xc], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
call edi
test eax, eax
je 0x10003bc7
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10003c17
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
push dword [esp + 0x1c]
mov ecx, ebp
mov dword [esp + 0x18], 0
call fcn.10003850
mov esi, eax
pop edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10003c3c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x224]
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.1003b4ee
add esp, 0x220
ret 4
Function at 0x10003ca0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x22c
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x228], eax
push ebp
mov ebp, dword [esp + 0x234]
lea eax, [esp + 0x10]
push str.JAVA_REGDEPLOY_DEBUG
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wdupenv_s]
add esp, 0xc
test eax, eax
jne 0x10003e8f
push ebx
push esi
push edi
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [0x1005393c], 0
jne 0x10003e3f
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
cmp eax, 0x104
ja 0x10003e8c
test eax, eax
je 0x10003e8c
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.100032a0
push str.JavaDeployReg.log
lea ecx, [esp + 0x18]
call fcn.100032a0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.10003700
mov esi, dword [esp + 0x14]
or edi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x10003d92
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x10003d92
mov eax, dword [esi]
test eax, eax
je 0x10003d70
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003d87
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10003d9e
mov eax, dword [esi]
jmp 0x10003da0
xor eax, eax
push 0x1003f624
push eax
push 0x1005393c
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
add esp, 0xc
test eax, eax
je 0x10003e02
test esi, esi
je 0x10003e8c
lock xadd dword [esi + 8], edi
dec edi
jne 0x10003e8c
mov eax, dword [esi]
test eax, eax
je 0x10003ddb
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003df2
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
jmp 0x10003e8c
test esi, esi
je 0x10003e3f
lock xadd dword [esi + 8], edi
dec edi
jne 0x10003e3f
mov eax, dword [esi]
test eax, eax
je 0x10003e1d
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10003e34
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
test ebp, ebp
je 0x10003e8c
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
movzx eax, word [esp + 0x2e]
push ebp
push eax
movzx eax, word [esp + 0x34]
push eax
movzx eax, word [esp + 0x36]
push eax
movzx eax, word [esp + 0x38]
push eax
movzx eax, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3c]
push eax
push str.__04u__02u__02u__02u:_02u:_02u._03u___s__n
push dword [0x1005393c]
call fcn.10005870
add esp, 0x28
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x22c]
pop ebp
xor ecx, esp
call fcn.1003b4ee
add esp, 0x22c
ret
Function at 0x10003eb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
mov esi, dword [esp + 0x41c]
lea eax, [esp + 4]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10003f4e
cmp eax, 0x104
ja 0x10003f4e
push 0x208
lea eax, [esp + 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x220]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [esp + 0x20c]
push eax
call fcn.1003c33a
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.1003b4ee
add esp, 0x414
ret
mov ecx, dword [esp + 0x414]
xor eax, eax
pop esi
xor ecx, esp
call fcn.1003b4ee
add esp, 0x414
ret

Function at 0x10003f70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
xor eax, eax
mov dword [esp + 0x14], 0x44
xorps xmm0, xmm0
mov word [esp + 0x56], ax
mov word [esp + 0x44], ax
lea eax, [esp]
push eax
push 0x2000000
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x4e], xmm0
movlpd qword [esp + 0x56], xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x48], 1
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000403d
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1000403d
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x8000008
push 0
push 0
push 0
push dword [esp + 0x80]
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1000403d
push dword [esp + 0x64]
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 1
add esp, 0x58
ret
xor eax, eax
add esp, 0x58
ret
Function at 0x10004620
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1003ce70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100530a0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x214]
xor eax, eax
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
js 0x10004765
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.100032a0
mov eax, dword [eax]
test eax, eax
je 0x1000469f
mov eax, dword [eax]
jmp 0x100046a1
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
add esp, 0x10
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x10004705
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
mov dword [ebp - 0x1c], eax
jne 0x10004705
test esi, esi
je 0x10004705
mov eax, dword [esi]
test eax, eax
je 0x100046e3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100046fa
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x1000473b
xor eax, eax
test edi, edi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1003b4ee
lea esp, [ebp + 0x20c]
pop ebp
ret
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.10005d80
add esp, 8
push 0
push edi
call fcn.1003c33a
int3
Function at 0x10005170
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x114], eax
cmp dword [0x10053960], 0
je 0x100051a7
mov eax, dword [0x10053964]
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1003b4ee
add esp, 0x118
ret
push pe_nt_image_headers32
lea eax, [esp + 8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp], 0x114
lea eax, [esp]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x100051e1
cmp dword [esp + 4], 6
jb 0x100051e1
mov eax, 1
jmp 0x100051e3
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov dword [0x10053964], eax
mov dword [0x10053960], 1
call fcn.1003b4ee
add esp, 0x118
ret

Function at 0x10005210
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x114], eax
cmp dword [0x10053950], 0
je 0x10005247
mov eax, dword [0x10053954]
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1003b4ee
add esp, 0x118
ret
push pe_nt_image_headers32
lea eax, [esp + 8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp], 0x114
lea eax, [esp]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
ja 0x1000528c
jne 0x10005285
cmp dword [esp + 4], 5
ja 0x1000528c
jne 0x10005285
cmp dword [esp + 8], 1
jae 0x1000528c
mov eax, dword [0x10053954]
jmp 0x10005296
mov eax, 1
mov dword [0x10053954], eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov dword [0x10053950], 1
call fcn.1003b4ee
add esp, 0x118
ret

Function at 0x10005440
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x10005449
ret
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
ret

Function at 0x100058a0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x100058cf
push dword [esp + 0xc]
push esi
push str.USERPROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x100058c8
push dword [esp + 0xc]
push esi
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10006370
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x10]
push ebx
mov bl, byte [esp + 0x10]
push edi
mov edi, ecx
test edx, edx
je 0x100063da
cmp eax, 0xffffffff
jne 0x100063b3
test bl, bl
je 0x10006397
pop edi
mov eax, 0x57
pop ebx
ret 0x10
mov ecx, edx
push esi
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100063a0
sub ecx, esi
sar ecx, 1
pop esi
lea eax, [ecx + 1]
add eax, eax
mov ecx, 7
push eax
push edx
test bl, bl
mov eax, 1
cmovne eax, ecx
push eax
push 0
push dword [esp + 0x20]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
ret 0x10
push 0x80004005
call fcn.10006240
int3
Function at 0x100068d0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1870
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x186c], eax
push 0x400
lea eax, [esp + 0x1070]
push eax
push 1
push 0x1003fa44
call fcn.10004480
add esp, 0x10
test eax, eax
je 0x10006a09
lea eax, [esp + 0x106c]
push eax
push str._s_ssvagent.exe
lea eax, [esp + 0x874]
push 0x400
push eax
call fcn.10005d50
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x880]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
add esp, 0x18
test eax, eax
jne 0x10006a09
cmp byte [esp + 0x187c], al
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6c]
je 0x10006962
push str.__forceinstall__register__new__high
jmp 0x10006967
push str.__disablewebjava
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
add esp, 0xc
movlpd qword [esp + 8], xmm0
lea eax, [esp + 0x6c]
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0
mov dword [esp], 0x3c
mov dword [esp + 0x14], eax
call fcn.10005170
test eax, eax
mov dword [esp + 4], 0x40
lea eax, [esp + 0x86c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], eax
mov ecx, str.runas
cmove ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
mov dword [esp + 0x10], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10006a09
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10006a09
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esp + 0x38]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x186c]
xor ecx, esp
call fcn.1003b4ee
add esp, 0x1870
ret 0xc
Function at 0x10007420
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1024
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x1020], eax
mov eax, dword [esp + 0x1030]
mov ecx, dword [esp + 0x1028]
push ebx
mov bl, byte [esp + 0x1038]
test eax, eax
je 0x100075cd
push esi
push edi
push eax
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.10003580
add esp, 0xc
mov dword [esp + 0x14], 0
xor eax, eax
mov dword [esp + 0x18], 0
cmp bl, 1
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x14]
push 0x2001f
push dword [0x10053084]
sete al
add eax, 0x80000001
push eax
call fcn.10003a10
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10007574
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
test eax, eax
je 0x100074d3
mov eax, dword [eax]
jmp 0x100074d5
xor eax, eax
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 0
push 0
push 0x2001f
push 0
push 0
push eax
push esi
call fcn.10006260
mov edi, dword [esp + 0x20]
test eax, eax
jne 0x10007562
push ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x34]
xor ebp, ebp
push eax
push ebp
push ebp
push str.UninstallString
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x30]
push str.javaws.exe
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
mov ecx, 1
test eax, eax
cmovne ebp, ecx
test edi, edi
je 0x10007541
push edi
call ebx
xor edi, edi
test ebp, ebp
pop ebp
je 0x10007562
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10007552
mov eax, dword [eax]
jmp 0x10007554
xor eax, eax
push eax
lea ecx, [esp + 0x18]
call fcn.10003b40
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1000756b
push esi
call ebx
xor esi, esi
test edi, edi
je 0x10007578
push edi
call ebx
jmp 0x10007578
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1000757f
push esi
call ebx
mov esi, dword [esp + 0xc]
test esi, esi
je 0x100075cb
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x100075cb
test esi, esi
je 0x100075cb
mov eax, dword [esi]
test eax, eax
je 0x100075a9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100075c0
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x1024]
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x1024
ret 0x10