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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd526
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100ee3e0]
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 0x100d0c84
lea ecx, [ebp - 0x48]
call fcn.100016ce
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.10001767
push 0x100d0cf8
lea ecx, [ebp - 0x48]
call fcn.10004cc8
push 0x100d0cfc
lea ecx, [ebp - 0x48]
call fcn.10004cc8
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10004cc8
lea ecx, [ebp - 0x48]
call fcn.10004d78
push eax
call fcn.100a38ab
pop ecx
test eax, eax
jne 0x100a7b93
and dword [ebp - 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000173c
mov eax, dword [ebp - 0x4c]
jmp 0x100a7ca1
mov ecx, dword [ebp - 0x5c]
call fcn.100a7608
test eax, eax
jne 0x100a7bb7
and dword [ebp - 0x50], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000173c
mov eax, dword [ebp - 0x50]
jmp 0x100a7ca1
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d78
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a7be5
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x100d0d00
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d78
push eax
push 0x277f
push dword [0x1010a390]
call fcn.100a432e
add esp, 0x14
test eax, eax
jne 0x100a7c27
and dword [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000173c
mov eax, dword [ebp - 0x54]
jmp 0x100a7ca1
push 0x100d0d14
mov eax, dword [ebp - 0x5c]
add eax, 0xcc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a977
add esp, 0xc
mov byte [ebp - 4], 1
push 0
push 0x100d0d24
lea ecx, [ebp - 0x2c]
call fcn.10004d78
push eax
push 0x451
push dword [0x1010a390]
call fcn.100a432e
add esp, 0x14
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d78
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.100a3a50
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1000173c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000173c
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.10071fa1
leave
ret 4
Function at 0x100a7cba
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.1000a010
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100348a0
test eax, eax
je 0x100a7d31
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100348a0
mov dword [ebp - 0x14], eax
push 0
push 0x100d0c04
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call dword [eax + 0x18]
cmp eax, 0x64
jne 0x100a7d31
mov eax, dword [0x10113014]
dec eax
mov dword [0x10113014], eax
cmp dword [0x10113014], 0xffffffff
jne 0x100a7d31
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10113018], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100348a0
test eax, eax
je 0x100a7d6e
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100348a0
mov dword [ebp - 0x18], eax
push 0
push 0x100d0c10
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 0x100a7d6e
call fcn.10036eea
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100348a0
mov dword [ebp - 0x1c], eax
push 0
push str.EnableLsp
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.1005c404
movzx eax, al
test eax, eax
je 0x100a7db1
push str.70407_from70317_CDllLauncher::ExecuteInternal
push 0xd2
push 0x100d0c88
call fcn.1005c293
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x10]
push 0x100a2e0a
push 0
push 0
call fcn.10075573
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.100349df
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10035f12
lea ecx, [ebp - 0xc]
call fcn.10020b94
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.100348a0
test eax, eax
je 0x100a7e22
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.100348a0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x98]
jmp 0x100a7e24
xor eax, eax
leave
ret 4
Function at 0x100a7e28
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd56c
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x228]
call fcn.1001dc86
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1001dc86
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10010607
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x100a7eca
push 0x100d0a44
lea ecx, [ebp - 0x228]
call fcn.10020293
push eax
push dword [0x10106140]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
push 0x100d0a6c
lea ecx, [ebp - 0x230]
call fcn.10020293
push eax
push dword [0x1010613c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
lea ecx, [ebp - 0x228]
call fcn.100348a0
push eax
lea ecx, [ebp - 0x22c]
call fcn.10003bdd
push 0x100d0a7c
lea ecx, [ebp - 0x22c]
call fcn.10009fcd
lea ecx, [ebp - 0x230]
call fcn.100348a0
push eax
lea ecx, [ebp - 0x22c]
call fcn.10009fcd
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10074c40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.100348a0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x20a
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.10074c40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x22c]
call fcn.100348a0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0x100d0a80
lea eax, [ebp - 0x224]
push eax
push 0x277e
push dword [0x1010a390]
call fcn.100a432e
add esp, 0x14
lea eax, [ebp - 0x224]
push eax
call fcn.10037bf2
mov ecx, eax
call fcn.10037145
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.100106a5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1000a9f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1000a9f1
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071fa1
leave
ret
Function at 0x100a8011
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd59c
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x40]
call fcn.100373e8
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.1000a010
and dword [ebp - 0x20], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call fcn.100348a0
mov dword [ebp - 0x54], eax
push 0
push str.EnableExePackUac
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x24], 0
je 0x100a8117
push 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0x100a58ea
push 0
push 0
call fcn.10075573
add esp, 0x18
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x100a810e
push 0x64
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x100a80d8
jmp 0x100a8105
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x3c], 1
jne 0x100a8100
cmp dword [0x1010a388], 0
jne 0x100a8100
mov ecx, dword [ebp - 0x50]
call fcn.100a171e
test eax, eax
je 0x100a8100
mov dword [0x1010a388], 1
xor eax, eax
inc eax
jne 0x100a80c0
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100373fc
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071fa1
leave
ret 4
Function at 0x100ab71e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x1010a470
call fcn.100b1c37
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.100a3dea
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100ab760
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.1000a010
push dword [ebp - 0x14]
call fcn.10011a10
mov ecx, eax
call fcn.100a5cd3
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100ab79e
push 0
push 0
push dword [ebp - 0x14]
push 0x100ab6fd
push 0
push 0
call fcn.10075573
add esp, 0x18
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100ab7d9
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100ab7b1
mov ecx, 0x1010a470
call fcn.100b1188
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 0x100ab7d5
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 0x100ab7d9
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100ee3e0]
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 0x100ab8ae
and dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.10074c40
add esp, 0xc
mov dword [ebp - 0x118], 0x100
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0x100d392c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100ab89e
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 0x100ab8a5
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.10071fa1
leave
ret
Function at 0x100ab8bd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100ee3e0]
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.10074c40
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 0x100ab94f
xor eax, eax
jmp 0x100ab9e0
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 0x100ab971
xor eax, eax
jmp 0x100ab9e0
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 0x100ab993
xor eax, eax
jmp 0x100ab9e0
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100ab9b2
xor eax, eax
jmp 0x100ab9e0
push dword [ebp + 8]
push dword [ebp - 0x218]
call fcn.10035f64
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.10071fa1
leave
ret

Function at 0x100ac01b
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 0x100abf0e
push 0
push 0
call fcn.10075573
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.100349df
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10035f12
lea ecx, [ebp - 0xc]
call fcn.10020b94
mov ecx, dword [ebp - 0x10]
call fcn.100348a0
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x100acbbf
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 0x100d9374
push 1
push 0
push 0x100d9364
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100acbfc
jmp 0x100acc29
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 0x100acc18
jmp 0x100acc29
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 0x100acc3a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x100acc4b
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 0x100adc08
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.10003b2c
cmp eax, 2
jge 0x100adc23
xor eax, eax
jmp 0x100adc86
push 2
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003c53
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.100348a0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 4], 0
ja 0x100adc74
jb 0x100adc63
cmp dword [ebp - 8], 0x6400000
jae 0x100adc74
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.100106a5
mov eax, dword [ebp - 0x10]
jmp 0x100adc86
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xc]
call fcn.100106a5
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4
Function at 0x100b00ef
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov eax, dword [ebp + 0x10]
and dword [eax], 0
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100b01a0
push dword [ebp - 4]
call fcn.10071328
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100b018d
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100d4eb8
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100b018d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call fcn.10073efc
pop ecx
and dword [ebp - 8], 0
xor eax, eax
inc eax
jmp 0x100b01a2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.10073efc
pop ecx
and dword [ebp - 8], 0
xor eax, eax
leave
ret
Function at 0x100b07e9
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x100ee3e0]
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.10074c40
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
call fcn.10003b59
and dword [ebp - 4], 0
push 0
push str._HostInstallPackDir_
lea ecx, [ebp - 0x230]
call fcn.10010798
test eax, eax
jl 0x100b0881
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.10023a45
add esp, 0xc
jmp 0x100b08c5
push 0
push str._HostInstallPackExe_
lea ecx, [ebp - 0x230]
call fcn.10010798
test eax, eax
jl 0x100b08b0
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.10023fc2
add esp, 0xc
jmp 0x100b08c5
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.10003b59
mov byte [ebp - 4], 1
lea eax, [ebp - 0x238]
push eax
call fcn.100b029a
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.100348a0
push eax
push str.RandomSubPathTag
lea ecx, [ebp - 0x14]
call fcn.100240d8
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x231], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.100106a5
movzx eax, byte [ebp - 0x231]
test eax, eax
je 0x100b0957
push 0x104
lea ecx, [ebp - 0x14]
call fcn.100348a0
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.100752b3
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003b59
mov eax, dword [ebp - 0x23c]
or eax, 1
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100106a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100106a5
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.10071fa1
leave
ret
Function at 0x100b0de6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100ee3e0]
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.10074c40
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x100d4dc4
push 0x100d4ddc
call fcn.100b46fd
add esp, 0xc
test eax, eax
je 0x100b0e80
lea eax, [ebp - 0x218]
push eax
call fcn.10071f8b
pop ecx
test eax, eax
jbe 0x100b0e80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b0e80
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.100016ce
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
jmp 0x100b0e9f
push 0x100d4e10
mov ecx, dword [ebp + 8]
call fcn.100016ce
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.10071fa1
leave
ret

Function at 0x100b0eab
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcd32
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100ee3e0]
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 0x100b0ee3
cmp dword [ebp + 0xc], 0
jne 0x100b0eea
xor eax, eax
jmp 0x100b0fe9
and dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.10074c40
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 0x100d4d34
lea ecx, [ebp - 0x8c]
call fcn.100016ce
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.10004cc8
push 0x100d4d38
lea ecx, [ebp - 0x8c]
call fcn.10004cc8
push 0x100d4d3c
lea ecx, [ebp - 0x8c]
call fcn.10004cc8
push dword [ebp + 0xc]
lea ecx, [ebp - 0x8c]
call fcn.10004cc8
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.10004d78
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100b0fcb
cmp dword [ebp + 0x18], 0
je 0x100b0fb9
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.1000173c
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.10071fa1
leave
ret
Function at 0x100b2431
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
cmp dword [0x1010a310], 0
je 0x100b2476
push dword [ebp - 4]
push dword [0x1010a310]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100b2463
push 0xffffffffffffffff
push dword [0x1010a310]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1010a310]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x1010a310], 0
cmp dword [0x1010a318], 0
je 0x100b2492
push dword [0x1010a318]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x1010a318], 0
leave
ret