joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a38f7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb82a
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d0], ecx
and dword [ebp - 0x2bc], 0
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.100738a0
add esp, 0xc
push 0x100ceda4
push dword [ebp + 8]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x2b8], 0x100cee00
and word [ebp - 0x2b4], 0
push 0x7e
push 0
lea eax, [ebp - 0x2b2]
push eax
call fcn.100738a0
add esp, 0xc
push 0xa
push 0x40
lea eax, [ebp - 0x2b4]
push eax
push 0
call fcn.10076338
pop ecx
push eax
call fcn.1007630e
add esp, 0x10
lea ecx, [ebp - 0x2c0]
call fcn.10003c04
and dword [ebp - 4], 0
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x2d0]
push dword [eax + 0x74]
mov ecx, dword [ebp - 0x2d0]
add ecx, 4
call fcn.10004e3f
push eax
lea eax, [ebp - 0x2b4]
push eax
push str._default__r_ntime_s_r_nPath_s_r_npara_s_r_nsrcName_s_r_n
lea eax, [ebp - 0x2c0]
push eax
call fcn.10015f58
add esp, 0x18
lea ecx, [ebp - 0x2c0]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x234]
call fcn.1002fe7f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10003bda
inc eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call fcn.1006ffa8
pop ecx
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x234]
call fcn.100350cd
push eax
push dword [ebp - 0x10]
call fcn.10073920
add esp, 0xc
push 0x55
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.1009f71e
add esp, 0xc
push 0x100cee78
lea eax, [ebp - 0x22c]
push eax
call fcn.10076478
pop ecx
pop ecx
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x100a3aa2
push dword [ebp - 0x230]
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
call fcn.1007663a
add esp, 0x10
push dword [ebp - 0x230]
call fcn.100769f3
pop ecx
mov dword [ebp - 0x2bc], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c8], eax
push dword [ebp - 0x2c8]
call fcn.10072b5d
pop ecx
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.100105a7
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10070c21
leave
ret 8
Function at 0x100a4ada
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.100016fc
call fcn.100a29fa
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a4b0a
xor eax, eax
inc eax
jmp 0x100a4b0c
xor eax, eax
leave
ret
Function at 0x100a5211
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 0x100a5275
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x100a5260
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.100018a0
movzx eax, al
test eax, eax
jne 0x100a5260
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004e3f
push eax
call fcn.100b2776
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004e3f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.1000176a
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.1000176a
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.1000176a
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.1000176a
mov ecx, dword [ebp - 4]
call fcn.10036716
leave
ret

Function at 0x100a5391
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.100018a0
movzx eax, al
test eax, eax
jne 0x100a53e6
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004e3f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100a53e6
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004e3f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.100018a0
movzx eax, al
test eax, eax
jne 0x100a5410
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004e3f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.1000176a
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.1000176a
mov ecx, dword [ebp - 4]
call fcn.10036508
leave
ret
Function at 0x100a602e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc0c9
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100e93e0]
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 0x100cdc28
lea ecx, [ebp - 0x440]
call fcn.100016fc
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
add eax, 4
push eax
lea ecx, [ebp - 0x440]
call fcn.10001795
push 0x100cdc2c
lea ecx, [ebp - 0x440]
call fcn.10004d8f
push 0x100cdc30
lea ecx, [ebp - 0x440]
call fcn.10004d8f
push dword [ebp + 8]
lea ecx, [ebp - 0x440]
call fcn.10004d8f
lea ecx, [ebp - 0x440]
call fcn.10004e3f
push eax
push 0x208
push section.DLLShare
call fcn.10074cf5
add esp, 0xc
and word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.100738a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [0x10105210]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x100cdc34
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.10076d2f
add esp, 0xc
and word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.100738a0
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.100afcdc
add esp, 0x14
mov dword [ebp - 0x444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.1000176a
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.10070c21
leave
ret 4
Function at 0x100a6c3b
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc227
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100e93e0]
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 0x100cd9dc
lea ecx, [ebp - 0x48]
call fcn.100016fc
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.10001795
push 0x100cd9e0
lea ecx, [ebp - 0x48]
call fcn.10004d8f
push 0x100cd9e4
lea ecx, [ebp - 0x48]
call fcn.10004d8f
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10004d8f
lea ecx, [ebp - 0x48]
call fcn.10004e3f
push eax
call fcn.100a2baf
pop ecx
test eax, eax
jne 0x100a6cd6
and dword [ebp - 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000176a
mov eax, dword [ebp - 0x4c]
jmp 0x100a6de4
mov ecx, dword [ebp - 0x5c]
call fcn.100a674b
test eax, eax
jne 0x100a6cfa
and dword [ebp - 0x50], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000176a
mov eax, dword [ebp - 0x50]
jmp 0x100a6de4
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e3f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a6d28
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e3f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x100cd9e8
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e3f
push eax
push 0x277f
push dword [0x10105210]
call fcn.100a3632
add esp, 0x14
test eax, eax
jne 0x100a6d6a
and dword [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000176a
mov eax, dword [ebp - 0x54]
jmp 0x100a6de4
push 0x100cd9fc
mov eax, dword [ebp - 0x5c]
add eax, 0xcc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a870
add esp, 0xc
mov byte [ebp - 4], 1
push 0
push 0x100cda0c
lea ecx, [ebp - 0x2c]
call fcn.10004e3f
push eax
push 0x451
push dword [0x10105210]
call fcn.100a3632
add esp, 0x14
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e3f
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.100a2d54
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1000176a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000176a
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.10070c21
leave
ret 4
Function at 0x100a6dfd
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.1000a026
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100350cd
test eax, eax
je 0x100a6e74
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100350cd
mov dword [ebp - 0x14], eax
push 0
push 0x100cd9a8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call dword [eax + 0x18]
cmp eax, 0x64
jne 0x100a6e74
mov eax, dword [0x1010e014]
dec eax
mov dword [0x1010e014], eax
cmp dword [0x1010e014], 0xffffffff
jne 0x100a6e74
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1010e018], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100350cd
test eax, eax
je 0x100a6eb1
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100350cd
mov dword [ebp - 0x18], eax
push 0
push 0x100cd9b4
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 0x100a6eb1
call fcn.1003712b
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100350cd
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]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x10]
push 0x100a1b48
push 0
push 0
call fcn.10074506
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.1002050f
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10036160
lea ecx, [ebp - 0xc]
call fcn.10020d8b
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.100350cd
test eax, eax
je 0x100a6f42
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x98]
jmp 0x100a6f44
xor eax, eax
leave
ret 4
Function at 0x100a6f48
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc26d
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100e93e0]
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.1002191f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1002191f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10003c04
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x100a6fea
push 0x100cd7e8
lea ecx, [ebp - 0x228]
call fcn.1002388c
push eax
push dword [0x10101140]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
push 0x100cd810
lea ecx, [ebp - 0x230]
call fcn.1002388c
push eax
push dword [0x1010113c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
lea ecx, [ebp - 0x228]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x22c]
call fcn.10003cbb
push 0x100cd820
lea ecx, [ebp - 0x22c]
call fcn.10009fe3
lea ecx, [ebp - 0x230]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x22c]
call fcn.10009fe3
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.100738a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.100350cd
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.100738a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x22c]
call fcn.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0x100cd824
lea eax, [ebp - 0x224]
push eax
push 0x277e
push dword [0x10105210]
call fcn.100a3632
add esp, 0x14
lea eax, [ebp - 0x224]
push eax
call fcn.10037e85
mov ecx, eax
call fcn.10037386
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.100105a7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1000a8ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1000a8ea
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.10070c21
leave
ret
Function at 0x100a7131
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc29d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100e93e0]
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.100376d9
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.1000a026
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.100350cd
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 0x100a7237
push 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0x100a1e07
push 0
push 0
call fcn.10074506
add esp, 0x18
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x100a722e
push 0x64
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x100a71f8
jmp 0x100a7225
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x3c], 1
jne 0x100a7220
cmp dword [0x10105208], 0
jne 0x100a7220
mov ecx, dword [ebp - 0x50]
call fcn.1009ffae
test eax, eax
je 0x100a7220
mov dword [0x10105208], 1
xor eax, eax
inc eax
jne 0x100a71e0
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.10016b7b
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.10070c21
leave
ret 4
Function at 0x100aa5d3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x101052f0
call fcn.100b0a68
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.100a30ee
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100aa615
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.1000a026
push dword [ebp - 0x14]
call fcn.1001192d
mov ecx, eax
call fcn.100a5433
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100aa653
push 0
push 0
push dword [ebp - 0x14]
push 0x100aa5b2
push 0
push 0
call fcn.10074506
add esp, 0x18
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100aa68e
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100aa666
mov ecx, 0x101052f0
call fcn.100affb9
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 0x100aa68a
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 0x100aa68e
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100e93e0]
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 0x100aa763
and dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.100738a0
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 str.KAVINSTALLNEEDREBOOT
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100aa753
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 0x100aa75a
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.10070c21
leave
ret
Function at 0x100aa772
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100e93e0]
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.100738a0
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 0x100aa804
xor eax, eax
jmp 0x100aa895
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 0x100aa826
xor eax, eax
jmp 0x100aa895
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 0x100aa848
xor eax, eax
jmp 0x100aa895
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100aa867
xor eax, eax
jmp 0x100aa895
push dword [ebp + 8]
push dword [ebp - 0x218]
call fcn.100361b2
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.10070c21
leave
ret

Function at 0x100aaed0
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 0x100aadc3
push 0
push 0
call fcn.10074506
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.1002050f
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10036160
lea ecx, [ebp - 0xc]
call fcn.10020d8b
mov ecx, dword [ebp - 0x10]
call fcn.100350cd
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x100aba74
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 0x100d4744
push 1
push 0
push 0x100d4734
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100abab1
jmp 0x100abade
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 0x100abacd
jmp 0x100abade
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 0x100abaef
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x100abb00
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 0x100aca8e
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.10003bda
cmp eax, 2
jge 0x100acaa9
xor eax, eax
jmp 0x100acb0c
push 2
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003d31
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.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 4], 0
ja 0x100acafa
jb 0x100acae9
cmp dword [ebp - 8], 0x6400000
jae 0x100acafa
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.100105a7
mov eax, dword [ebp - 0x10]
jmp 0x100acb0c
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xc]
call fcn.100105a7
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4
Function at 0x100aef20
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 0x100aefd1
push dword [ebp - 4]
call fcn.1006ffa8
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 0x100aefbe
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100d0554
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100aefbe
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.10072b5d
pop ecx
and dword [ebp - 8], 0
xor eax, eax
inc eax
jmp 0x100aefd3
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.10072b5d
pop ecx
and dword [ebp - 8], 0
xor eax, eax
leave
ret