joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009d1ae
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.Txdl::CServiceLauncher.0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe8], 0
je 0x1009d212
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x1009d1fd
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004adf
movzx eax, al
test eax, eax
jne 0x1009d1fd
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004d1a
push eax
call fcn.100a8d4c
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.10001767
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10001767
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001767
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001767
mov ecx, dword [ebp - 4]
call fcn.1003653b
leave
ret

Function at 0x1009d32e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.Txdl::CQQExternalShellLauncher.0
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004adf
movzx eax, al
test eax, eax
jne 0x1009d383
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1009d383
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004adf
movzx eax, al
test eax, eax
jne 0x1009d3ad
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001767
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001767
mov ecx, dword [ebp - 4]
call fcn.10036278
leave
ret
Function at 0x1009ddd7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b21a5
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x448], ecx
push 0x100c2ad0
lea ecx, [ebp - 0x440]
call fcn.100016f9
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
add eax, 4
push eax
lea ecx, [ebp - 0x440]
call fcn.10001792
push 0x100c2ad4
lea ecx, [ebp - 0x440]
call fcn.10004c93
push 0x100c2ad8
lea ecx, [ebp - 0x440]
call fcn.10004c93
push dword [ebp + 8]
lea ecx, [ebp - 0x440]
call fcn.10004c93
lea ecx, [ebp - 0x440]
call fcn.10004d1a
push eax
push 0x208
push section.DLLShare
call fcn.100714e9
add esp, 0xc
and word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.10070cb0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [0x100f9204]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x100c2adc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.10073d46
add esp, 0xc
and word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.10070cb0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.rundll32.exe
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.100a65eb
add esp, 0x14
mov dword [ebp - 0x444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.10001767
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e011
leave
ret 4
Function at 0x1009ea0a
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2303
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
push 0x100c2558
lea ecx, [ebp - 0x48]
call fcn.100016f9
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.10001792
push 0x100c255c
lea ecx, [ebp - 0x48]
call fcn.10004c93
push 0x100c2560
lea ecx, [ebp - 0x48]
call fcn.10004c93
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10004c93
lea ecx, [ebp - 0x48]
call fcn.10004d1a
push eax
call fcn.1009becf
pop ecx
test eax, eax
jne 0x1009eaa5
and dword [ebp - 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001767
mov eax, dword [ebp - 0x4c]
jmp 0x1009eba9
mov ecx, dword [ebp - 0x5c]
call fcn.1009e51a
test eax, eax
jne 0x1009eac9
and dword [ebp - 0x50], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001767
mov eax, dword [ebp - 0x50]
jmp 0x1009eba9
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d1a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009eaf7
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x100c2564
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d1a
push eax
push 0x6f
push dword [0x100f9204]
call fcn.10099c57
add esp, 0x10
test eax, eax
jne 0x1009eb34
and dword [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001767
mov eax, dword [ebp - 0x54]
jmp 0x1009eba9
push 0x100c2578
mov eax, dword [ebp - 0x5c]
add eax, 0xcc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a7a9
add esp, 0xc
mov byte [ebp - 4], 1
push 0x100c2588
lea ecx, [ebp - 0x2c]
call fcn.10004d1a
push eax
push 0x69
push dword [0x100f9204]
call fcn.10099c57
add esp, 0x10
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d1a
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.1009c074
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001767
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001767
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e011
leave
ret 4
Function at 0x1009ebc2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.10009f34
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1003338d
test eax, eax
je 0x1009ec39
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1003338d
mov dword [ebp - 0x14], eax
push 0
push 0x100c2530
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call dword [eax + 0x18]
cmp eax, 0x64
jne 0x1009ec39
mov eax, dword [0x10102014]
dec eax
mov dword [0x10102014], eax
cmp dword [0x10102014], 0xffffffff
jne 0x1009ec39
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10102018], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1003338d
test eax, eax
je 0x1009ec76
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1003338d
mov dword [ebp - 0x18], eax
push 0
push str.EnableLsp
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009ec76
call fcn.10036d94
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x10]
push 0x1009ae0f
push 0
push 0
call fcn.100717ac
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.1003033e
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10035f85
lea ecx, [ebp - 0xc]
call fcn.10020d6f
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.1003338d
test eax, eax
je 0x1009ece7
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.1003338d
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x98]
jmp 0x1009ece9
xor eax, eax
leave
ret 4
Function at 0x1009eced
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2330
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x3c]
call fcn.10036fef
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.10009f34
and dword [ebp - 0x1c], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x20], 0
je 0x1009edd0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x1009b0ce
push 0
push 0
call fcn.100717ac
add esp, 0x18
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x1009edc7
push 0x64
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x1009ed91
jmp 0x1009edbe
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x3c], 1
jne 0x1009edb9
cmp dword [0x100f9200], 0
jne 0x1009edb9
mov ecx, dword [ebp - 0x4c]
call fcn.100998eb
test eax, eax
je 0x1009edb9
mov dword [0x100f9200], 1
xor eax, eax
inc eax
jne 0x1009ed79
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10016b1f
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e011
leave
ret 4
Function at 0x100a1110
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x100f92d8
call fcn.100a7371
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.1009b19b
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100a1152
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.10009f34
push dword [ebp - 0x14]
call fcn.10011868
mov ecx, eax
call fcn.1009d3d0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100a1190
push 0
push 0
push dword [ebp - 0x14]
push 0x100a10ef
push 0
push 0
call fcn.100717ac
add esp, 0x18
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a11cb
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100a11a3
mov ecx, 0x100f92d8
call fcn.100a68c8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100a11c7
push 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
call dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x100a11cb
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x100a11d2
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0xc], eax
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a12a0
and dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.10070cb0
add esp, 0xc
mov dword [ebp - 0x118], pe_nt_image_headers32
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0x100c4054
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100a1290
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.KAV7NEEDREBOOT
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a1297
mov dword [ebp - 8], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1006e011
leave
ret
Function at 0x100a12af
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x228], 0
and dword [ebp - 0x224], 0
and dword [ebp - 0x230], 0
and dword [ebp - 0x220], 0
and dword [ebp - 0x218], 0
and dword [ebp - 0x22c], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10070cb0
add esp, 0xc
and dword [ebp - 4], 0
or dword [ebp - 0x21c], 0xffffffff
and dword [ebp - 0x214], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x100a1341
xor eax, eax
jmp 0x100a13d2
push dword [ebp - 0x230]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x100a1363
xor eax, eax
jmp 0x100a13d2
push dword [ebp - 0x230]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x100a1385
xor eax, eax
jmp 0x100a13d2
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100a13a4
xor eax, eax
jmp 0x100a13d2
push dword [ebp + 8]
push dword [ebp - 0x218]
call fcn.10035fd7
pop ecx
pop ecx
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x228], eax
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006e011
leave
ret

Function at 0x100a1a07
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x14], ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push 0
push 0
push dword [ebp - 0x10]
push 0x100a18fa
push 0
push 0
call fcn.100717ac
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.1003033e
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10035f85
lea ecx, [ebp - 0xc]
call fcn.10020d6f
mov ecx, dword [ebp - 0x10]
call fcn.1003338d
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x100a25ab
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and dword [eax], 0
lea eax, [ebp - 8]
push eax
push 0x100c9a8c
push 1
push 0
push 0x100c9a7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100a25e8
jmp 0x100a2615
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100a2604
jmp 0x100a2615
push dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x100a2626
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x100a2637
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x100a35f4
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
call fcn.10010553
cmp eax, 2
jge 0x100a360f
xor eax, eax
jmp 0x100a3672
push 2
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003c34
and dword [ebp - 8], 0
xor eax, eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
push 0
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.1003338d
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 4], 0
ja 0x100a3660
jb 0x100a364f
cmp dword [ebp - 8], 0x6400000
jae 0x100a3660
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.100104e6
mov eax, dword [ebp - 0x10]
jmp 0x100a3672
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xc]
call fcn.100104e6
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4
Function at 0x100a60b2
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1594
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x23c], 0
mov dword [ebp - 0x10], 1
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10070cb0
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
call fcn.10003b3a
and dword [ebp - 4], 0
push 0
push str._HostInstallPackDir_
lea ecx, [ebp - 0x230]
call fcn.100105cf
test eax, eax
jl 0x100a614a
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.10023837
add esp, 0xc
jmp 0x100a618e
push 0
push str._HostInstallPackExe_
lea ecx, [ebp - 0x230]
call fcn.100105cf
test eax, eax
jl 0x100a6179
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.10023da4
add esp, 0xc
jmp 0x100a618e
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003b3a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x238]
push eax
call fcn.100a5c40
pop ecx
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x244]
call fcn.1003338d
push eax
push str.RandomSubPathTag
lea ecx, [ebp - 0x14]
call fcn.10023ecc
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x231], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.100104e6
movzx eax, byte [ebp - 0x231]
test eax, eax
je 0x100a6220
push 0x104
lea ecx, [ebp - 0x14]
call fcn.1003338d
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10071323
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003b3a
mov eax, dword [ebp - 0x23c]
or eax, 1
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100104e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100104e6
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006e011
leave
ret
Function at 0x100a6526
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
and word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10070cb0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str.InstallDir
push 0x100c56e4
call fcn.100a9a1e
add esp, 0xc
test eax, eax
je 0x100a65c0
lea eax, [ebp - 0x218]
push eax
call fcn.1006dffb
pop ecx
test eax, eax
jbe 0x100a65c0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a65c0
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.100016f9
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
jmp 0x100a65df
push 0x100c5718
mov ecx, dword [ebp + 8]
call fcn.100016f9
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e011
leave
ret

Function at 0x100a65eb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1c5f
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x70], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x100a6623
cmp dword [ebp + 0xc], 0
jne 0x100a662a
xor eax, eax
jmp 0x100a6729
and dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.10070cb0
add esp, 0xc
and dword [ebp - 0x1c], 0
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 0x81
mov eax, dword [ebp + 0x14]
neg eax
sbb eax, eax
and eax, 5
mov word [ebp - 0x3c], ax
push 0x100c563c
lea ecx, [ebp - 0x8c]
call fcn.100016f9
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.10004c93
push 0x100c5640
lea ecx, [ebp - 0x8c]
call fcn.10004c93
push 0x100c5644
lea ecx, [ebp - 0x8c]
call fcn.10004c93
push dword [ebp + 0xc]
lea ecx, [ebp - 0x8c]
call fcn.10004c93
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x10]
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.10004d1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100a670b
cmp dword [ebp + 0x18], 0
je 0x100a66f9
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x90], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10001767
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x70]
xor ecx, ebp
call fcn.1006e011
leave
ret
Function at 0x100a78fd
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
cmp dword [0x100f9188], 0
je 0x100a7942
push dword [ebp - 4]
push dword [0x100f9188]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100a792f
push 0xffffffffffffffff
push dword [0x100f9188]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x100f9188]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x100f9188], 0
cmp dword [0x100f9190], 0
je 0x100a795e
push dword [0x100f9190]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x100f9190], 0
leave
ret