joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b3e3
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa8
push ebx
or eax, 0xffffffff
xor ebx, ebx
mov dword [ebp + 0x6c], eax
cmp dword [ebp + 0x78], ebx
je 0x1001b53b
call fcn.100329aa
push 0x10
mov dword [ebp + 0x68], eax
pop ecx
lea eax, [ebp + 0x54]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1001b40e
push edi
mov dword [ebp + 0x64], ebx
call fcn.10030b79
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
je 0x1001b4b1
push 0x100773b0
call fcn.1006d75b
mov dword [esp], str.AdvAPI32.dll
call fcn.1006d75b
pop ecx
mov dword [ebp + 0x64], eax
cmp eax, ebx
jne 0x1001b453
push str.RunAsDesktopUser___CreateProcessWithTokenW_could_not_load_advapi32.dll
jmp 0x1001b4ff
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp + 0x50], eax
cmp eax, ebx
jne 0x1001b470
push str.RunAsDesktopUser___CreateProcessWithTokenW_could_not_GetProcAddress
jmp 0x1001b4ff
push str.RunAsDesktopUser___calling__CreateProcessWithTokenW
call fcn.1006d75b
pop ecx
push 0x44
pop ecx
lea eax, [ebp - 0x38]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1001b481
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x7c]
mov dword [ebp - 0x38], 0x44
push dword [ebp + 0x78]
push ebx
push dword [ebp + 0x68]
call dword [ebp + 0x50]
test eax, eax
jne 0x1001b507
push str.RunAsDesktopUser:_CreateProcessWithTokenW_failed.
jmp 0x1001b4ff
push 0x10077618
call fcn.1006d75b
push 0x44
lea eax, [ebp + 0xc]
push ebx
push eax
call fcn.1003c260
add esp, 0x10
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 0x30
push ebx
push ebx
push ebx
push dword [ebp + 0x7c]
mov dword [ebp + 0xc], 0x44
push dword [ebp + 0x78]
mov dword [ebp + 0x14], str.winsta0default
push dword [ebp + 0x68]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x1001b507
push str.RunAsDesktopUser:_CreateProcessAsUser_failed.
call fcn.1006d75b
pop ecx
jmp 0x1001b529
cmp dword [ebp + 0x54], ebx
je 0x1001b529
push 0xffffffffffffffff
push dword [ebp + 0x54]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp + 0x6c]
push eax
push dword [ebp + 0x54]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push dword [ebp + 0x54]
call edi
push dword [ebp + 0x64]
call dword [sym.imp.kernel32.dll_FreeLibrary]
push dword [ebp + 0x68]
call edi
mov eax, dword [ebp + 0x6c]
pop edi
pop ebx
add ebp, 0x70
leave
ret
Function at 0x1001b64e
Capabilities:
Enumerate process modules
Get process image filename
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x108c]
mov eax, 0x110c
call fcn.1003c230
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x1088], eax
lea eax, [ebp - 0x80]
push eax
push 0x1000
lea eax, [ebp - 0x7c]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x1001b6e4
shr dword [ebp - 0x80], 2
push esi
xor esi, esi
cmp dword [ebp - 0x80], esi
jbe 0x1001b6e3
push edi
push dword [ebp + esi*4 - 0x7c]
push 0
push 0x1f0fff
call dword [sym.imp.kernel32.dll_OpenProcess]
mov edi, eax
push 0x104
lea eax, [ebp + 0xf84]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
lea eax, [ebp + 0xf84]
push 0x1007a7fc
push eax
call fcn.10040ab0
pop ecx
pop ecx
test eax, eax
je 0x1001b6d5
push 0
push edi
call dword [sym.imp.kernel32.dll_TerminateProcess]
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 0x80]
jb 0x1001b690
pop edi
pop esi
mov ecx, dword [ebp + 0x1088]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x108c
leave
ret

Function at 0x1001b9f7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x794]
sub esp, 0x814
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x790], eax
push ebx
push esi
mov esi, dword [ebp + 0x79c]
push edi
mov edi, dword [ebp + 0x7a0]
xor ebx, ebx
xor eax, eax
push 0x7fe
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
call fcn.1003c260
mov eax, dword [esi]
add esp, 0xc
push 0x2001f
push edi
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x74], ebx
call fcn.1006d75b
cmp eax, ebx
jne 0x1001ba87
push 0x400
lea eax, [ebp - 0x70]
push eax
push ebx
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1001ba93
lea ecx, [ebp - 0x80]
call fcn.100159e6
push edi
mov ecx, esi
call fcn.10015968
test eax, eax
jmp 0x1001ba8a
cmp eax, 2
jne 0x1001ba93
mov dword [ebp - 0x74], 1
lea ecx, [ebp - 0x80]
call fcn.100159e6
mov ecx, dword [ebp + 0x790]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0x794
leave
ret
Function at 0x1001c93d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003c230
push 0xffffffffffffffff
push 0x1006f509
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push 0x10075f68
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001c9f9
push 0x10075fa0
lea ecx, [ebp - 0x10]
call fcn.1000b23a
and dword [ebp - 4], 0
push 0x10075fd8
lea ecx, [ebp - 0x14]
call fcn.100010b1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1001c9d1
call fcn.10001238
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1001c9dc
mov eax, dword [esi]
jmp 0x1001c9de
xor eax, eax
push eax
call fcn.1006d75b
pop ecx
test esi, esi
je 0x1001caf4
mov ecx, esi
call fcn.10001238
jmp 0x1001caf4
xor eax, eax
push 0xffe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov dword [ebp - 0x18], 0x800
call fcn.1003c260
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x10075fbc
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001cae9
push str._WebJava_value:
lea ecx, [ebp - 0x14]
call fcn.1000b23a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.100010b1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.1000132e
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1001ca78
call fcn.10001238
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1001ca83
mov eax, dword [esi]
jmp 0x1001ca85
xor eax, eax
push eax
call fcn.1006d75b
pop ecx
lea eax, [ebp]
mov ecx, 0x10076044
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1001caba
test dx, dx
je 0x1001cab6
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1001caba
add ecx, 4
add eax, 4
test dx, dx
jne 0x1001ca94
xor eax, eax
jmp 0x1001cabf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001cade
push str._System_WebJava_DISABLED
call fcn.1006d75b
pop ecx
test esi, esi
je 0x1001cad9
mov ecx, esi
call fcn.10001238
xor eax, eax
inc eax
jmp 0x1001caf6
test esi, esi
je 0x1001cae9
mov ecx, esi
call fcn.10001238
push str._System_WebJava_ENABLED
call fcn.1006d75b
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x1004
leave
ret
Function at 0x1001cb17
Capabilities:
Get file version info

Disassembly:
push 0x24
mov eax, 0x1006f571
call fcn.1003c0ab
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x1001cc76
call dword [sym.imp.kernel32.dll_GetLastError]
push str.GetFileVersion_for__
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.1000b23a
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.100010b1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x1001cb7d
call fcn.10001238
push str.__FAILED
lea ecx, [ebp - 0x14]
call fcn.1000b23a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x1001cba9
call fcn.10001238
lea ecx, [ebp - 0x14]
cmp esi, 2
jne 0x1001cbc1
push str.__file_does_not_exist_
call fcn.1000b23a
mov byte [ebp - 4], 3
jmp 0x1001cc3b
push 0x10076688
call fcn.1000b23a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x1001cbe7
call fcn.10001238
push 0x13
pop eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.1001c56f
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x1001cc1d
call fcn.10001238
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x10076698
lea ecx, [ebp - 0x14]
call fcn.1000b23a
mov byte [ebp - 4], 7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x1001cc53
call fcn.10001238
mov esi, dword [ebp - 0x10]
cmp esi, ebx
je 0x1001cc5e
mov eax, dword [esi]
jmp 0x1001cc60
xor eax, eax
push eax
call fcn.1006d75b
pop ecx
cmp esi, ebx
je 0x1001cc72
mov ecx, esi
call fcn.10001238
xor eax, eax
jmp 0x1001ccbe
push esi
call fcn.1006d75b
pop ecx
mov edi, eax
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x1001ccbb
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x1007669c
push edi
call sub.version.dll_VerQueryValueW
mov eax, dword [ebp - 0x18]
movzx edx, word [eax + 0xa]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
movzx edx, word [eax + 8]
mov dword [ecx + 4], edx
movzx eax, word [eax + 0xe]
mov dword [ecx + 8], eax
xor eax, eax
inc eax
call fcn.1003c183
ret
Function at 0x1001f968
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003c230
push 0xffffffffffffffff
push 0x1006fdb9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
push 0xffe
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.1003c260
call fcn.1006d75b
push edx
push eax
push 0x100760bc
lea eax, [ebp]
push 0x800
push eax
call fcn.1006d75b
add esp, 0x20
mov edi, 0x2001f
push edi
push 0x100760c8
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
lea ecx, [ebp - 0x20]
call fcn.1006d75b
mov dword [ebp - 0x10], eax
cmp eax, 2
jne 0x1001fa13
push str._setSystemWebJavaEnabled:_OK_regkey_does_not_exists
call fcn.1006d75b
pop ecx
jmp 0x1001fa35
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str._setSystemWebJavaEnabled:_open_JavaDeploy_subkey
call fcn.100010b1
push dword [ebp - 0x10]
call fcn.1001f556
pop ecx
pop ecx
cmp eax, ebx
je 0x1001fb11
push 0x100761cc
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x10], eax
cmp eax, 2
jne 0x1001fa4e
mov dword [ebp - 0x10], ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str._setSystemWebJavaEnabled:_delete_WebDeployJava
call fcn.100010b1
push dword [ebp - 0x10]
call fcn.1001f556
pop ecx
pop ecx
cmp eax, ebx
je 0x1001fb11
push edi
lea eax, [ebp]
push eax
push 0x10076248
push 0x10076284
push esi
call fcn.1001f24b
add esp, 0x14
push 0x100762c8
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
call fcn.100010b1
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, esp
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], esp
mov dword [ecx], eax
cmp eax, ebx
je 0x1001fab5
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
push dword [ebp - 0x10]
call fcn.1001f556
push edi
push 0x100762bc
push 0x10076320
push 0x10076358
push esi
call fcn.1001f24b
add esp, 0x1c
push str.___Create_HKLM_webjavaswitch_status_enabled
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.100012bc
mov esi, dword [ebp - 0x14]
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], esi
cmp esi, ebx
je 0x1001fafe
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
push edi
call fcn.1001f556
pop ecx
pop ecx
cmp esi, ebx
je 0x1001fb11
mov ecx, esi
call fcn.10001238
lea ecx, [ebp - 0x20]
call fcn.100159e6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x1004
leave
ret
Function at 0x1001fcb9
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x1006fe29
call fcn.1003c0ab
mov esi, dword [ebp + 8]
xor eax, eax
mov word [esi], ax
call fcn.100309ee
test eax, eax
je 0x1001fd04
call fcn.1006d75b
test eax, eax
je 0x1001fcf6
call fcn.1006d75b
test eax, eax
je 0x1001fcf6
push 0x800
push esi
call dword [sym.imp.kernel32.dll_GetSystemWow64DirectoryW]
jmp 0x1001fd10
push 0x800
push esi
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
jmp 0x1001fd10
push 0x800
push esi
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
push str.__get_system_dir__
lea ecx, [ebp + 8]
mov edi, eax
call fcn.1000b23a
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x10]
call fcn.100010b1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.1000132e
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1001fd4c
call fcn.10001238
push 0x10076910
lea ecx, [ebp - 0x10]
call fcn.1000b23a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.1000132e
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1001fd79
call fcn.10001238
mov esi, dword [ebp + 8]
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], esi
test esi, esi
je 0x1001fd92
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
test edi, edi
setne al
movzx eax, al
push eax
call fcn.1001f69e
pop ecx
pop ecx
test esi, esi
je 0x1001fdad
mov ecx, esi
call fcn.10001238
mov eax, edi
call fcn.1003c183
ret
Function at 0x10022c6b
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x64
mov eax, 0x100704a8
call fcn.1003c0ab
lea eax, [ebp - 0x1c]
push eax
call fcn.1006d75b
pop ecx
mov esi, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x10022c9a
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
push 0x1007a9a4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.100010b1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1000132e
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x10022ccb
call fcn.10001238
push 0x1007a634
lea ecx, [ebp - 0x10]
call fcn.100010b1
push 0x1007a6b4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.100010b1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.1000132e
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp ecx, ebx
je 0x10022d09
call fcn.10001238
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000132e
push 0x1007a77c
lea ecx, [ebp - 0x18]
call fcn.100010b1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.1000132e
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp ecx, ebx
je 0x10022d42
call fcn.10001238
push 0x1007aa40
lea ecx, [ebp - 0x18]
call fcn.100010b1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.1000132e
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x10022d6b
call fcn.10001238
push 0x40
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.1003c260
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x70], 0x44
stosd dword es:[edi], eax
cmp esi, ebx
je 0x10022d94
mov edx, dword [esi]
jmp 0x10022d96
xor edx, edx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10022da1
mov ecx, dword [eax]
jmp 0x10022da3
xor ecx, ecx
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x10022dae
mov eax, dword [edi]
jmp 0x10022db0
xor eax, eax
lea esi, [ebp - 0x2c]
push esi
lea esi, [ebp - 0x70]
push esi
push edx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x10022e03
push 0x2bf20
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10022df3
push 1
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_TerminateProcess]
call fcn.1001b64e
push dword [ebp - 0x28]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x10022e0f
call fcn.10001238
cmp edi, ebx
je 0x10022e1a
mov ecx, edi
call fcn.10001238
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x10022e26
call fcn.10001238
call fcn.1003c183
ret
Function at 0x10022e2c
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x64
mov eax, 0x100704fb
call fcn.1003c0ab
lea eax, [ebp - 0x1c]
push eax
call fcn.1006d75b
pop ecx
mov esi, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x10022e5b
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
push 0x1007aa24
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.100010b1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1000132e
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x10022e8c
call fcn.10001238
push 0x1007a80c
lea ecx, [ebp - 0x10]
call fcn.100010b1
push 0x1007a9bc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.100010b1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.1000132e
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp ecx, ebx
je 0x10022eca
call fcn.10001238
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000132e
push 0x1007aa3c
lea ecx, [ebp - 0x18]
call fcn.100010b1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.1000132e
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp ecx, ebx
je 0x10022f03
call fcn.10001238
push str.__wait__fix__shortcut__silent
lea ecx, [ebp - 0x18]
call fcn.100010b1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.1000132e
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x10022f2c
call fcn.10001238
push 0x40
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.1003c260
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x70], 0x44
stosd dword es:[edi], eax
cmp esi, ebx
je 0x10022f55
mov edx, dword [esi]
jmp 0x10022f57
xor edx, edx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10022f62
mov ecx, dword [eax]
jmp 0x10022f64
xor ecx, ecx
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x10022f6f
mov eax, dword [edi]
jmp 0x10022f71
xor eax, eax
lea esi, [ebp - 0x2c]
push esi
lea esi, [ebp - 0x70]
push esi
push edx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x10022fc4
push 0x2bf20
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10022fb4
push 1
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_TerminateProcess]
call fcn.1001b64e
push dword [ebp - 0x28]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0x2c]
call esi
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x10022fd0
call fcn.10001238
cmp edi, ebx
je 0x10022fdb
mov ecx, edi
call fcn.10001238
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x10022fe7
call fcn.10001238
call fcn.1003c183
ret
Function at 0x10022fed
Capabilities:
Delete registry value

Disassembly:
push 0x10
mov eax, 0x1007051e
call fcn.1003c0ab
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push 0x2001f
push str.SOFTWAREOracleJavaFX
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
inc ebx
call fcn.1006d75b
test eax, eax
je 0x10023037
lea ecx, [ebp - 0x1c]
mov esi, ebx
call fcn.100159e6
mov eax, esi
call fcn.1003c183
ret
push str.Disabled
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
cmp edi, esi
je 0x1002306a
cmp edi, 2
je 0x1002306a
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.cleanupJavaFXDisabledEntry_error
call fcn.100010b1
push edi
call fcn.1001f556
pop ecx
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.100159e6
jmp 0x10023025
Function at 0x10024c63
Capabilities:
Delete registry value

Disassembly:
push 0x28
mov eax, 0x10070875
call fcn.1003c0ab
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov ebx, 0x20019
push ebx
push 0x1007d7bc
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1006d75b
test eax, eax
jne 0x10024d67
push ebx
push 0x1007d870
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
call fcn.1006d75b
test eax, eax
jne 0x10024d57
lea eax, [ebp - 0x1c]
push 0x1007d884
push eax
call fcn.1001b9f7
pop ecx
pop ecx
test eax, eax
je 0x10024d38
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
push 0x20006
push 0x1007d8a0
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1006d75b
test eax, eax
je 0x10024d08
push str.DeleteEmptyDeploymentKeysInHLKM:_failed_to_open_JRE_key
call fcn.1006d75b
jmp 0x10024d2f
push 0x1007d968
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.DeleteEmptyDeploymentKeysInHLKM:_Remove_BrowserJavaVersion_value
mov esi, eax
call fcn.100010b1
push esi
call fcn.1001f556
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.100159e6
lea eax, [ebp - 0x1c]
push str.Java_Web_Start
push eax
call fcn.1001b9f7
lea eax, [ebp - 0x1c]
push str.Java_Web_Start_Caps
push eax
call fcn.1001b9f7
add esp, 0x10
lea eax, [ebp - 0x28]
push 0x1007da5c
push eax
call fcn.1001b9f7
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.100159e6
lea ecx, [ebp - 0x28]
call fcn.100159e6
call fcn.1003c183
ret