joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a2a2a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100baefe
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000175f
mov byte [ebp - 4], 1
mov eax, dword [0x100d2d40]
mov dword [ebp - 0x30], eax
push dword [0x100d2d40]
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.100379d1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x100d2d40]
je 0x100a2ada
push dword [ebp - 0x30]
push 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001951
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x58]
lea ecx, [ebp - 0x2c]
call fcn.100017ac
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.10001797
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.1000175f
call fcn.100a2a2a
add esp, 0x1c
push 0
lea ecx, [ebp + 8]
call fcn.100051fa
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100a2afc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100a2b16
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001797
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001797
jmp 0x100a2b2e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001797
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001797
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 0x100a2bdf
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100baf4e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x100a2c14
xor eax, eax
jmp 0x100a2d6a
call fcn.10020828
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100a2c2e
and dword [ebp - 0x44], 0
jmp 0x100a2c74
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x100a2c4a
and dword [ebp - 0x48], 0
jmp 0x100a2c6e
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.10082d90
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
shl eax, 1
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x4c]
call fcn.1002389a
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call fcn.10070b80
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.1003711d
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
push eax
call fcn.100b3591
pop ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
and dword [ebp - 4], 0
push str.TxdlService.dat
push dword [ebp - 0x54]
lea eax, [ebp - 0x28]
push eax
call fcn.10010a81
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.1001085b
lea ecx, [ebp - 0x28]
call fcn.1003537a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a2cef
lea ecx, [ebp - 0x28]
call fcn.1003537a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x24], 0
push 0x100cd70c
lea ecx, [ebp - 0x28]
call fcn.1003537a
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1007648b
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100a2d58
push dword [ebp - 0x24]
push 1
push 4
lea eax, [ebp - 0x18]
push eax
call fcn.1007663a
add esp, 0x10
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push 1
push dword [ebp - 0x10]
call fcn.1007663a
add esp, 0x10
push dword [ebp - 0x24]
call fcn.100769f3
pop ecx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x28]
call fcn.1001085b
mov eax, dword [ebp - 0x3c]
jmp 0x100a2d6a
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x28]
call fcn.1001085b
mov eax, dword [ebp - 0x40]
lea esp, [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.10070c21
leave
ret
Function at 0x100a3017
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bafb6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
call fcn.100b36bf
pop ecx
and dword [ebp - 4], 0
push 0x100cd5d0
lea ecx, [ebp - 0x10]
call fcn.1000a2e3
lea ecx, [ebp - 0x10]
call fcn.1003537a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and word [ebp - 0x30], 0
xor eax, eax
lea edi, [ebp - 0x2e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.1003537a
test eax, eax
je 0x100a30f0
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.1003537a
mov dword [ebp - 0x3c], eax
push 0
push 0x100cd604
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
push 0xa
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x14]
call fcn.100752cc
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.1003537a
push eax
lea eax, [ebp - 0x30]
push eax
push 0x100cd60c
push 0x100cd618
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x16
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.100738a0
add esp, 0xc
mov dword [ebp - 0x34], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001085b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10070c21
leave
ret
Function at 0x100a3927
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb875
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 0x100cedc4
push dword [ebp + 8]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x2b8], 0x100cee20
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.10004000
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.100051fa
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.10016015
add esp, 0x18
lea ecx, [ebp - 0x2c0]
call fcn.1003537a
push eax
lea ecx, [ebp - 0x234]
call fcn.1002ff11
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10003fd6
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.1003537a
push eax
push dword [ebp - 0x10]
call fcn.10073920
add esp, 0xc
push 0x55
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.1009f74e
add esp, 0xc
push 0x100cee98
lea eax, [ebp - 0x22c]
push eax
call fcn.10076478
pop ecx
pop ecx
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x100a3ad2
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.1001085b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.1001085b
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 0x100a4b0a
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.10001729
call fcn.100a2a2a
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a4b3a
xor eax, eax
inc eax
jmp 0x100a4b3c
xor eax, eax
leave
ret
Function at 0x100a5241
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 0x100a52a5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x100a5290
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.100018f6
movzx eax, al
test eax, eax
jne 0x100a5290
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.100051fa
push eax
call fcn.100b27a6
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.100051fa
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.10001797
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10001797
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001797
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001797
mov ecx, dword [ebp - 4]
call fcn.10036820
leave
ret

Function at 0x100a53c1
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.100018f6
movzx eax, al
test eax, eax
jne 0x100a5416
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.100051fa
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100a5416
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.100051fa
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.100018f6
movzx eax, al
test eax, eax
jne 0x100a5440
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.100051fa
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001797
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001797
mov ecx, dword [ebp - 4]
call fcn.1003655d
leave
ret
Function at 0x100a605e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc114
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 0x100cdc48
lea ecx, [ebp - 0x440]
call fcn.10001729
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
add eax, 4
push eax
lea ecx, [ebp - 0x440]
call fcn.100017c2
push 0x100cdc4c
lea ecx, [ebp - 0x440]
call fcn.10005173
push 0x100cdc50
lea ecx, [ebp - 0x440]
call fcn.10005173
push dword [ebp + 8]
lea ecx, [ebp - 0x440]
call fcn.10005173
lea ecx, [ebp - 0x440]
call fcn.100051fa
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 0x100cdc54
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.100afd0c
add esp, 0x14
mov dword [ebp - 0x444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.10001797
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 0x100a6c6b
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc272
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 0x100cd9fc
lea ecx, [ebp - 0x48]
call fcn.10001729
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.100017c2
push 0x100cda00
lea ecx, [ebp - 0x48]
call fcn.10005173
push 0x100cda04
lea ecx, [ebp - 0x48]
call fcn.10005173
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10005173
lea ecx, [ebp - 0x48]
call fcn.100051fa
push eax
call fcn.100a2bdf
pop ecx
test eax, eax
jne 0x100a6d06
and dword [ebp - 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001797
mov eax, dword [ebp - 0x4c]
jmp 0x100a6e14
mov ecx, dword [ebp - 0x5c]
call fcn.100a677b
test eax, eax
jne 0x100a6d2a
and dword [ebp - 0x50], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001797
mov eax, dword [ebp - 0x50]
jmp 0x100a6e14
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.100051fa
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a6d58
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.100051fa
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x100cda08
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.100051fa
push eax
push 0x277f
push dword [0x10105210]
call fcn.100a3662
add esp, 0x14
test eax, eax
jne 0x100a6d9a
and dword [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001797
mov eax, dword [ebp - 0x54]
jmp 0x100a6e14
push 0x100cda1c
mov eax, dword [ebp - 0x5c]
add eax, 0xcc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000ab3b
add esp, 0xc
mov byte [ebp - 4], 1
push 0
push 0x100cda2c
lea ecx, [ebp - 0x2c]
call fcn.100051fa
push eax
push 0x451
push dword [0x10105210]
call fcn.100a3662
add esp, 0x14
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.100051fa
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.100a2d84
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001797
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001797
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 0x100a6e2d
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.1000a326
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1003537a
test eax, eax
je 0x100a6ea4
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1003537a
mov dword [ebp - 0x14], eax
push 0
push 0x100cd9c8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call dword [eax + 0x18]
cmp eax, 0x64
jne 0x100a6ea4
mov eax, dword [0x1010e014]
dec eax
mov dword [0x1010e014], eax
cmp dword [0x1010e014], 0xffffffff
jne 0x100a6ea4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1010e018], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1003537a
test eax, eax
je 0x100a6ee1
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1003537a
mov dword [ebp - 0x18], eax
push 0
push 0x100cd9d4
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 0x100a6ee1
call fcn.10037235
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1003537a
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 0x100a1b78
push 0
push 0
call fcn.10074506
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.10020420
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.1003626a
lea ecx, [ebp - 0xc]
call fcn.10020c8a
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.1003537a
test eax, eax
je 0x100a6f72
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.1003537a
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x98]
jmp 0x100a6f74
xor eax, eax
leave
ret 4
Function at 0x100a6f78
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc2b8
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.1002182e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1002182e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10004000
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x100a701a
push 0x100cd808
lea ecx, [ebp - 0x228]
call fcn.100238f6
push eax
push dword [0x10101140]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
push 0x100cd830
lea ecx, [ebp - 0x230]
call fcn.100238f6
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.1003537a
push eax
lea ecx, [ebp - 0x22c]
call fcn.100040b7
push 0x100cd840
lea ecx, [ebp - 0x22c]
call fcn.1000a2e3
lea ecx, [ebp - 0x230]
call fcn.1003537a
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000a2e3
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.1003537a
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.1003537a
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0x100cd844
lea eax, [ebp - 0x224]
push eax
push 0x277e
push dword [0x10105210]
call fcn.100a3662
add esp, 0x14
lea eax, [ebp - 0x224]
push eax
call fcn.10037fb1
mov ecx, eax
call fcn.10037490
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.1001085b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1000abb5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1000abb5
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 0x100a7161
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc2e8
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.100377e3
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.1000a326
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.1003537a
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 0x100a7267
push 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0x100a1e37
push 0
push 0
call fcn.10074506
add esp, 0x18
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x100a725e
push 0x64
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x100a7228
jmp 0x100a7255
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x3c], 1
jne 0x100a7250
cmp dword [0x10105208], 0
jne 0x100a7250
mov ecx, dword [ebp - 0x50]
call fcn.1009ffde
test eax, eax
je 0x100a7250
mov dword [0x10105208], 1
xor eax, eax
inc eax
jne 0x100a7210
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.100377f7
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 0x100aa603
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x101052f0
call fcn.100b0a98
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.100a311e
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100aa645
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.1000a326
push dword [ebp - 0x14]
call fcn.10011bae
mov ecx, eax
call fcn.100a5463
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100aa683
push 0
push 0
push dword [ebp - 0x14]
push 0x100aa5e2
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 0x100aa6be
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100aa696
mov ecx, 0x101052f0
call fcn.100affe9
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 0x100aa6ba
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 0x100aa6be
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x100aa6c5
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 0x100aa793
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 0x100aa783
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 0x100aa78a
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