joyce8/EMBER2024-capa huggingface dataset:
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.1005e425
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.1005e425
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.1005e425
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.1005e425
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.1005e425
pop ecx
cmp esi, ebx
je 0x1001cc72
mov ecx, esi
call fcn.10001238
xor eax, eax
jmp 0x1001ccbe
push esi
call fcn.1005e425
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.1005e425
push edx
push eax
push 0x100760bc
lea eax, [ebp]
push 0x800
push eax
call fcn.1005e425
add esp, 0x20
mov edi, 0x2001f
push edi
push 0x100760c8
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
lea ecx, [ebp - 0x20]
call fcn.1005e425
mov dword [ebp - 0x10], eax
cmp eax, 2
jne 0x1001fa13
push str._setSystemWebJavaEnabled:_OK_regkey_does_not_exists
call fcn.1005e425
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.1005e425
test eax, eax
je 0x1001fcf6
call fcn.1005e425
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.1005e425
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.1005e425
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.1005e425
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.1005e425
test eax, eax
jne 0x10024d67
push ebx
push 0x1007d870
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
call fcn.1005e425
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.1005e425
test eax, eax
je 0x10024d08
push str.DeleteEmptyDeploymentKeysInHLKM:_failed_to_open_JRE_key
call fcn.1005e425
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
Function at 0x10025a83
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003c230
push 0xffffffffffffffff
push 0x100709f1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
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
mov ebx, dword [ebp + 0x100c]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x2c], esi
push 0xffe
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], ebx
call fcn.1003c260
add esp, 0xc
push 0x10075dfa
mov ecx, ebx
call fcn.1000b23a
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
push str.GetLatestJavawsVersion__:
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0x800
call fcn.1005e425
pop ecx
cmp dword [ebp + 0x1010], esi
je 0x10025b30
mov edi, 0x20219
push str.___checking_32_bit
jmp 0x10025b3a
mov edi, 0x20119
push str.___checking_64_bit
call fcn.1005e425
pop ecx
push edi
push 0x10077ae8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x28]
call fcn.1005e425
cmp eax, esi
je 0x10025b97
push str.___failed_to_open_SOFTWAREJavaSoftJava_Web_Start
call fcn.1005e425
pop ecx
lea ecx, [ebp - 0x28]
call fcn.100159e6
lea ecx, [ebp - 0x28]
call fcn.100159e6
mov eax, ebx
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
lea eax, [ebp - 0x38]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10025b62
push str.___Processing_key:
lea ecx, [ebp - 0x10]
call fcn.1000b23a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.100010b1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, esi
je 0x10025bf6
call fcn.10001238
mov dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x10]
cmp edi, esi
je 0x10025c01
mov eax, dword [edi]
jmp 0x10025c03
xor eax, eax
push eax
call fcn.1005e425
lea eax, [ebp + 0x1010]
push eax
lea eax, [ebp]
push eax
call fcn.10022208
add esp, 0xc
test eax, eax
jne 0x10025c53
lea eax, [ebp + 0x1010]
push eax
lea eax, [ebp]
push eax
call fcn.10021ef5
pop ecx
pop ecx
test eax, eax
jne 0x10025c53
push 0x10077bb0
call fcn.1005e425
lea eax, [ebp]
push eax
call fcn.1005e425
pop ecx
xor eax, eax
pop ecx
mov word [ebp], ax
jmp 0x10025c7a
mov eax, dword [ebx]
cmp eax, esi
je 0x10025c5d
mov eax, dword [eax]
jmp 0x10025c5f
xor eax, eax
push eax
lea eax, [ebp]
push eax
call fcn.1005e425
pop ecx
pop ecx
test eax, eax
jle 0x10025c7a
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.100012bc
inc dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x800
mov byte [ebp - 4], 1
cmp edi, esi
je 0x10025b97
mov ecx, edi
call fcn.10001238
mov dword [ebp - 0x10], esi
jmp 0x10025b97
Function at 0x100292a2
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, dword [ebp + 0x1bc]
push esi
mov esi, dword [ebp + 0x1c0]
push 0x1007ee58
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1005e425
add esp, 0xc
test eax, eax
jne 0x1002940b
push esi
call fcn.1005e425
pop ecx
test eax, eax
jne 0x1002940b
push edi
xor edi, edi
inc edi
jmp 0x100293de
cmp dword [ebp - 0x78], 0x4034b50
jne 0x10029401
cmp word [ebp - 0x70], 0
jne 0x10029401
push dword [ebp - 0x7c]
movzx eax, word [ebp - 0x5e]
movzx esi, word [ebp - 0x5e]
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.1005e425
add esp, 0x10
cmp eax, esi
jne 0x10029401
xor eax, eax
mov word [ebp + esi*2 - 0x58], ax
lea eax, [ebp - 0x58]
push eax
call fcn.1005e425
cmp word [ebp - 0x5c], 0
pop ecx
jbe 0x10029366
movzx eax, word [ebp - 0x5c]
push edi
push eax
push dword [ebp - 0x7c]
call fcn.10041526
add esp, 0xc
test eax, eax
jne 0x10029401
movzx eax, word [ebp - 0x5e]
cmp word [ebp + eax*2 - 0x5a], 0x2f
je 0x100293de
push 0x1007ee60
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1005e425
add esp, 0xc
test eax, eax
jne 0x10029401
mov eax, dword [ebp - 0x62]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1005e425
push dword [ebp - 0x7c]
mov esi, eax
push dword [ebp - 0x62]
push edi
push esi
call fcn.1005e425
add esp, 0x14
cmp eax, dword [ebp - 0x62]
jne 0x100293fa
push dword [ebp - 0x80]
push dword [ebp - 0x62]
push edi
push esi
call fcn.1003e7a9
add esp, 0x10
push esi
cmp eax, dword [ebp - 0x62]
jne 0x100293fb
call fcn.1005e425
push dword [ebp - 0x80]
call fcn.1003e5de
pop ecx
pop ecx
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push edi
push 0x1e
push eax
call fcn.1005e425
add esp, 0x10
cmp eax, edi
je 0x100292fc
jmp 0x10029401
push esi
call fcn.1005e425
pop ecx
push dword [ebp - 0x7c]
call fcn.1003e5de
pop ecx
pop edi
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
pop esi
call fcn.1003c09c
add ebp, 0x1b4
leave
ret