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

Disassembly:
push ebp
mov ebp, esp
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 4], esp
push dword [ebp + 8]
call fcn.100016da
call fcn.1009e696
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009f618
xor eax, eax
inc eax
jmp 0x1009f61a
xor eax, eax
leave
ret
Function at 0x1009fd1f
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 0x1009fd83
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x1009fd6e
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10001898
movzx eax, al
test eax, eax
jne 0x1009fd6e
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004d5d
push eax
call fcn.100ac5aa
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004d5d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.10001748
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10001748
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001748
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001748
mov ecx, dword [ebp - 4]
call fcn.1003641e
leave
ret

Function at 0x1009fe9f
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.10001898
movzx eax, al
test eax, eax
jne 0x1009fef4
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004d5d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1009fef4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004d5d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001898
movzx eax, al
test eax, eax
jne 0x1009ff1e
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004d5d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001748
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001748
mov ecx, dword [ebp - 4]
call fcn.10036210
leave
ret
Function at 0x100a0a43
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100e13e0]
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 0x100c735c
lea ecx, [ebp - 0x440]
call fcn.100016da
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
add eax, 4
push eax
lea ecx, [ebp - 0x440]
call fcn.10001773
push 0x100c7360
lea ecx, [ebp - 0x440]
call fcn.10004cd6
push 0x100c7364
lea ecx, [ebp - 0x440]
call fcn.10004cd6
push dword [ebp + 8]
lea ecx, [ebp - 0x440]
call fcn.10004cd6
lea ecx, [ebp - 0x440]
call fcn.10004d5d
push eax
push 0x208
push section.DLLShare
call fcn.10072a21
add esp, 0xc
and word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.10072040
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [0x100fd1b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x100c7368
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.10074c14
add esp, 0xc
and word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.10072040
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.100a9c83
add esp, 0x14
mov dword [ebp - 0x444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.10001748
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.1006f3c1
leave
ret 4
Function at 0x100a1650
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5e16
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100e13e0]
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 0x100c7110
lea ecx, [ebp - 0x48]
call fcn.100016da
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.10001773
push 0x100c7114
lea ecx, [ebp - 0x48]
call fcn.10004cd6
push 0x100c7118
lea ecx, [ebp - 0x48]
call fcn.10004cd6
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10004cd6
lea ecx, [ebp - 0x48]
call fcn.10004d5d
push eax
call fcn.1009e84b
pop ecx
test eax, eax
jne 0x100a16eb
and dword [ebp - 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001748
mov eax, dword [ebp - 0x4c]
jmp 0x100a17f9
mov ecx, dword [ebp - 0x5c]
call fcn.100a1160
test eax, eax
jne 0x100a170f
and dword [ebp - 0x50], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001748
mov eax, dword [ebp - 0x50]
jmp 0x100a17f9
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d5d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a173d
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d5d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x100c711c
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d5d
push eax
push 0x277f
push dword [0x100fd1b0]
call fcn.1009ee87
add esp, 0x14
test eax, eax
jne 0x100a177f
and dword [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001748
mov eax, dword [ebp - 0x54]
jmp 0x100a17f9
push 0x100c7130
mov eax, dword [ebp - 0x5c]
add eax, 0xcc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a5c3
add esp, 0xc
mov byte [ebp - 4], 1
push 0
push 0x100c7140
lea ecx, [ebp - 0x2c]
call fcn.10004d5d
push eax
push 0x451
push dword [0x100fd1b0]
call fcn.1009ee87
add esp, 0x14
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004d5d
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.1009e9f0
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001748
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001748
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.1006f3c1
leave
ret 4
Function at 0x100a1812
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.10009d69
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10020899
test eax, eax
je 0x100a1889
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10020899
mov dword [ebp - 0x14], eax
push 0
push 0x100c70e8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call dword [eax + 0x18]
cmp eax, 0x64
jne 0x100a1889
mov eax, dword [0x10106014]
dec eax
mov dword [0x10106014], eax
cmp dword [0x10106014], 0xffffffff
jne 0x100a1889
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10106018], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10020899
test eax, eax
je 0x100a18c6
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10020899
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 0x100a18c6
call fcn.10036da9
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x10]
push 0x1009d8eb
push 0
push 0
call fcn.10072973
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.1000b626
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10035e60
lea ecx, [ebp - 0xc]
call fcn.10020d5f
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10020899
test eax, eax
je 0x100a1937
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.10020899
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x98]
jmp 0x100a1939
xor eax, eax
leave
ret 4
Function at 0x100a193d
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5e5c
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100e13e0]
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.1001daed
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1001daed
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10003b59
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x100a19df
push 0x100c6f28
lea ecx, [ebp - 0x228]
call fcn.1000203e
push eax
push dword [0x100f9140]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
push 0x100c6f50
lea ecx, [ebp - 0x230]
call fcn.1000203e
push eax
push dword [0x100f913c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
lea ecx, [ebp - 0x228]
call fcn.10020899
push eax
lea ecx, [ebp - 0x22c]
call fcn.10003c10
push 0x100c6f60
lea ecx, [ebp - 0x22c]
call fcn.10009d26
lea ecx, [ebp - 0x230]
call fcn.10020899
push eax
lea ecx, [ebp - 0x22c]
call fcn.10009d26
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10072040
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.10020899
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.10072040
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x22c]
call fcn.10020899
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0x100c6f64
lea eax, [ebp - 0x224]
push eax
push 0x277e
push dword [0x100fd1b0]
call fcn.1009ee87
add esp, 0x14
lea eax, [ebp - 0x224]
push eax
call fcn.10037a2d
mov ecx, eax
call fcn.10037004
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.1001030a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1000a683
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1000a683
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.1006f3c1
leave
ret
Function at 0x100a1b26
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5e8c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100e13e0]
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.100372a7
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.10009d69
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 0x100a1c09
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x1009dbaa
push 0
push 0
call fcn.10072973
add esp, 0x18
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x100a1c00
push 0x64
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x100a1bca
jmp 0x100a1bf7
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x3c], 1
jne 0x100a1bf2
cmp dword [0x100fd1a8], 0
jne 0x100a1bf2
mov ecx, dword [ebp - 0x4c]
call fcn.1009c3af
test eax, eax
je 0x100a1bf2
mov dword [0x100fd1a8], 1
xor eax, eax
inc eax
jne 0x100a1bb2
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.100372bb
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.1006f3c1
leave
ret 4
Function at 0x100a29f3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6495
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100e13e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
call fcn.100a9078
test eax, eax
je 0x100a2a2b
xor eax, eax
jmp 0x100a2bf6
lea ecx, [ebp - 0x18]
call fcn.1001daed
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.10020899
mov dword [ebp - 0x3c], eax
push str.qmsh.dll
lea ecx, [ebp - 0x18]
call fcn.1000203e
push eax
push str.ShellExtName
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call dword [eax + 0x14]
lea eax, [ebp - 0x1c]
push eax
call fcn.100ad395
pop ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
push 0x100c7944
push dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push eax
call fcn.10010544
add esp, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10020899
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x24]
push eax
call fcn.10010544
add esp, 0xc
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x54]
mov ecx, dword [ebp - 0x38]
add ecx, 0x74
call fcn.10003bf7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.1001030a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1001030a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1001030a
push 0
push 0x100c7948
mov ecx, dword [ebp - 0x38]
add ecx, 0x74
call fcn.10020899
push eax
push 0xdf
push dword [0x100fd1b0]
call fcn.1009ee87
add esp, 0x14
test eax, eax
jne 0x100a2b34
and dword [ebp - 0x28], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000a683
mov eax, dword [ebp - 0x28]
jmp 0x100a2bf6
mov ecx, dword [ebp - 0x38]
add ecx, 0x74
call fcn.10020899
push eax
call fcn.10037a2d
mov ecx, eax
call fcn.10037004
mov ecx, dword [ebp - 0x38]
call fcn.1009c829
test eax, eax
jne 0x100a2b70
and dword [ebp - 0x2c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000a683
mov eax, dword [ebp - 0x2c]
jmp 0x100a2bf6
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.100a0161
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
call fcn.10020899
push eax
call fcn.1009e84b
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.1001030a
and dword [ebp - 0x10], 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x100a284c
push 0
push 0
call fcn.10072973
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100a2be1
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000a683
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x100a4682
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x100fd288
call fcn.100aaa09
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.1009dc77
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100a46c4
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.10009d69
push dword [ebp - 0x14]
call fcn.100116b0
mov ecx, eax
call fcn.1009ff41
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100a4702
push 0
push 0
push dword [ebp - 0x14]
push 0x100a4661
push 0
push 0
call fcn.10072973
add esp, 0x18
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a473d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100a4715
mov ecx, 0x100fd288
call fcn.100a9f60
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 0x100a4739
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 0x100a473d
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100e13e0]
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 0x100a4812
and dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.10072040
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 0x100c7cec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100a4802
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 0x100a4809
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.1006f3c1
leave
ret
Function at 0x100a4821
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100e13e0]
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.10072040
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 0x100a48b3
xor eax, eax
jmp 0x100a4944
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 0x100a48d5
xor eax, eax
jmp 0x100a4944
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 0x100a48f7
xor eax, eax
jmp 0x100a4944
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100a4916
xor eax, eax
jmp 0x100a4944
push dword [ebp + 8]
push dword [ebp - 0x218]
call fcn.10035eb2
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.1006f3c1
leave
ret

Function at 0x100a4f79
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 0x100a4e6c
push 0
push 0
call fcn.10072973
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.1000b626
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10035e60
lea ecx, [ebp - 0xc]
call fcn.10020d5f
mov ecx, dword [ebp - 0x10]
call fcn.10020899
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x100a5b1d
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 0x100cd1ec
push 1
push 0
push 0x100cd1dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100a5b5a
jmp 0x100a5b87
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 0x100a5b76
jmp 0x100a5b87
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 0x100a5b98
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x100a5ba9
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 0x100a6b37
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.10010377
cmp eax, 2
jge 0x100a6b52
xor eax, eax
jmp 0x100a6bb5
push 2
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003c86
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.10020899
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 4], 0
ja 0x100a6ba3
jb 0x100a6b92
cmp dword [ebp - 8], 0x6400000
jae 0x100a6ba3
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.1001030a
mov eax, dword [ebp - 0x10]
jmp 0x100a6bb5
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xc]
call fcn.1001030a
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4
Function at 0x100a8fc3
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 0x100a9074
push dword [ebp - 4]
call fcn.1006e778
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 0x100a9061
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100c9040
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100a9061
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.100712fd
pop ecx
and dword [ebp - 8], 0
xor eax, eax
inc eax
jmp 0x100a9076
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.100712fd
pop ecx
and dword [ebp - 8], 0
xor eax, eax
leave
ret