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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4d22
mov eax, dword fs:[0]
push eax
mov eax, 0x8440
call fcn.10088960
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x844c], ecx
mov eax, dword [ebp - 0x844c]
cmp dword [eax + 0x70], 0
je 0x1009ec73
and word [ebp - 0x8444], 0
push 0x208
push 0
lea eax, [ebp - 0x8442]
push eax
call fcn.10072050
add esp, 0xc
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x8444]
push eax
call fcn.100726c3
add esp, 0xc
lea eax, [ebp - 0x8444]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x8444]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009eaca
push 0
lea eax, [ebp - 0x8444]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.100249fc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10038263
push 0x100c6d7c
lea ecx, [ebp - 0x10]
call fcn.100381b2
and word [ebp - 0x8234], 0
push 0x208
push 0
lea eax, [ebp - 0x8232]
push eax
call fcn.10072050
add esp, 0xc
push 0x104
lea eax, [ebp - 0x8234]
push eax
call fcn.1009c771
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
lea eax, [ebp - 0x8234]
push eax
push 0x100c6d88
push 0x100c6da0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp - 0x401c], 0
push 0x4002
push 0
lea eax, [ebp - 0x401a]
push eax
call fcn.10072050
add esp, 0xc
and word [ebp - 0x8024], 0
push 0x4002
push 0
lea eax, [ebp - 0x8022]
push eax
call fcn.10072050
add esp, 0xc
push section.Downlaod
call fcn.1006f3bb
pop ecx
push eax
push section.Downlaod
push 0x2002
lea eax, [ebp - 0x401c]
push eax
call fcn.1009c71b
add esp, 0x10
push 0x10102008
call fcn.1006f3bb
pop ecx
push eax
push 0x10102008
push 0x2002
lea eax, [ebp - 0x8024]
push eax
call fcn.1009c71b
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
lea eax, [ebp - 0x8024]
push eax
push 0x100c6db4
push 0x100c6dc4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
lea eax, [ebp - 0x401c]
push eax
push 0x100c6dd8
push 0x100c6dec
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8448]
call fcn.10003bae
mov byte [ebp - 4], 1
push dword [0x10106014]
push 0x100c6e00
lea eax, [ebp - 0x8448]
push eax
call fcn.1001618e
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
lea ecx, [ebp - 0x8448]
call fcn.1001e65e
push eax
push 0x100c6e08
push 0x100c6e14
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8448]
call fcn.10003c4c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10024124
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006f3d1
leave
ret 4
Function at 0x1009ec8f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4d52
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100e13e0]
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.100ad502
pop ecx
and dword [ebp - 4], 0
push 0x100c6d18
lea ecx, [ebp - 0x10]
call fcn.1000a023
lea ecx, [ebp - 0x10]
call fcn.1001e65e
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.1001e65e
test eax, eax
je 0x1009ed68
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.1001e65e
mov dword [ebp - 0x3c], eax
push 0
push 0x100c6d4c
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.10073a7c
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
lea eax, [ebp - 0x30]
push eax
push 0x100c6d54
push 0x100c6d60
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x16
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.10072050
add esp, 0xc
mov dword [ebp - 0x34], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003c4c
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.1006f3d1
leave
ret
Function at 0x1009f619
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.100016fb
call fcn.1009e6c7
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009f649
xor eax, eax
inc eax
jmp 0x1009f64b
xor eax, eax
leave
ret
Function at 0x1009fd50
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 0x1009fdb4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x1009fd9f
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004bed
movzx eax, al
test eax, eax
jne 0x1009fd9f
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004e6d
push eax
call fcn.100ac5e9
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.10001769
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10001769
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001769
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001769
mov ecx, dword [ebp - 4]
call fcn.1003687a
leave
ret

Function at 0x1009fed0
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.10004bed
movzx eax, al
test eax, eax
jne 0x1009ff25
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1009ff25
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004bed
movzx eax, al
test eax, eax
jne 0x1009ff4f
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001769
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001769
mov ecx, dword [ebp - 4]
call fcn.100365b7
leave
ret
Function at 0x100a0a74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5cdd
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.100016fb
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
add eax, 4
push eax
lea ecx, [ebp - 0x440]
call fcn.10001794
push 0x100c7360
lea ecx, [ebp - 0x440]
call fcn.10004dbd
push 0x100c7364
lea ecx, [ebp - 0x440]
call fcn.10004dbd
push dword [ebp + 8]
lea ecx, [ebp - 0x440]
call fcn.10004dbd
lea ecx, [ebp - 0x440]
call fcn.10004e6d
push eax
push 0x208
push section.DLLShare
call fcn.10072a31
add esp, 0xc
and word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.10072050
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.10074c24
add esp, 0xc
and word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.10072050
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.100a9cb4
add esp, 0x14
mov dword [ebp - 0x444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.10001769
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.1006f3d1
leave
ret 4
Function at 0x100a1681
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5e3b
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.100016fb
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.10001794
push 0x100c7114
lea ecx, [ebp - 0x48]
call fcn.10004dbd
push 0x100c7118
lea ecx, [ebp - 0x48]
call fcn.10004dbd
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10004dbd
lea ecx, [ebp - 0x48]
call fcn.10004e6d
push eax
call fcn.1009e87c
pop ecx
test eax, eax
jne 0x100a171c
and dword [ebp - 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001769
mov eax, dword [ebp - 0x4c]
jmp 0x100a182a
mov ecx, dword [ebp - 0x5c]
call fcn.100a1191
test eax, eax
jne 0x100a1740
and dword [ebp - 0x50], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001769
mov eax, dword [ebp - 0x50]
jmp 0x100a182a
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e6d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a176e
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x100c711c
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e6d
push eax
push 0x277f
push dword [0x100fd1b0]
call fcn.1009eeb8
add esp, 0x14
test eax, eax
jne 0x100a17b0
and dword [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001769
mov eax, dword [ebp - 0x54]
jmp 0x100a182a
push 0x100c7130
mov eax, dword [ebp - 0x5c]
add eax, 0xcc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a9da
add esp, 0xc
mov byte [ebp - 4], 1
push 0
push 0x100c7140
lea ecx, [ebp - 0x2c]
call fcn.10004e6d
push eax
push 0x451
push dword [0x100fd1b0]
call fcn.1009eeb8
add esp, 0x14
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e6d
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.1009ea21
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001769
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.1006f3d1
leave
ret 4
Function at 0x100a1843
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.1000a066
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1001e65e
test eax, eax
je 0x100a18ba
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1001e65e
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 0x100a18ba
mov eax, dword [0x10106014]
dec eax
mov dword [0x10106014], eax
cmp dword [0x10106014], 0xffffffff
jne 0x100a18ba
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10106018], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1001e65e
test eax, eax
je 0x100a18f7
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.1001e65e
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 0x100a18f7
call fcn.1003720c
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x10]
push 0x1009d91c
push 0
push 0
call fcn.10072983
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.10031249
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.100362df
lea ecx, [ebp - 0xc]
call fcn.1002147e
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.1001e65e
test eax, eax
je 0x100a1968
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.1001e65e
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x98]
jmp 0x100a196a
xor eax, eax
leave
ret 4
Function at 0x100a196e
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5e81
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.100011d7
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.100011d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10003bae
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x100a1a10
push 0x100c6f28
lea ecx, [ebp - 0x228]
call fcn.1004044c
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.1004044c
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.1001e65e
push eax
lea ecx, [ebp - 0x22c]
call fcn.10003c76
push 0x100c6f60
lea ecx, [ebp - 0x22c]
call fcn.1000a023
lea ecx, [ebp - 0x230]
call fcn.1001e65e
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000a023
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10072050
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.1001e65e
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.10072050
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1001e65e
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.1009eeb8
add esp, 0x14
lea eax, [ebp - 0x224]
push eax
call fcn.10037e90
mov ecx, eax
call fcn.10037467
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10003c4c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1000aa54
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1000aa54
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.1006f3d1
leave
ret
Function at 0x100a1b57
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5eb1
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.1003770a
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.1000a066
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 0x100a1c3a
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x1009dbdb
push 0
push 0
call fcn.10072983
add esp, 0x18
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x100a1c31
push 0x64
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x100a1bfb
jmp 0x100a1c28
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x3c], 1
jne 0x100a1c23
cmp dword [0x100fd1a8], 0
jne 0x100a1c23
mov ecx, dword [ebp - 0x4c]
call fcn.1009c3e0
test eax, eax
je 0x100a1c23
mov dword [0x100fd1a8], 1
xor eax, eax
inc eax
jne 0x100a1be3
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.1003771e
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.1006f3d1
leave
ret 4
Function at 0x100a2a24
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b64ba
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.100a90a9
test eax, eax
je 0x100a2a5c
xor eax, eax
jmp 0x100a2c27
lea ecx, [ebp - 0x18]
call fcn.100011d7
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.1001e65e
mov dword [ebp - 0x3c], eax
push str.qmsh.dll
lea ecx, [ebp - 0x18]
call fcn.1004044c
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.100ad3d4
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.1001093f
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.1001e65e
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x24]
push eax
call fcn.1001093f
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.10003c5d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.10003c4c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10003c4c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10003c4c
push 0
push 0x100c7948
mov ecx, dword [ebp - 0x38]
add ecx, 0x74
call fcn.1001e65e
push eax
push 0xdf
push dword [0x100fd1b0]
call fcn.1009eeb8
add esp, 0x14
test eax, eax
jne 0x100a2b65
and dword [ebp - 0x28], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000aa54
mov eax, dword [ebp - 0x28]
jmp 0x100a2c27
mov ecx, dword [ebp - 0x38]
add ecx, 0x74
call fcn.1001e65e
push eax
call fcn.10037e90
mov ecx, eax
call fcn.10037467
mov ecx, dword [ebp - 0x38]
call fcn.1009c85a
test eax, eax
jne 0x100a2ba1
and dword [ebp - 0x2c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000aa54
mov eax, dword [ebp - 0x2c]
jmp 0x100a2c27
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.100a0192
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.1001e65e
push eax
call fcn.1009e87c
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10003c4c
and dword [ebp - 0x10], 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x100a287d
push 0
push 0
call fcn.10072983
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100a2c12
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.1000aa54
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x100a46b3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x100fd288
call fcn.100aaa3a
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.1009dca8
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100a46f5
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.1000a066
push dword [ebp - 0x14]
call fcn.10011a9f
mov ecx, eax
call fcn.1009ff72
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100a4733
push 0
push 0
push dword [ebp - 0x14]
push 0x100a4692
push 0
push 0
call fcn.10072983
add esp, 0x18
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a476e
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100a4746
mov ecx, 0x100fd288
call fcn.100a9f91
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 0x100a476a
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 0x100a476e
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x100a4775
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 0x100a4843
and dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.10072050
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 0x100a4833
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 0x100a483a
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.1006f3d1
leave
ret