joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002087e
Capabilities:
Get file version info

Disassembly:
push 0x24
mov eax, 0x10069636
call fcn.1003b136
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x100209d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GetFileVersion_for__
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.100127e8
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.1000154d
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x100208e4
call fcn.100016dc
push str.__FAILED
lea ecx, [ebp - 0x14]
call fcn.100127e8
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x10020910
call fcn.100016dc
lea ecx, [ebp - 0x14]
cmp esi, 2
jne 0x10020928
push str.__file_does_not_exist_
call fcn.100127e8
mov byte [ebp - 4], 3
jmp 0x100209a2
push 0x100812c0
call fcn.100127e8
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1002094e
call fcn.100016dc
push 0x13
pop eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x14]
call fcn.10005798
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.10001683
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10020984
call fcn.100016dc
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x30]
mov byte [ebp - 4], bl
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x100812d0
lea ecx, [ebp - 0x14]
call fcn.100127e8
mov byte [ebp - 4], 7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100209ba
call fcn.100016dc
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x100209c3
mov ebx, dword [esi]
push ebx
call fcn.100300e1
pop ecx
test esi, esi
je 0x100209d5
mov ecx, esi
call fcn.100016dc
xor eax, eax
jmp 0x10020a22
push esi
call fcn.1003b394
pop ecx
mov edi, eax
push edi
push esi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10020a1f
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x100812d4
push edi
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
movzx eax, word [edx + 0xa]
mov dword [ecx], eax
movzx eax, word [edx + 8]
mov dword [ecx + 4], eax
movzx eax, word [edx + 0xe]
mov dword [ecx + 8], eax
xor eax, eax
inc eax
call fcn.1003b113
ret
Function at 0x100210af
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x10069749
call fcn.1003b136
mov esi, dword [ebp + 8]
xor eax, eax
mov word [esi], ax
call fcn.1002e60f
test eax, eax
je 0x100210fa
call fcn.1002eacb
test eax, eax
je 0x100210ec
call fcn.1002e8ca
test eax, eax
je 0x100210ec
push 0x800
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x10021106
push 0x800
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x10021106
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.100127e8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push esi
call fcn.1000154d
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp + 8]
call fcn.10001683
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10021142
call fcn.100016dc
push 0x10081548
lea ecx, [ebp - 0x10]
call fcn.100127e8
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp + 8]
call fcn.10001683
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1002116f
call fcn.100016dc
mov esi, dword [ebp + 8]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x1002117f
lock inc dword [esi + 8]
test edi, edi
setne al
movzx eax, al
push eax
call fcn.1002a231
pop ecx
pop ecx
test esi, esi
je 0x1002119a
mov ecx, esi
call fcn.100016dc
mov eax, edi
call fcn.1003b113
ret
Function at 0x10022086
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov ebx, 0x208
push ebx
push 0
push eax
call fcn.1003d660
add esp, 0xc
lea eax, [ebp - 0x20c]
mov edi, 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1002212c
cmp eax, edi
ja 0x1002212c
push ebx
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1003d660
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x10081f04
push 0xffffffffffffffff
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.10007014
add esp, 0x24
test eax, eax
jg 0x1002210a
push str.LoadSystemLibrary:__snprintf_failed.
jmp 0x10022131
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x10022128
push str.LoadSystemLibrary:_LoadLibrary___failed.
call fcn.100300e1
pop ecx
mov eax, esi
jmp 0x10022139
push str.LoadSystemLibrary:_GetSystemDirectory_failed.
call fcn.100300e1
xor eax, eax
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b105
leave
ret
Function at 0x10022148
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xa4
or dword [esp + 4], 0xffffffff
push ebx
mov ebx, dword [esp + 0xac]
test ebx, ebx
jne 0x10022167
or eax, 0xffffffff
jmp 0x100222d2
call fcn.1002ee9f
push 0x10
mov dword [esp + 8], eax
lea ecx, [esp + 0x10]
pop edx
mov byte [ecx], 0
inc ecx
sub edx, 1
jne 0x10022177
push ebp
push esi
push edi
xor esi, esi
call fcn.1002e714
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10022240
push 0x10081fe8
call fcn.100300e1
mov dword [esp], str.AdvAPI32.dll
call fcn.10022086
mov esi, eax
pop ecx
test esi, esi
jne 0x100221bc
push str.RunAsDesktopUser___CreateProcessWithTokenW_could_not_load_advapi32.dll
jmp 0x100221d5
push str.CreateProcessWithTokenW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x100221e4
push str.RunAsDesktopUser___CreateProcessWithTokenW_could_not_GetProcAddress
call fcn.100300e1
mov ebx, dword [esp + 0x14]
pop ecx
jmp 0x100222c1
push str.RunAsDesktopUser___calling__CreateProcessWithTokenW
call fcn.100300e1
pop ecx
push 0x44
pop ebp
mov ecx, ebp
lea eax, [esp + 0x70]
xor edx, edx
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x100221fa
lea eax, [esp + 0x18]
mov dword [esp + 0x70], ebp
push eax
lea eax, [esp + 0x74]
push eax
push edx
push edx
push edx
push dword [esp + 0xd0]
push ebx
mov ebx, dword [esp + 0x2c]
push edx
push ebx
call dword [esp + 0x4c]
test eax, eax
jne 0x10022239
push str.RunAsDesktopUser:_CreateProcessWithTokenW_failed.
call fcn.100300e1
pop ecx
jmp 0x100222c1
cmp dword [esp + 0x18], 0
jmp 0x1002229e
push 0x10082250
call fcn.100300e1
push 0x44
pop ebp
push ebp
lea eax, [esp + 0x34]
push 0
push eax
call fcn.1003d660
add esp, 0x10
mov dword [esp + 0x2c], ebp
lea eax, [esp + 0x18]
mov dword [esp + 0x34], str.winsta0default
push eax
lea eax, [esp + 0x30]
push eax
xor eax, eax
push eax
push eax
push 0x30
push eax
push eax
push eax
push dword [esp + 0xdc]
push ebx
mov ebx, dword [esp + 0x38]
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x1002229a
push str.RunAsDesktopUser:_CreateProcessAsUser_failed.
jmp 0x1002222e
cmp dword [esp + 0x18], esi
je 0x100222c1
push 0xffffffffffffffff
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0x18]
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call edi
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
Function at 0x100228aa
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003b1e0
push 0xffffffffffffffff
push 0x10069b43
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100be114]
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 edi, dword [ebp + 0x100c]
lea eax, [ebp]
xor ebx, ebx
mov dword [ebp - 0x30], edi
push 0x1000
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
call fcn.1003d660
add esp, 0xc
mov ecx, edi
push 0x10080a3a
call fcn.100127e8
xor eax, eax
mov dword [ebp - 0x2c], ebx
inc eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ebx
push str.GetLatestJavawsVersion__:
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], 0x800
call fcn.100300e1
pop ecx
cmp dword [ebp + 0x1010], ebx
je 0x10022951
mov esi, 0x20219
mov eax, str.___checking_32_bit
jmp 0x1002295b
mov esi, 0x20119
mov eax, str.___checking_64_bit
push eax
call fcn.100300e1
pop ecx
push esi
push 0x10082720
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
call fcn.1001b2cc
mov ebx, dword [ebp - 0x2c]
test eax, eax
je 0x100229b7
push str.___failed_to_open_SOFTWAREJavaSoftJava_Web_Start
call fcn.100300e1
pop ecx
test ebx, ebx
je 0x10022992
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.1003b105
add ebp, 0x1004
leave
ret
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp]
push ecx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10022987
push str.___Processing_key:
lea ecx, [ebp - 0x18]
call fcn.100127e8
lea eax, [ebp]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.1000154d
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x18]
call fcn.10001683
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10022a19
call fcn.100016dc
and dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x10022a24
mov eax, dword [esi]
jmp 0x10022a26
xor eax, eax
push eax
call fcn.100300e1
lea eax, [ebp + 0x1010]
push eax
lea eax, [ebp]
push eax
call fcn.1001eb02
add esp, 0xc
test eax, eax
jne 0x10022a76
lea eax, [ebp + 0x1010]
push eax
lea eax, [ebp]
push eax
call fcn.1001e7a0
pop ecx
pop ecx
test eax, eax
jne 0x10022a76
push 0x100827e8
call fcn.100300e1
lea eax, [ebp]
push eax
call fcn.100300e1
pop ecx
xor eax, eax
pop ecx
mov word [ebp], ax
jmp 0x10022a9d
mov eax, dword [edi]
test eax, eax
je 0x10022a80
mov eax, dword [eax]
jmp 0x10022a82
xor eax, eax
push eax
lea eax, [ebp]
push eax
call fcn.1001e6df
pop ecx
pop ecx
test eax, eax
jle 0x10022a9d
lea eax, [ebp]
mov ecx, edi
push eax
call fcn.100015d8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x1c], 0x800
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test esi, esi
je 0x100229ba
mov ecx, esi
call fcn.100016dc
and dword [ebp - 0x18], 0
jmp 0x100229b7
Function at 0x10026350
Capabilities:
Enumerate process modules
Get process image filename
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x108c]
mov eax, 0x110c
call fcn.1003b1e0
mov eax, dword [0x100be114]
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 0x100263ea
mov eax, dword [ebp - 0x80]
shr eax, 2
push esi
xor esi, esi
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100263e9
push edi
push dword [ebp + esi*4 - 0x7c]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [ebp + 0xf84]
push 0x104
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
lea eax, [ebp + 0xf84]
push 0x10085434
push eax
call fcn.1003f640
pop ecx
pop ecx
test eax, eax
je 0x100263db
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 0x10026396
pop edi
pop esi
mov ecx, dword [ebp + 0x1088]
xor ecx, ebp
call fcn.1003b105
add ebp, 0x108c
leave
ret
Function at 0x100263ff
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x64
mov eax, 0x1006a2b6
call fcn.1003b136
lea eax, [ebp - 0x1c]
push eax
call fcn.1001de0e
pop ecx
mov esi, dword [ebp - 0x1c]
and dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10026427
lock inc dword [esi + 8]
push 0x100855dc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000154d
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.10001683
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10026458
call fcn.100016dc
push 0x1008526c
lea ecx, [ebp - 0x10]
call fcn.1000154d
push 0x100852ec
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.1000154d
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10026496
call fcn.100016dc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
push 0x100853b4
lea ecx, [ebp - 0x18]
call fcn.1000154d
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x100264cf
call fcn.100016dc
push 0x10085678
lea ecx, [ebp - 0x18]
call fcn.1000154d
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100264f8
call fcn.100016dc
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.1003d660
mov dword [ebp - 0x70], edi
xor eax, eax
lea edi, [ebp - 0x2c]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x1002651e
mov ecx, dword [esi]
jmp 0x10026520
xor ecx, ecx
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x1002652b
mov edx, dword [edi]
jmp 0x1002652d
xor edx, edx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10026538
mov eax, dword [eax]
jmp 0x1002653a
xor eax, eax
lea ebx, [ebp - 0x2c]
push ebx
lea ebx, [ebp - 0x70]
push ebx
push ecx
xor ecx, ecx
push ecx
push 0x8000000
push ecx
push ecx
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1002658f
push 0x2bf20
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1002657f
push 1
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.10026350
push dword [ebp - 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x2c]
call ebx
test edi, edi
je 0x1002659a
mov ecx, edi
call fcn.100016dc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100265a8
mov ecx, eax
call fcn.100016dc
test esi, esi
je 0x100265b3
mov ecx, esi
call fcn.100016dc
call fcn.1003b113
ret
Function at 0x100265b9
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x64
mov eax, 0x1006a310
call fcn.1003b136
lea eax, [ebp - 0x1c]
push eax
call fcn.1001de0e
pop ecx
mov esi, dword [ebp - 0x1c]
and dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
test esi, esi
je 0x100265e1
lock inc dword [esi + 8]
push 0x1008565c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000154d
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.10001683
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10026612
call fcn.100016dc
push 0x10085444
lea ecx, [ebp - 0x10]
call fcn.1000154d
push 0x100855f4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.1000154d
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10026650
call fcn.100016dc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
push 0x10085674
lea ecx, [ebp - 0x18]
call fcn.1000154d
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10026689
call fcn.100016dc
push str.__wait__fix__shortcut__silent
lea ecx, [ebp - 0x18]
call fcn.1000154d
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x10]
call fcn.10001683
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100266b2
call fcn.100016dc
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.1003d660
mov dword [ebp - 0x70], edi
xor eax, eax
lea edi, [ebp - 0x2c]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x100266d8
mov ecx, dword [esi]
jmp 0x100266da
xor ecx, ecx
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x100266e5
mov edx, dword [edi]
jmp 0x100266e7
xor edx, edx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100266f2
mov eax, dword [eax]
jmp 0x100266f4
xor eax, eax
lea ebx, [ebp - 0x2c]
push ebx
lea ebx, [ebp - 0x70]
push ebx
push ecx
xor ecx, ecx
push ecx
push 0x8000000
push ecx
push ecx
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10026749
push 0x2bf20
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10026739
push 1
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.10026350
push dword [ebp - 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x2c]
call ebx
test edi, edi
je 0x10026754
mov ecx, edi
call fcn.100016dc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10026762
mov ecx, eax
call fcn.100016dc
test esi, esi
je 0x1002676d
mov ecx, esi
call fcn.100016dc
call fcn.1003b113
ret
Function at 0x10026773
Capabilities:
Delete registry value

Disassembly:
push 0x10
mov eax, 0x1006a33a
call fcn.1003b136
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0x2001f
push str.SOFTWAREOracleJavaFX
xor edi, edi
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
inc edi
call fcn.1001b2cc
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x100267e9
push str.Disabled
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test ebx, ebx
je 0x100267dc
cmp ebx, 2
je 0x100267dc
push ecx
mov ecx, esp
push str.cleanupJavaFXDisabledEntry_error
call fcn.1000154d
push ebx
call fcn.10029f24
pop ecx
pop ecx
xor edi, edi
test esi, esi
je 0x100267f4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
test esi, esi
je 0x100267f4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.1003b113
ret

Function at 0x100267fc
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x804
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x800], eax
push ebp
push esi
mov ebp, 0x800
lea eax, [esp + 8]
push ebp
push 0
push eax
call fcn.1003d660
add esp, 0xc
lea eax, [esp + 8]
xor esi, esi
push 0x400
push eax
push esi
jmp 0x1002687f
push 0xa
lea eax, [esp + 0xc]
push str.JavaPlugin
push eax
call fcn.1004a424
add esp, 0xc
test eax, eax
jne 0x10026863
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x814]
call fcn.1001b633
test eax, eax
je 0x10026864
inc esi
push ebp
lea eax, [esp + 0xc]
push 0
push eax
call fcn.1003d660
add esp, 0xc
lea eax, [esp + 8]
push 0x400
push eax
push esi
push dword [esp + 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10026836
lea ecx, [esp + 0x810]
call fcn.1001af27
mov ecx, dword [esp + 0x808]
pop esi
pop ebp
xor ecx, esp
call fcn.1003b105
add esp, 0x804
ret
Function at 0x10026ae8
Capabilities:
Delete directory

Disassembly:
push 0x10
mov eax, 0x1006a3b6
call fcn.1003b136
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push str.SunJavaDeployment
call fcn.1000154d
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.10001645
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10026b2d
call fcn.100016dc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10026b38
mov eax, dword [eax]
jmp 0x10026b3a
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
je 0x10026c5c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10026b54
mov eax, dword [eax]
jmp 0x10026b56
xor eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push eax
call ebx
push str.SunJava
lea ecx, [ebp - 0x18]
call fcn.1000154d
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 5
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10026b7e
lock inc dword [eax + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.10001683
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.100015ab
mov esi, dword [ebp - 0x14]
or edi, 0xffffffff
test esi, esi
je 0x10026bc2
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x10026bc2
mov ecx, esi
call fcn.10001703
push 0xc
push esi
call fcn.1003b0f2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10026bd2
call fcn.100016dc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10026bdd
mov eax, dword [eax]
jmp 0x10026bdf
xor eax, eax
push eax
call ebx
push str.Sun
lea ecx, [ebp - 0x18]
call fcn.1000154d
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10026c01
lock inc dword [eax + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.10001683
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.100015ab
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10026c40
lock xadd dword [esi + 8], edi
dec edi
jne 0x10026c40
mov ecx, esi
call fcn.10001703
push 0xc
push esi
call fcn.1003b0f2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10026c4c
call fcn.100016dc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10026c57
mov eax, dword [eax]
jmp 0x10026c59
xor eax, eax
push eax
call ebx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10026c6c
call fcn.100016dc
and dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10026c78
call fcn.100016dc
call fcn.1003b113
ret