joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004310
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
jne 0x100043d1
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x100043bb
push edi
push 0x104
lea edi, [ebx + 4]
push 0
push edi
call fcn.1008e9b0
add esp, 0xc
lea eax, [ebp - 0x108]
push edi
push 0
push 0x10117830
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str..bat
push edi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 4
push 0
push 7
push 0xc01200a0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebx], eax
pop edi
cmp dword [ebx], 0
jne 0x100043d1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
mov dword [ebp - 0x314], 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push 0x207
push eax
call fcn.100044a0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.100a9b71
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x10004431
cmp eax, 0x207
ja 0x10004431
jne 0x10004438
mov byte [ebp - 0x109], 0
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004441
push 0
lea eax, [ebp - 0x314]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x310]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10073638
mov esp, ebp
pop ebp
ret
Function at 0x10004f10
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10005123
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10005123
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004f43
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x10005123
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, 1
push 0
push eax
call fcn.1008e9b0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1008e9b0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
add esp, 0x18
push esi
push eax
call ebx
push 0x101178ec
lea eax, [ebp - 0x414]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10004fc4
test al, 1
je 0x10004fc4
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x10005109
lea ecx, [ebp - 0x664]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100050fd
nop dword [eax]
test byte [ebp - 0x664], 0x10
je 0x10005078
cmp word [ebp - 0x638], 0x2e
jne 0x10005037
mov ax, word [ebp - 0x636]
test ax, ax
je 0x100050e2
cmp ax, 0x2e
jne 0x10005037
cmp word [ebp - 0x634], 0
je 0x100050e2
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.10004f10
add esp, 4
jmp 0x100050e0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100050cf
test al, 1
je 0x100050cf
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10005000
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.10073638
mov esp, ebp
pop ebp
ret
Function at 0x10006060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100060b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100060b9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100060aa
cmp esi, edx
jae 0x100060b9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10006098
cmp esi, edx
jae 0x100060b9
cmp word [esi], 0
je 0x100060b9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10006630
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x800
lea eax, [ebp - 0x804]
mov ebx, ecx
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.BrowserProtectSetupSingleMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x808], esi
test esi, esi
je 0x10006718
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100066e5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.BrowserProtectSetupSingleMutex
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x100066d3
push 0
push 0
push dword [section..data]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
push edi
lea edi, [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 8], eax
je 0x10006703
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x10006710
lea edx, [ebp - 0x808]
push edx
push eax
call fcn.10006180
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.10073638
mov esp, ebp
pop ebp
ret
Function at 0x100095f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101044a2
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x830], edi
mov dword [ebp - 0x81c], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x800
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x810]
push eax
mov dword [ebp - 0x81c], 1
call fcn.1008e9b0
add esp, 0xc
mov dword [ebp - 0x82c], 1
cmp dword [0x1014f004], 0
mov esi, 0x20019
mov dword [ebp - 0x828], 0x800
mov dword [ebp - 0x814], 0
je 0x1000977e
push str.GetNativeSystemInfo
push 0x101179ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10009774
xorps xmm0, xmm0
mov dword [ebp - 0x834], 0
lea ecx, [ebp - 0x854]
push ecx
movups xmmword [ebp - 0x854], xmm0
movups xmmword [ebp - 0x844], xmm0
call eax
mov ax, word [ebp - 0x854]
cmp ax, 9
je 0x1000976a
cmp ax, 6
je 0x1000976a
cmp ax, 0xc
je 0x1000976a
push str.IsWow64Process2
push 0x10117a28
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x818], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x824], eax
test eax, eax
je 0x10009761
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x824]
test eax, eax
je 0x10009761
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x818], cx
sete al
mov dword [0x10154aec], eax
jmp 0x10009774
xor eax, eax
mov dword [0x10154aec], eax
jmp 0x10009774
mov dword [0x10154aec], 1
mov dword [0x1014f004], 0
cmp dword [0x10154aec], 0
mov eax, 0x20119
cmovne esi, eax
lea eax, [ebp - 0x814]
push eax
push esi
push 0
push 0x10117a90
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000980e
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x82c]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x814]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000980e
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100097f0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000aa60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
Function at 0x10009d80
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10104558
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10150440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10009dca
test al, 0x10
je 0x10009dca
push esi
mov edi, 1
call fcn.10004ef0
add esp, 4
jmp 0x10009dd1
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10009dfa
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10009dfa
push esi
test edi, edi
jne 0x10009df2
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10009dfa
call fcn.10004ef0
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10009e7b
push esi
lea ecx, [ebp - 0x10]
call fcn.100044e0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x10009e3a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.10004950
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x10009e46
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.10009030
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10009e68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100115d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10104fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1001ee40
mov edi, eax
lea ecx, [ebp - 0x6d]
lea eax, [ebp - 0x74]
push eax
call fcn.1000f6d0
mov esi, eax
mov ecx, dword [esi]
mov dword [ebp - 4], 0
cmp dword [ecx - 4], 1
jle 0x1001162a
push dword [ecx - 0xc]
mov ecx, esi
call fcn.100052e0
mov ecx, dword [esi]
mov eax, dword [edi]
push ecx
push 0xd7
push dword [0x10154af0]
push edi
call dword [eax + 0x14]
mov edx, dword [ebp - 0x74]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10011660
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x1001174a
push 4
push 0x10118bf4
push esi
call fcn.1001c6c0
cmp eax, 6
jne 0x1001168f
push 1
push esi
push esi
push 0x10118274
push 0x10118c1c
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
push 0x11
push str.ex_ary_errcode_
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 1
call fcn.10013df0
lea eax, [ebp - 0x12]
push 8
push eax
call fcn.1000f4f0
mov ecx, eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x44], edx
mov word [ebp - 0x54], ax
add esp, 8
lea eax, [ebp - 0x12]
mov esi, 7
mov dword [ebp - 0x40], esi
cmp ecx, eax
je 0x100116f7
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.1000aa60
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
cmp esi, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x6c]
push edx
push eax
call fcn.10013df0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.10009330
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push 0
cmovae eax, dword [ebp - 0x6c]
push 0
push 1
push eax
push str.fail
call fcn.10010e60
mov ecx, eax
call fcn.1001d990
lea ecx, [ebp - 0x6c]
call fcn.10009330
xor eax, eax
jmp 0x1001174f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
Function at 0x10012510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101050b6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x100125bc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x100125bc
call fcn.10010160
mov edi, eax
jmp 0x100126db
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100125df
call fcn.10010160
jmp 0x100126ce
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x100125fd
call fcn.10010160
jmp 0x100126ce
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1001261e
mov edi, 0x8007000e
jmp 0x100126d0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x10012714
jb 0x1001263c
cmp eax, 0xffffffff
ja 0x10012714
cmp eax, 0x400
jbe 0x10012651
push eax
lea ecx, [ebp - 0x418]
call fcn.10010080
jmp 0x10012677
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10012677
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1001268e
mov edi, 0x8007000e
jmp 0x100126d0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x100126ae
call fcn.10010160
jmp 0x100126ce
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10012370
mov edi, eax
test esi, esi
je 0x100126db
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100126f4
lea ecx, [ebp - 0x418]
call fcn.10010800
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 - 0x14]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.100047f0
int3
Function at 0x10019210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
test eax, eax
jne 0x100192ec
call fcn.10010d40
mov ecx, eax
call fcn.1000b870
test eax, eax
je 0x10019262
push 0xf
push str.dialog_progress
lea ecx, [esi + 0xac]
call fcn.1000aa60
mov eax, dword [esi + 0x94]
lea ecx, [esi + 0x94]
call dword [eax]
mov dword [esi + 0xa8], 1
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp dword [esi + 0x74], 0
je 0x100192db
cmp dword [esi + 0x78], 0
je 0x100192db
mov eax, dword [esi + 0x44]
push 0x3ed
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
push 0xf
push str.dialog_progress
lea ecx, [esi + 0xac]
call fcn.1000aa60
mov eax, dword [esi + 0x74]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 0x78]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 0x7c]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push 0
push 0
push 1
push 0
push str.dialog_progress
call fcn.10010e60
mov ecx, eax
call fcn.1001d990
mov dword [esi + 0xa8], 1
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp eax, 1
jne 0x100193be
call fcn.10010d40
mov ecx, eax
call fcn.1000b870
test eax, eax
je 0x10019336
push 0xd
push str.dialog_finish
lea ecx, [esi + 0xac]
call fcn.1000aa60
mov eax, dword [esi + 0xa0]
lea ecx, [esi + 0xa0]
call dword [eax]
mov dword [esi + 0xa8], 2
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp dword [esi + 0x74], 0
je 0x100193ad
cmp dword [esi + 0x78], 0
je 0x100193ad
mov eax, dword [esi + 0x44]
push 0x3ed
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
push str.dialog_finish
lea ecx, [esi + 0xac]
call fcn.10015ec0
mov eax, dword [esi + 0x74]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 0x78]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 0x7c]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push 0
push 0
push 1
push 0
push str.dialog_start
call fcn.10010e60
mov ecx, eax
call fcn.1001d990
mov dword [esi + 0xa8], 2
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp eax, 2
jne 0x100193d5
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.10019cd0
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x10019cd0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x10154b40
call fcn.10006820
push str.quit
call fcn.10015930
add esp, 4
lea ecx, [esi + 0x90]
call fcn.10015040
call fcn.1001ee40
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.1001ee40
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x1001e8e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
mov dword [ebp - 0x18], 0x73005c
mov dword [ebp - 0x14], 0x740065
mov dword [ebp - 0x10], 0x700075
mov dword [ebp - 0xc], 0x6c002e
mov dword [ebp - 8], 0x67006f
mov word [ebp - 4], ax
call fcn.10005390
mov ecx, eax
test ecx, ecx
je 0x1001e969
mov eax, dword [ecx]
push 2
push 0xa
call dword [eax]
test eax, eax
je 0x1001e973
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0xa
jl 0x1001e95f
mov dword [eax - 0xc], 0xa
xor eax, eax
mov ecx, dword [esi]
push 0x14
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x18]
push eax
push 0x14
push dword [esi]
call fcn.10020300
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.100047f0
push 0x80004005
call fcn.100047f0
call fcn.10006050
int3
Function at 0x1001ed30
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x1001edde
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
push 0x104
push eax
call fcn.1001ee70
test eax, eax
jne 0x1001eda5
push 1
push 0x26
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.LhpBrowserProtect
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [edi]
lea ecx, [ebp - 0x20c]
push ecx
push edi
call dword [eax + 0x30]
test eax, eax
je 0x1001edcb
push dword [0x1014f2d4]
call fcn.100280f0
add esp, 4
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x10]
push esi
call fcn.100aa1af
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10073638
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001ee70
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1001ef21
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.Setup_Path
push str.SOFTWARELhpBrowserProtect
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001ef21
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001ef21
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
push esi
call fcn.100aa1af
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.10073638
mov esp, ebp
pop ebp
ret 8