joyce8/EMBER2024-capa huggingface dataset:
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 [0x1015050c]
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 0x10005140
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10005198
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10005198
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10005178
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10005198
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10005193
test al, 0x10
je 0x10005193
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10005198
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
Function at 0x10005c70
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10005cb8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10005cb8
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10005ca8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10005cb8
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
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 [0x1015050c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
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]
mov edi, dword [section..data]
push edi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x808], esi
test esi, esi
je 0x10006716
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100066e5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push edi
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x100066d2
push 0
push 0
push dword [0x1014f004]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
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 0x10006702
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x1000670f
lea edx, [ebp - 0x808]
push edx
push eax
call fcn.10006180
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
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 [0x1015050c]
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 [0x1014f008], 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 [0x10154bbc], eax
jmp 0x10009774
xor eax, eax
mov dword [0x10154bbc], eax
jmp 0x10009774
mov dword [0x10154bbc], 1
mov dword [0x1014f008], 0
cmp dword [0x10154bbc], 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 [0x1015050c]
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 0x1000ae60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
mov dword [ebp - 0x18], 0x44002f
mov dword [ebp - 0x14], 0x620065
mov dword [ebp - 0x10], 0x670075
mov dword [ebp - 0xc], 0x690046
mov dword [ebp - 8], 0x65006c
mov word [ebp - 4], ax
call fcn.10005390
mov ecx, eax
test ecx, ecx
je 0x1000aee9
mov eax, dword [ecx]
push 2
push 0xa
call dword [eax]
test eax, eax
je 0x1000aef3
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0xa
jl 0x1000aedf
mov dword [eax - 0xc], 0xa
xor eax, eax
mov ecx, dword [esi]
push 0xa
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x18]
push eax
push 0xa
push dword [esi]
call fcn.100049e0
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 0x100115a0
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 [0x1015050c]
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.1001ee60
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 0x100115fa
push dword [ecx - 0xc]
mov ecx, esi
call fcn.100052e0
mov ecx, dword [esi]
mov eax, dword [edi]
push ecx
push 0xd7
push dword [0x10154bc0]
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 0x10011630
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x1001171b
push 4
push 0x10118bcc
push esi
call fcn.1001c6a0
cmp eax, 6
jne 0x10011660
push 1
push esi
push esi
push dword [0x1014f188]
push 0x10118bf4
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.10013d80
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 0x100116c8
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.10013d80
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.10010e30
mov ecx, eax
call fcn.1001d970
lea ecx, [ebp - 0x6c]
call fcn.10009330
xor eax, eax
jmp 0x10011720
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 0x100124a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101050a6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x1015050c]
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 0x1001254c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x1001254c
call fcn.10010130
mov edi, eax
jmp 0x1001266b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1001256f
call fcn.10010130
jmp 0x1001265e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1001258d
call fcn.10010130
jmp 0x1001265e
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 0x100125ae
mov edi, 0x8007000e
jmp 0x10012660
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x100126a4
jb 0x100125cc
cmp eax, 0xffffffff
ja 0x100126a4
cmp eax, 0x400
jbe 0x100125e1
push eax
lea ecx, [ebp - 0x418]
call fcn.10010050
jmp 0x10012607
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10012607
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1001261e
mov edi, 0x8007000e
jmp 0x10012660
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 0x1001263e
call fcn.10010130
jmp 0x1001265e
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.10012300
mov edi, eax
test esi, esi
je 0x1001266b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10012684
lea ecx, [ebp - 0x418]
call fcn.100107d0
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 0x100191f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
test eax, eax
jne 0x100192cc
call fcn.10010d10
mov ecx, eax
call fcn.1000b870
test eax, eax
je 0x10019242
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 0x100192bb
cmp dword [esi + 0x78], 0
je 0x100192bb
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.10010e30
mov ecx, eax
call fcn.1001d970
mov dword [esi + 0xa8], 1
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp eax, 1
jne 0x1001939e
call fcn.10010d10
mov ecx, eax
call fcn.1000b870
test eax, eax
je 0x10019316
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 0x1001938d
cmp dword [esi + 0x78], 0
je 0x1001938d
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.10015ea0
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.10010e30
mov ecx, eax
call fcn.1001d970
mov dword [esi + 0xa8], 2
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp eax, 2
jne 0x100193b5
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.10019cb0
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x10019cb0
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, 0x10154c10
call fcn.10006820
push str.quit
call fcn.10015910
add esp, 4
lea ecx, [esi + 0x90]
call fcn.10014fd0
call fcn.1001ee60
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.1001ee60
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x1001e8f0
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 0x1001e979
mov eax, dword [ecx]
push 2
push 0xa
call dword [eax]
test eax, eax
je 0x1001e983
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0xa
jl 0x1001e96f
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.100202f0
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 0x1001ed40
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1015050c]
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 0x1001edef
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.1001ee90
test eax, eax
jne 0x1001edb6
push 1
push 0x26
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [0x1014f31c]
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 0x1001eddc
push dword [0x1014f310]
call fcn.10028160
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 0x1001ee90
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1015050c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1001ef42
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 dword [0x1014f320]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001ef42
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001ef42
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