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

Disassembly:
mov eax, 0x3044
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x3040], eax
push ebx
push esi
push edi
push 0x1000
lea eax, [esp + 0x2050]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1000
lea eax, [esp + 0x5c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0
push 1
lea eax, [esp + 0x206c]
push 0x800
push eax
call sym.deploy.dll_getLatestInstalledVersion
push 0
lea eax, [esp + 0x2078]
push eax
lea eax, [esp + 0x7c]
push 0x800
push eax
call fcn.10029f50
add esp, 0x38
test eax, eax
jne 0x1001156e
push 0x800
lea eax, [esp + 0x50]
push eax
push 1
push 0x1003fa44
call fcn.10004480
lea edi, [esp + 0x5c]
add esp, 0x10
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10011556
mov ecx, 7
mov esi, 0x100413c0
jmp 0x1001158b
lea edi, [esp + 0x4c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10011575
mov ecx, 9
mov esi, str._bin_ssvagent.exe
lea eax, [esp + 0x204c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10005300
mov bl, byte [esp + 0x3060]
add esp, 4
test eax, eax
je 0x100115cb
test bl, bl
je 0x100115cf
mov eax, 2
mov ecx, dword [esp + 0x304c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x3044
ret 0xc
test bl, bl
je 0x100115ac
push 0x1000
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x1050]
mov dword [esp + 0x2c], 0
push 0
push eax
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x1c], 0x3c
call sub.VCRUNTIME140.dll_memset
lea edi, [esp + 0x1058]
add esp, 0xc
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10011625
mov ecx, 0xc
mov esi, str._high__jpisetup__fullreg
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.10005170
test eax, eax
mov dword [esp + 0x2c], 1
mov ecx, str.runas
mov dword [esp + 0x14], 0x40
mov edx, str.open
lea eax, [esp + 0x4c]
cmove ecx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x104c]
add ecx, 0xfffffffe
test bl, bl
je 0x100116a2
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10011680
mov eax, dword [str.__new]
mov dword [ecx], eax
mov eax, dword [0x10041438]
mov dword [ecx + 4], eax
mov eax, dword [0x1004143c]
jmp 0x100116c2
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x100116a2
mov eax, dword [str.__old]
mov dword [ecx], eax
mov eax, dword [0x10041444]
mov dword [ecx + 4], eax
mov eax, dword [0x10041448]
mov dword [ecx + 8], eax
lea eax, [esp + 0x104c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov eax, 1
je 0x100115b1
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x100115b1
push 0xffffffffffffffff
push ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x4c]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push dword [esp + 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
jmp 0x100115b1
Function at 0x10011770
Capabilities:
Copy file
Enumerate files on windows
Get common file path

Disassembly:
mov eax, 0x4884
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x4880], eax
mov eax, dword [esp + 0x4888]
push ebx
mov ebx, dword [esp + 0x4890]
push ebp
push esi
push edi
push eax
lea eax, [esp + 0x3894]
mov dword [esp + 0x1c], ebx
push str._s_bin_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor eax, eax
mov word [esp + 0x189c], ax
lea eax, [esp + 0x389c]
push eax
lea eax, [esp + 0x18a0]
push 0x800
push eax
call esi
xor eax, eax
push ebx
mov word [esp + 0x8ac], ax
lea eax, [esp + 0x8ac]
push 0x800
push eax
call esi
mov ebp, dword [esp + 0x48c4]
xor eax, eax
mov edi, dword [sym.imp.kernel32.dll_CopyFileW]
add esp, 0x24
test ebp, ebp
mov dword [esp + 0x10], 0
mov ebx, str.npoji.dll
sete al
mov dword [esp + 0x14], ebx
lea eax, [eax*2 + 1]
mov dword [esp + 0x1c], eax
xor eax, eax
mov word [esp + 0x2890], ax
lea eax, [esp + 0x3890]
push eax
lea eax, [esp + 0x2894]
push 0x800
push eax
call esi
push ebx
lea eax, [esp + 0x28a0]
push 0x800
push eax
call esi
add esp, 0x18
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2894]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100119b1
nop dword [eax + eax]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x1894]
push 0x800
push eax
call esi
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x8a0]
push 0x800
push eax
call esi
add esp, 0x18
lea eax, [esp + 0x890]
push 0
push eax
lea eax, [esp + 0x1898]
push eax
call edi
test eax, eax
jne 0x1001195c
test ebp, ebp
jne 0x100119f4
lea eax, [esp + 0x890]
push eax
lea eax, [esp + 0x480]
push str._s..
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x684]
push ebp
push eax
push 0x105
lea eax, [esp + 0x488]
push eax
call dword [sym.imp.kernel32.dll_GetFullPathNameW]
test eax, eax
je 0x1001195c
lea eax, [esp + 0x270]
push eax
push ebp
push 0x10041750
lea eax, [esp + 0x690]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
test eax, eax
je 0x1001195c
push ebp
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0x1898]
push eax
call edi
test eax, eax
je 0x1001195c
lea eax, [esp + 0x890]
push eax
lea eax, [esp + 0x274]
push eax
call fcn.10012e10
add esp, 8
xor eax, eax
mov word [esp + 0x1890], ax
lea eax, [esp + 0x3890]
push eax
lea eax, [esp + 0x1894]
push 0x800
push eax
call esi
push dword [esp + 0x24]
xor eax, eax
mov word [esp + 0x8a0], ax
lea eax, [esp + 0x8a0]
push 0x800
push eax
call esi
add esp, 0x18
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x10011880
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
inc eax
add ebx, 0x1e
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
cmp eax, dword [esp + 0x1c]
jl 0x10011826
mov eax, 1
mov ecx, dword [esp + 0x4890]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x4884
ret
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
xor eax, eax
jmp 0x100119db
Function at 0x10012bc0
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1254]
mov eax, 0x1254
call fcn.1003baf0
push 0xfffffffffffffffe
push 0x1004b680
push 0x1003b8cc
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100530a0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x1250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x1260]
mov eax, dword [ebp + 0x1264]
xor edx, edx
mov word [ebp + 0x250], dx
push eax
push ecx
push str._s_s
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp]
push eax
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x10012d27
push eax
call dword [sym.imp.kernel32.dll_FindClose]
push 0
lea eax, [ebp + 0x250]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x10012d27
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003c33a
add esp, 4
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x10012d27
mov dword [ebp - 4], 0
push esi
push edi
push 0
lea eax, [ebp + 0x250]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10012d1b
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push str.StringFileInfo040904e4ProductVersion
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10012d1b
mov ecx, dword [ebp + 0x125c]
mov eax, dword [ebp - 0x20]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10012cf8
test dx, dx
je 0x10012cf4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10012cf8
add eax, 4
add ecx, 4
test dx, dx
jne 0x10012cd2
xor eax, eax
jmp 0x10012cfd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10012d1b
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x100530a0
call sub.VCRUNTIME140.dll__local_unwind4
add esp, 0xc
mov eax, 1
jmp 0x10012d29
mov dword [ebp - 4], 0xfffffffe
call fcn.10012d4f
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1250]
xor ecx, ebp
call fcn.1003b4ee
lea esp, [ebp + 0x1254]
pop ebp
ret
Function at 0x100130e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 4
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0
push dword [esp + 0x18]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10013114
cmp dword [esp + 0xc], 4
mov ecx, 0xd
cmovne eax, ecx
pop ecx
ret 8
Function at 0x100151b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x10015210
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10015210
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10015202
nop word [eax + eax]
cmp esi, edx
jae 0x10015210
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100151f0
cmp esi, edx
jae 0x10015210
cmp word [esi], 0
je 0x10015210
mov eax, esi
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x100164b0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push esi
push edi
push 0
push 0
push dword [esp + 0x34]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push 0
push 0
push dword [esp + 0x34]
mov dword [esp + 0x28], 0
push dword [esp + 0x34]
mov dword [esp + 0x30], 0
call fcn.10006260
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x10016514
mov eax, dword [esp + 0x28]
push 4
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x34]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
jmp 0x10016516
xor esi, esi
test edi, edi
je 0x10016521
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x10016530
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push 0
push 0
push dword [esp + 0x3c]
mov dword [esp + 0x20], 0
push 0
push 0
push edi
push dword [esp + 0x3c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.10006260
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x100165be
mov edx, dword [esp + 0x30]
test edx, edx
jne 0x10016584
lea esi, [edx + 0xd]
jmp 0x100166bd
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016590
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push dword [esp + 0x3c]
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
jmp 0x100166bd
push 0xc
call fcn.1003c33a
mov esi, eax
add esp, 4
test esi, esi
je 0x100165f3
push str.CreateKeyNameValuePair:_cannot_create:
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x100166d1
jmp 0x100165f5
xor esi, esi
mov dword [esp + 0x10], esi
test esi, esi
je 0x100166d1
push edi
lea ecx, [esp + 0x10]
call fcn.100032a0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.10003700
mov esi, dword [esp + 0xc]
or edi, 0xffffffff
test esi, esi
je 0x10016663
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x10016663
mov eax, dword [esi]
test eax, eax
je 0x10016641
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10016658
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 0x1001666f
mov eax, dword [esi]
jmp 0x10016671
xor eax, eax
push eax
call fcn.10003ca0
add esp, 4
test esi, esi
je 0x100166bb
lock xadd dword [esi + 8], edi
dec edi
jne 0x100166bb
mov eax, dword [esi]
test eax, eax
je 0x10016699
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100166b0
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
xor esi, esi
test ebp, ebp
je 0x100166c8
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x14
ret
push 0x8007000e
call fcn.1003c33a
int3
Function at 0x10016a60
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0xa1c
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0xa18], eax
push ebx
push ebp
push esi
push 0x800
lea eax, [esp + 0x228]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [esp + 0x230]
add esp, 0xc
xor ebx, ebx
push 0x400
push eax
push ebx
push dword [esp + 0xa38]
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10016c2a
push edi
nop dword [eax]
push 0xa
lea eax, [esp + 0x22c]
push str.JavaPlugin
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x10016bf2
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa34]
or eax, 0x2001f
push eax
lea eax, [esp + 0x22c]
push eax
push dword [esp + 0xa38]
call fcn.10003a10
mov edi, eax
test edi, edi
je 0x10016b33
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10016bd3
push eax
call ebp
mov dword [esp + 0x10], 0
jmp 0x10016bd3
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10016b9f
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.10003b40
mov edi, eax
test edi, edi
jne 0x10016be7
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10016b61
test esi, esi
je 0x10016ba8
push esi
call ebp
xor esi, esi
lea eax, [esp + 0x228]
push eax
lea ecx, [esp + 0xa34]
call fcn.10003850
mov edi, eax
test esi, esi
je 0x10016bcd
push esi
call ebp
mov dword [esp + 0x10], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [ebx + 1]
mov dword [esp + 0x14], 0
test edi, edi
cmove eax, ebx
mov ebx, eax
jmp 0x10016bf3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10016bcd
push eax
jmp 0x10016bc3
inc ebx
push 0x800
lea eax, [esp + 0x22c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x228]
push 0x400
push eax
push ebx
push dword [esp + 0xa3c]
call esi
test eax, eax
je 0x10016ac0
pop edi
mov eax, dword [esp + 0xa2c]
test eax, eax
je 0x10016c38
push eax
call ebp
mov ecx, dword [esp + 0xa24]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0xa1c
ret
Function at 0x10016c50
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x814
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
mov ebx, dword [esp + 0x820]
lea eax, [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x820]
push esi
push edi
push 0x800
push 0
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esp + 0x14]
xor edi, edi
push 0x2001f
push ebx
push dword [ebp]
call fcn.10003a10
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x10016cfb
push 0x400
lea eax, [esp + 0x24]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10016d06
test esi, esi
je 0x10016ce7
push esi
call ebx
xor esi, esi
push dword [esp + 0x10]
mov ecx, ebp
call fcn.10003850
test eax, eax
jne 0x10016d06
lea edi, [eax + 1]
jmp 0x10016d06
cmp eax, 2
mov ecx, 1
cmove edi, ecx
test esi, esi
je 0x10016d0d
push esi
call ebx
mov ecx, dword [esp + 0x820]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x814
ret
Function at 0x100185d0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor eax, eax
mov word [edi], ax
call fcn.100050f0
test eax, eax
je 0x10018615
call fcn.1003c33a
test eax, eax
je 0x10018607
call fcn.10005400
test eax, eax
je 0x10018607
push 0x800
push edi
call dword [sym.imp.kernel32.dll_GetSystemWow64DirectoryW]
jmp 0x10018621
push 0x800
push edi
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
jmp 0x10018621
push 0x800
push edi
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
push 0xc
mov ebx, eax
call fcn.1003c33a
mov esi, eax
add esp, 4
test esi, esi
je 0x1001864f
push str.__get_system_dir__
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.1003c33a
mov dword [esi], eax
jmp 0x10018651
xor esi, esi
mov dword [esp + 0x18], esi
test esi, esi
je 0x100187d8
push 0xc
call fcn.1003c33a
mov esi, eax
add esp, 4
test esi, esi
je 0x1001868e
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x100187d8
jmp 0x10018690
xor esi, esi
mov dword [esp + 0x10], esi
test esi, esi
je 0x100187d8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.10003700
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x100186ee
mov eax, dword [esi]
test eax, eax
je 0x100186cc
push eax
call ebp
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100186e3
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
push 0xc
call fcn.1003c33a
mov esi, eax
add esp, 4
test esi, esi
je 0x1001871a
push 0x1004214c
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.1003c33a
mov dword [esi], eax
jmp 0x1001871c
xor esi, esi
mov dword [esp + 0x10], esi
test esi, esi
je 0x100187d8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.10003700
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x10018771
mov eax, dword [esi]
test eax, eax
je 0x1001874f
push eax
call ebp
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10018766
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 + 0x18]
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x10018782
lock inc dword [esi + 8]
test ebx, ebx
setne al
movzx eax, al
push eax
call fcn.100158e0
add esp, 8
test esi, esi
je 0x100187d0
lock xadd dword [esi + 8], edi
dec edi
jne 0x100187d0
mov eax, dword [esi]
test eax, eax
je 0x100187ae
push eax
call ebp
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100187c5
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
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
push 0x8007000e
call fcn.1003c33a
int3
Function at 0x1001d480
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1220
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x121c], eax
push esi
push edi
xor esi, esi
lea eax, [esp + 0x224]
push 0x1000
push esi
push eax
mov dword [esp + 0x24], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x224]
push 0x800
push eax
push esi
push dword [esp + 0x1238]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1001d68f
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [eax]
lea eax, [esp + 0x22c]
push str.CAFEEFAC_
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x1001d535
lea eax, [esp + 0x22c]
push str.CAFEEFAC_DEC7_0000_0001_ABCDEFFEDCBA
push eax
call ebx
add esp, 8
test eax, eax
je 0x1001d535
lea eax, [esp + 0x22c]
push str.CAFEEFAC_DEC7_0000_0000_ABCDEFFEDCBA
push eax
call ebx
add esp, 8
test eax, eax
jne 0x1001d56b
lea eax, [esp + 0x22c]
push str.E19F9331_3110_11D4_991C_005004D3B3DB
push eax
call ebx
add esp, 8
test eax, eax
je 0x1001d56b
lea eax, [esp + 0x22c]
push str.8AD9C840_044E_11D1_B3E9_00805F499D93
push eax
call ebx
add esp, 8
test eax, eax
je 0x1001d56b
inc esi
mov dword [esp + 0x20], esi
jmp 0x1001d66a
mov eax, dword [esp + 0x1238]
lea ecx, [esp + 0x10]
or eax, 0x2001f
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x230]
mov dword [esp + 0x18], 0
push eax
push dword [esp + 0x123c]
mov dword [esp + 0x24], 0
call fcn.10003a10
test eax, eax
je 0x1001d5c8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001d662
push eax
call edi
mov dword [esp + 0x10], 0
jmp 0x1001d662
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x100
push eax
lea eax, [esp + 0x40]
push eax
push 0
push esi
call ebp
test eax, eax
jne 0x1001d632
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.10003b40
test eax, eax
jne 0x1001d6b4
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x100
push eax
lea eax, [esp + 0x40]
push eax
push 0
push esi
call ebp
test eax, eax
je 0x1001d5f2
test esi, esi
je 0x1001d63b
push esi
call edi
xor esi, esi
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x1238]
call fcn.10003850
test esi, esi
je 0x1001d65e
push esi
call edi
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], 0
push 0x800
lea eax, [esp + 0x230]
push eax
push esi
push dword [esp + 0x1240]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1001d4f0
pop ebp
pop ebx
mov eax, dword [esp + 0x122c]
test eax, eax
je 0x1001d69d
push eax
call edi
mov ecx, dword [esp + 0x1224]
pop edi
pop esi
xor ecx, esp
call fcn.1003b4ee
add esp, 0x1220
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1001d65e
push eax
jmp 0x1001d654
Function at 0x10026bf0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1014
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x1010], eax
push ebx
push esi
push edi
push 0x1000
lea eax, [esp + 0x20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0x800
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
push 0x20019
push str.SOFTWAREJavaSoftJava_Runtime_Environment
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10003a10
mov edi, dword [esp + 0x10]
test eax, eax
jne 0x10026cf1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x10]
push eax
xor esi, esi
lea eax, [esp + 0x10]
push esi
push esi
push esi
push eax
lea eax, [esp + 0x30]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x10026ce4
inc esi
lea ecx, [esp + 0x1c]
mov eax, str.1.6.0_10
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10026cb6
test dx, dx
je 0x10026cb2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10026cb6
add ecx, 4
add eax, 4
test dx, dx
jne 0x10026c90
xor eax, eax
jmp 0x10026cbb
sbb eax, eax
or eax, 1
test eax, eax
jns 0x10026d18
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x800
push eax
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x10026c85
test edi, edi
je 0x10026cf1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
xor esi, esi
test edi, edi
je 0x10026cfe
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x101c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x1014
ret
mov esi, 1
jmp 0x10026cf3