joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10083220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa34], eax
push edi
mov edi, ecx
test eax, eax
jne 0x10083254
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0x38]
xor esi, esi
mov dword [ebp - 0xa38], eax
test eax, eax
jle 0x100833a9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x824
lea eax, [ebp - 0xa30]
push 0
push eax
call fcn.100ec480
mov eax, dword [edi]
lea ecx, [ebp - 0xa30]
add esp, 0xc
push ecx
push esi
push edi
call dword [eax + 0x34]
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100ec480
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push dword [ebp - 0xa34]
push 0x104
push eax
call fcn.1010b986
add esp, 0x1c
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x10175c4c
lea eax, [ebp - 0x828]
push eax
call ebx
test eax, eax
jne 0x10083374
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x20c]
push eax
jne 0x1008331a
push str.__s__is_not_exist
call fcn.1004a190
add esp, 8
jmp 0x1008339b
call fcn.10074c80
mov eax, dword [ebp - 0x210]
cmp eax, 0x1388
ja 0x10083330
test eax, eax
jne 0x1008333b
mov eax, 0x1388
mov dword [ebp - 0x210], eax
push eax
push 0
push 1
push 0
push 1
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10074fc0
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.exec_cmdline_:_exepath__s___para__s_
call fcn.1004a190
add esp, 0xc
jmp 0x1008339b
push 0x10181d0c
lea eax, [ebp - 0x828]
push eax
call ebx
test eax, eax
jne 0x1008339b
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
lea eax, [ebp - 0xa30]
push eax
call fcn.10082f60
inc esi
cmp esi, dword [ebp - 0xa38]
jl 0x10083272
pop ebx
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop edi
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8
Function at 0x10086500
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.100b4660
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2004]
push edi
mov edi, dword [ebp + 0xc]
push 0x2000
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x200c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x100865a7
cmp eax, 0x1fff
ja 0x100865a7
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100865a7
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x10179aa4
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100865a7
mov eax, dword [ebp - 0x2008]
movzx eax, word [eax + 0xa]
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8

Function at 0x10086920
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100ec480
add esp, 0xc
mov dword [ebp - 0x210], 1
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100869a7
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x100869d5
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100869b0
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x20e], 0x5c
je 0x100869d5
mov dword [ebp + ecx*2 - 0x20c], 0x5c
push 0x103
push str.Internet_ExplorerIEXPLORE.EXE
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1012154c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x210]
add esp, 0x10
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10086500
cmp dword [ebp - 0x210], 7
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4
Function at 0x10086a30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x101c0454]
test ecx, ecx
js 0x10086a64
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4
push 0x118
xorps xmm0, xmm0
mov dword [0x101c0454], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x124], 0
push 0
push eax
movups xmmword [ebp - 0x144], xmm0
movups xmmword [ebp - 0x134], xmm0
call fcn.100ec480
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10086ad5
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10086b2b
push str.GetNativeSystemInfo
push 0x10175b84
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10086b2b
lea ecx, [ebp - 0x144]
push ecx
call eax
mov ax, word [ebp - 0x144]
cmp ax, 9
je 0x10086b0c
cmp ax, 6
jne 0x10086b2b
mov dword [0x101c0454], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4

Function at 0x10086d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 5
jne 0x10086ddf
cmp dword [eax + 0xc], 1
jb 0x10086ddf
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100ec480
add esp, 0xc
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.CSDVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10086ddf
lea eax, [ebp - 0x20c]
push str.Service_Pack_2
push eax
call fcn.1010927f
add esp, 8
test eax, eax
js 0x10086ddf
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4
Function at 0x100873d0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], 0x104
test edi, edi
je 0x10087494
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10087494
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x10087494
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10087494
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x1008748d
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100b4568
mov esp, ebp
pop ebp
ret 4
Function at 0x100878e0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x438], eax
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x428], edi
test eax, eax
jne 0x1008791b
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 0x14
push ebx
xor ebx, ebx
lea ecx, [ebp - 0x42c]
push ecx
push ebx
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x42c], ebx
push ecx
push ebx
push ebx
push 4
push dword [ebp + 0xc]
mov dword [ebp - 0x418], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x10087af2
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 2
je 0x10087961
cmp esi, 1
jne 0x10087a00
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x10087a00
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x424], ebx
push ecx
lea ecx, [ebp - 0x424]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclW]
test eax, eax
jne 0x10087a00
mov esi, dword [ebp - 0x424]
sub esi, 1
js 0x100879fd
mov ebx, dword [ebp - 0x428]
mov edi, esi
shl edi, 5
nop word [eax + eax]
mov eax, dword [ebp - 0x430]
cmp dword [edi + eax + 4], 3
jne 0x100879ed
test ebx, ebx
je 0x100879e0
cmp dword [edi + eax + 0x14], 0
jne 0x100879ed
add eax, 0xc
push ebx
add eax, edi
push eax
call dword [sym.imp.ADVAPI32.dll_GetTrusteeNameW]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x100879ed
push esi
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
sub edi, 0x20
sub esi, 1
jns 0x100879b0
mov edi, dword [ebp - 0x428]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
push 0x208
xorps xmm0, xmm0
mov dword [ebp - 0x41c], 0
lea eax, [ebp - 0x20c]
push 0
push eax
movups xmmword [ebp - 0x458], xmm0
movups xmmword [ebp - 0x448], xmm0
call fcn.100ec480
add esp, 0xc
mov dword [ebp - 0x434], 0x104
test edi, edi
je 0x10087a75
lea eax, [ebp - 0x430]
mov dword [ebp - 0x420], 0x104
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
push 3
push esi
push dword [ebp + 0x18]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameW]
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x458]
push eax
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
jne 0x10087ae4
push 0
push dword [ebp - 0x41c]
push 0
push 0
push 4
push dword [ebp + 0xc]
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 0x41c]
inc ebx
test eax, eax
je 0x10087ae4
push eax
call esi
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x10087af1
push eax
call esi
pop esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
xor ecx, ebp
pop edi
call fcn.100b4568
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10089c50
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015fda8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x101c6de8], 0
jne 0x10089c94
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x101c6de8
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.1000d010
mov ecx, eax
test ecx, ecx
je 0x10089d00
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x101c6de8
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.1001aad0
test al, al
jne 0x10089cec
mov ecx, 0x101c6de8
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10089cd0
sub ecx, edx
sar ecx, 1
push ecx
push 0x101c6de8
mov ecx, esi
call fcn.1000adf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10007270
int3
Function at 0x1008b450
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160098
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x101c0618]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.1000c820
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
lea eax, [esi + 4]
mov ecx, esi
push eax
call fcn.1008ad20
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x1008b4c3
push dword [ebp - 0x14]
push esi
push 7
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1008b4e2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008b650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x208
mov dword [ebp - 0x620], eax
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.100ec480
add esp, 0xc
call fcn.10073050
push 0x104
lea edx, [ebp - 0x61c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x61c]
push str.UtilsCefHelper.dll
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x1008b725
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.100ec480
add esp, 0xc
call fcn.10073050
mov ecx, eax
call fcn.10072ff0
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
push str.UtilsCefHelper.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x1008b75a
lea ecx, [ebp - 0x20c]
push ecx
push str.not_find_cefhelper_file__path_:_s
call fcn.1004a150
add esp, 8
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1008b82d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetProductInfo
push edi
call esi
test eax, eax
je 0x1008b796
mov ecx, dword [ebp - 0x620]
push dword [ecx]
push dword [ebx]
push dword [0x101c0524]
call eax
push str.StartEx
push edi
call esi
mov esi, eax
test esi, esi
je 0x1008b82d
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x414]
push eax
push str.cef_path:__s
call fcn.1004a150
add esp, 8
lea eax, [ebp - 0x414]
push str.3.2623.1401.0
push eax
call esi
mov esi, eax
push esi
push str.exec_cefhelper_entry__retcode:__d
call fcn.1004a150
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8
Function at 0x1008b850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x208
mov dword [ebp - 0x620], eax
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.100ec480
add esp, 0xc
call fcn.10073050
push 0x104
lea edx, [ebp - 0x61c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x61c]
push str.UtilsCefHelper.dll
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x1008b925
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.100ec480
add esp, 0xc
call fcn.10073050
mov ecx, eax
call fcn.10072ff0
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
push str.UtilsCefHelper.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x1008b95a
lea ecx, [ebp - 0x20c]
push ecx
push str.not_find_cefhelper_file__path_:_s
call fcn.1004a150
add esp, 8
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1008ba2d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetProductInfo
push edi
call esi
test eax, eax
je 0x1008b996
mov ecx, dword [ebp - 0x620]
push dword [ecx]
push dword [ebx]
push dword [0x101c0524]
call eax
push str.StartFlashEx
push edi
call esi
mov esi, eax
test esi, esi
je 0x1008ba2d
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x414]
push eax
push str.cef_path:__s
call fcn.1004a150
add esp, 8
lea eax, [ebp - 0x414]
push str.24.0.0.221
push eax
call esi
mov esi, eax
push esi
push str.exec_cefhelper_entry__retcode:__d
call fcn.1004a150
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8
Function at 0x1008bdb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0xc]
test eax, eax
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, 0x10000000
cmovne esi, eax
mov eax, dword [ebp + 0x14]
push edi
push ebx
push esi
movq qword [eax], xmm0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x1008bdfd
push edi
push ebx
push esi
push str.CResUtils::GetResourceData_FindResource__p___s___s__failed
call fcn.1004a190
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 8]
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1008be2f
push edi
push ebx
push esi
push str.CResUtils::GetResourceData_LoadResource__p___s___s__failed
call fcn.1004a190
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10091590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10160ba1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [edi], 0
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x10091724
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
push eax
push 0xf003f
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100916e5
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100916d7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100916e5
add eax, 0x10
push 0x101c727c
push eax
mov dword [ebp - 0x20], eax
call fcn.100b49d0
mov esi, eax
add esp, 8
test esi, esi
je 0x100916e5
push dword [ebp - 0x20]
push 0
push esi
call fcn.100ec480
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1009169a
push esi
call fcn.100b46bc
add esp, 4
jmp 0x100916e5
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100916a0
sub ecx, edx
sar ecx, 1
je 0x100916ce
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100916b6
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.1000adf0
push esi
call fcn.100b46bc
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100916e5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10091704
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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 - 0x10]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10007270
int3
Function at 0x10091730
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101c0618]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xc], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10091754
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x100917b6
lea eax, [esi*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 8]
inc ebx
test eax, eax
je 0x100917b6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100917d1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b4568
mov esp, ebp
pop ebp
ret 0x10