joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d5a5130
Capabilities:
Enumerate process modules
Get process image filename
Terminate process

Disassembly:
mov eax, 0x110c
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x1108], eax
lea eax, [esp]
push eax
push 0x1000
lea ecx, [esp + 0xc]
push ecx
call sub.psapi.dll_EnumProcesses
test eax, eax
je 0x6d5a51d4
mov eax, dword [esp]
shr eax, 2
push edi
xor edi, edi
mov dword [esp + 4], eax
test eax, eax
je 0x6d5a51d3
push ebx
mov ebx, dword [sym.imp.kernel32.dll_OpenProcess]
push ebp
mov ebp, dword [sym.imp.MSVCR100.dll_strstr]
push esi
nop
mov edx, dword [esp + edi*4 + 0x14]
push edx
push 0
push 0x1f0fff
call ebx
mov esi, eax
push 0x104
lea eax, [esp + 0x1018]
push eax
push esi
call sub.psapi.dll_GetProcessImageFileNameA
lea ecx, [esp + 0x1014]
push 0x6d5d0fa0
push ecx
call ebp
add esp, 8
test eax, eax
je 0x6d5a51c2
push 0
push esi
call dword [sym.imp.kernel32.dll_TerminateProcess]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
inc edi
cmp edi, dword [esp + 0x10]
jb 0x6d5a5180
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x1108]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x110c
ret

Function at 0x6d5a5730
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x810
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
mov ebx, dword [esp + 0x81c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x824]
xor ebp, ebp
push 0x7fe
lea ecx, [esp + 0x22]
xor eax, eax
push ebp
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov word [esp + 0x28], ax
call sub.MSVCR100.dll_memset
mov eax, dword [edi]
add esp, 0xc
push 0x2001f
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.6d593190
mov esi, dword [esp + 0x10]
cmp eax, ebp
jne 0x6d5a57c7
push 0x400
lea edx, [esp + 0x20]
push edx
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x6d5a57d1
test esi, esi
je 0x6d5a57bb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
push ebx
mov ecx, edi
call fcn.6d5930e0
test eax, eax
jmp 0x6d5a57ca
cmp eax, 2
jne 0x6d5a57d1
mov ebp, 1
test esi, esi
je 0x6d5a57dc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x81c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x810
ret
Function at 0x6d5a5800
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x804
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call sub.MSVCR100.dll_memset
mov eax, dword [esp + 0x81c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
add esp, 0xc
push 0x400
lea edx, [esp + 0xc]
push edx
xor esi, esi
push esi
push eax
call edi
test eax, eax
jne 0x6d5a58b9
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_wcsncmp]
jmp 0x6d5a5860
push 0xa
lea ecx, [esp + 0x10]
push str.JavaPlugin
push ecx
call ebx
add esp, 0xc
test eax, eax
jne 0x6d5a588a
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x818]
call fcn.6d593d00
test eax, eax
je 0x6d5a588b
inc esi
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call sub.MSVCR100.dll_memset
mov edx, dword [esp + 0x820]
add esp, 0xc
push 0x400
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
call edi
test eax, eax
je 0x6d5a5860
pop ebx
mov eax, dword [esp + 0x810]
pop edi
pop esi
test eax, eax
je 0x6d5a58cd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x804
ret

Function at 0x6d5a5b70
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1004
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push edi
xor eax, eax
push 0xffe
push eax
lea ecx, [esp + 0x12]
push ecx
xor edi, edi
mov word [esp + 0x14], ax
call sub.MSVCR100.dll_memset
mov eax, dword [esp + 0x101c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
add esp, 0xc
push 0x800
lea edx, [esp + 0xc]
push edx
push edi
push eax
call ebx
test eax, eax
jne 0x6d5a5c72
push ebp
mov ebp, dword [sym.imp.MSVCR100.dll_wcsstr]
push esi
mov esi, dword [sym.imp.MSVCR100.dll__wcsicmp]
jmp 0x6d5a5be0
lea ecx, [esp + 0x10]
push str.CAFEEFAC_
push ecx
call ebp
add esp, 8
test eax, eax
je 0x6d5a5c19
lea edx, [esp + 0x10]
push str.CAFEEFAC_DEC7_0000_0001_ABCDEFFEDCBA
push edx
call esi
add esp, 8
test eax, eax
je 0x6d5a5c19
lea eax, [esp + 0x10]
push str.CAFEEFAC_DEC7_0000_0000_ABCDEFFEDCBA
push eax
call esi
add esp, 8
test eax, eax
jne 0x6d5a5c42
lea ecx, [esp + 0x10]
push str.E19F9331_3110_11D4_991C_005004D3B3DB
push ecx
call esi
add esp, 8
test eax, eax
je 0x6d5a5c42
lea edx, [esp + 0x10]
push str.8AD9C840_044E_11D1_B3E9_00805F499D93
push edx
call esi
add esp, 8
test eax, eax
je 0x6d5a5c42
inc edi
jmp 0x6d5a5c53
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x101c]
call fcn.6d593d00
mov edx, dword [esp + 0x1018]
push 0x800
lea ecx, [esp + 0x14]
push ecx
push edi
push edx
call ebx
test eax, eax
je 0x6d5a5be0
pop esi
pop ebp
mov eax, dword [esp + 0x1010]
pop edi
pop ebx
test eax, eax
je 0x6d5a5c86
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x1004
ret
Function at 0x6d5a5e10
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1014
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x1010], eax
xor eax, eax
push 0xffe
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x20019
push str.SOFTWAREJavaSoftJava_Runtime_Environment
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0x800
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.6d593190
test eax, eax
je 0x6d5a5ea4
mov eax, dword [esp + 4]
test eax, eax
je 0x6d5a5e8d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x1010]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x1014
ret
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
xor esi, esi
lea edx, [esp + 0x10]
push edx
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
push ebx
call ebp
test eax, eax
jne 0x6d5a5f34
lea ecx, [ecx]
inc esi
mov ecx, str.1.6.0_10
lea eax, [esp + 0x1c]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x6d5a5f06
test dx, dx
je 0x6d5a5f02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x6d5a5f06
add eax, 4
add ecx, 4
test dx, dx
jne 0x6d5a5ee0
xor eax, eax
jmp 0x6d5a5f0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jns 0x6d5a5f59
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
push ebx
mov dword [esp + 0x2c], 0x800
call ebp
test eax, eax
je 0x6d5a5ed0
test ebx, ebx
je 0x6d5a5f3f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1010]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x1014
ret
test ebx, ebx
je 0x6d5a5f64
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x101c]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.6d5ca6ac
add esp, 0x1014
ret

Function at 0x6d5a5f90
Capabilities:
Delete registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
push 2
push eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.6d593190
mov esi, eax
test esi, esi
je 0x6d5a5fdd
mov eax, dword [esp + 4]
test eax, eax
je 0x6d5a5fd6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 4]
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test esi, esi
je 0x6d5a5ffb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x6d5a6010
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push 0
push eax
push 0
push 0
push ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.6d595db0
test eax, eax
jne 0x6d5a6089
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [esp + 8]
push edi
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push edx
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test esi, esi
je 0x6d5a6081
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x6d5a6098
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10
ret

Function at 0x6d5a60a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push esi
push 0x2001f
push eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.6d593190
mov esi, eax
test esi, esi
je 0x6d5a60f0
mov eax, dword [esp + 4]
test eax, eax
je 0x6d5a612f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 8]
test esi, esi
jne 0x6d5a6104
mov esi, 0xd
jmp 0x6d5a6123
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x20]
push edx
push esi
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test edi, edi
je 0x6d5a612e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x6d5a6a10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x6d5a6ae7
cmp eax, 0x104
ja 0x6d5a6ae7
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x216]
push ecx
mov word [esp + 0x218], ax
call sub.MSVCR100.dll_memset
push esi
lea edx, [esp + 0x14]
push edx
push str._s_s
push 0xffffffffffffffff
lea eax, [esp + 0x228]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll__snwprintf_s]
add esp, 0x24
test eax, eax
jg 0x6d5a6aaf
push str.LoadSystemLibrary:__snprintf_failed.
jmp 0x6d5a6aec
lea ecx, [esp + 0x20c]
push ecx
call fcn.6d5ca1c9
mov esi, eax
test esi, esi
jne 0x6d5a6acf
push str.LoadSystemLibrary:_LoadLibrary___failed.
call fcn.6d5951a0
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x414
ret
push str.LoadSystemLibrary:_GetSystemDirectory_failed.
call fcn.6d5951a0
mov ecx, dword [esp + 0x418]
add esp, 4
pop esi
xor ecx, esp
xor eax, eax
call fcn.6d5ca6ac
add esp, 0x414
ret
Function at 0x6d5a6b10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x9c
mov dword [esp], 0xffffffff
test edi, edi
jne 0x6d5a6b2b
or eax, 0xffffffff
add esp, 0x9c
ret
push ebx
push ebp
push esi
call fcn.6d595620
mov ebx, eax
mov ecx, 0x10
lea eax, [esp + 0x10]
mov edi, edi
mov byte [eax], 0
inc eax
dec ecx
jne 0x6d5a6b40
xor ebp, ebp
call fcn.6d5934e0
test eax, eax
je 0x6d5a6c35
push str.RunAsDesktopUser___OnVistaOrLater__use_CreateProcessWithTokenW
call fcn.6d5951a0
add esp, 4
mov ecx, str.AdvAPI32.dll
call fcn.6d5a6a10
mov ebp, eax
test ebp, ebp
jne 0x6d5a6b85
push str.RunAsDesktopUser___CreateProcessWithTokenW_could_not_load_advapi32.dll
call fcn.6d5951a0
add esp, 4
jmp 0x6d5a6cc5
push str.CreateProcessWithTokenW
push ebp
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x6d5a6ba9
push str.RunAsDesktopUser___CreateProcessWithTokenW_could_not_GetProcAddress
call fcn.6d5951a0
add esp, 4
jmp 0x6d5a6cc5
push str.RunAsDesktopUser___calling__CreateProcessWithTokenW
call fcn.6d5951a0
add esp, 4
mov ecx, 0x44
lea eax, [esp + 0x64]
nop
mov byte [eax], 0
inc eax
dec ecx
jne 0x6d5a6bc0
mov edx, dword [esp + 0xac]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 0
push edx
push edi
push 0
push ebx
mov dword [esp + 0x88], 0x44
call esi
test eax, eax
jne 0x6d5a6c06
push str.RunAsDesktopUser:_CreateProcessWithTokenW_failed.
call fcn.6d5951a0
add esp, 4
jmp 0x6d5a6cc5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6d5a6cc5
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x10]
push edx
jmp 0x6d5a6cbf
push str.RunAsDesktopUser___OnWinXP__use_CreateProcessAsUser
call fcn.6d5951a0
push 0x44
lea eax, [esp + 0x28]
push 0
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [esp + 0xbc]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0x30
push 0
push 0
push 0
push eax
push edi
push ebx
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x54], str.winsta0default
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x6d5a6c99
push str.RunAsDesktopUser:_CreateProcessAsUser_failed.
call fcn.6d5951a0
add esp, 4
jmp 0x6d5a6cc5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6d5a6cc5
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push ebp
call dword [sym.imp.kernel32.dll_FreeLibrary]
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
Function at 0x6d5ac020
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
push edi
push 0
push 0
push eax
push 0
push 0
push esi
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.6d595db0
test eax, eax
jne 0x6d5ac0a4
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
test esi, esi
jne 0x6d5ac072
lea esi, [eax + 0xd]
jmp 0x6d5ac091
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x28]
push edx
push esi
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test edi, edi
je 0x6d5ac09c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0x14
ret
push ebp
push str.CreateKeyNameValuePair:_cannot_create:
lea ecx, [esp + 0x14]
call fcn.6d592e00
push esi
lea ecx, [esp + 0x10]
call fcn.6d592e00
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.6d594760
mov esi, dword [esp + 0xc]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [sym.imp.kernel32.dll_InterlockedDecrement]
test esi, esi
je 0x6d5ac10b
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x6d5ac10b
mov eax, dword [esi]
test eax, eax
je 0x6d5ac0f2
push eax
call ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ac102
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x6d5ac117
mov eax, dword [esi]
jmp 0x6d5ac119
xor eax, eax
push eax
call fcn.6d5951a0
add esp, 4
test esi, esi
je 0x6d5ac152
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x6d5ac152
mov eax, dword [esi]
test eax, eax
je 0x6d5ac139
push eax
call ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ac149
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x14]
pop ebp
test eax, eax
je 0x6d5ac162
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x6d5ac3d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x20], eax
push edi
mov edi, ecx
cmp dword [edi + 0x44], 0
je 0x6d5ac52d
cmp byte [edi + 0x49], 0
je 0x6d5ac52d
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x6d5ac415
xor al, al
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x24
ret
mov ecx, 0xf
xor eax, eax
mov byte [esp + 8], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 8
cmp ecx, 0x10
jae 0x6d5ac43e
lea eax, [esp + 8]
push ebx
push ebp
mov byte [eax + 8], 0
lea ebx, [edi + 0x4c]
push esi
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov edx, eax
cmp ebp, 0x10
jae 0x6d5ac45d
lea edx, [esp + 0x14]
mov eax, edx
add edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebp, [esp + 0x10]
push ebp
push edx
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
sub eax, 0
je 0x6d5ac4a2
dec eax
je 0x6d5ac4a6
sub eax, 2
lea ecx, [esp + 0x14]
je 0x6d5ac513
call fcn.6d5a72f0
pop esi
pop ebp
pop ebx
xor al, al
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x24
ret
mov byte [edi + 0x49], 0
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, eax
cmp ebp, 0x10
jae 0x6d5ac4b9
lea ecx, [esp + 0x14]
mov esi, dword [esp + 0x10]
sub esi, ecx
je 0x6d5ac4e7
cmp ebp, 0x10
jae 0x6d5ac4ca
lea eax, [esp + 0x14]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x6d5ac506
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp byte [edi + 0x49], 0
je 0x6d5ac50f
test esi, esi
jne 0x6d5ac450
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.6d5a7b10
jmp 0x6d5ac448
lea ecx, [esp + 0x14]
jmp 0x6d5ac488
lea ecx, [esp + 0x14]
call fcn.6d5a72f0
pop esi
pop ebp
pop ebx
mov al, 1
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x24
ret
mov ecx, dword [esp + 0x24]
pop edi
xor ecx, esp
mov al, 1
call fcn.6d5ca6ac
add esp, 0x24
ret
Function at 0x6d5ad460
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor eax, eax
push edi
mov word [ebx], ax
call fcn.6d593310
test eax, eax
je 0x6d5ad4a6
call fcn.6d5935c0
test eax, eax
je 0x6d5ad498
call fcn.6d593580
test eax, eax
je 0x6d5ad498
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetSystemWow64DirectoryW]
jmp 0x6d5ad4b2
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
jmp 0x6d5ad4b2
push 0x800
push ebx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
push 0xc
mov dword [esp + 0x10], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x6d5ad511
push str.__get_system_dir__
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.6d5ca1c9
push 0xc
mov dword [esi], eax
mov dword [esp + 0x1c], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x6d5ad511
lea edi, [esi + 8]
push ebx
mov dword [esi + 4], 0
mov dword [edi], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x6d5ad51b
push 0x8007000e
call fcn.6d5ca1c9
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.6d594760
mov ebx, dword [sym.imp.kernel32.dll_InterlockedDecrement]
push edi
call ebx
test eax, eax
jne 0x6d5ad560
mov eax, dword [esi]
test eax, eax
je 0x6d5ad547
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ad557
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x6d5ad511
lea edi, [esi + 8]
push 0x6d5d2020
mov dword [esi + 4], 0
mov dword [edi], 1
call fcn.6d5ca1c9
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
mov dword [esi], eax
mov dword [esp + 0x14], esi
call fcn.6d594760
push edi
call ebx
test eax, eax
jne 0x6d5ad5cb
mov eax, dword [esi]
test eax, eax
je 0x6d5ad5b2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ad5c2
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x6d5ad5e2
lea eax, [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x10]
test edi, edi
setne cl
movzx edx, cl
push edx
call fcn.6d5ac860
add esp, 8
test esi, esi
je 0x6d5ad62b
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x6d5ad62b
mov eax, dword [esi]
test eax, eax
je 0x6d5ad612
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ad622
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x6d5b2680
Capabilities:
Delete registry value

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
push 0x2001f
push str.SOFTWAREOracleJavaFX
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ebp, 1
call fcn.6d593190
test eax, eax
je 0x6d5b26d7
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6d5b2715
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov edi, dword [esp + 0xc]
push str.Disabled
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
je 0x6d5b270a
cmp esi, 2
je 0x6d5b270a
push ecx
mov ecx, esp
push str.cleanupJavaFXDisabledEntry_error
call fcn.6d592e00
push esi
call fcn.6d5ac540
add esp, 8
xor ebp, ebp
test edi, edi
je 0x6d5b2715
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 0xc
ret