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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b457b
mov eax, dword fs:[0]
push eax
mov eax, 0x8440
call fcn.100887f0
mov eax, dword [0x100e03e0]
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 0x1009e4d1
and word [ebp - 0x8444], 0
push 0x208
push 0
lea eax, [ebp - 0x8442]
push eax
call fcn.10071ef0
add esp, 0xc
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x8444]
push eax
call fcn.10072563
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 0x1009e328
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.1002474e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10038231
push 0x100c5d7c
lea ecx, [ebp - 0x10]
call fcn.10038180
and word [ebp - 0x8234], 0
push 0x208
push 0
lea eax, [ebp - 0x8232]
push eax
call fcn.10071ef0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x8234]
push eax
call fcn.1009bfcf
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
lea eax, [ebp - 0x8234]
push eax
push 0x100c5d88
push 0x100c5da0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp - 0x401c], 0
push 0x4002
push 0
lea eax, [ebp - 0x401a]
push eax
call fcn.10071ef0
add esp, 0xc
and word [ebp - 0x8024], 0
push 0x4002
push 0
lea eax, [ebp - 0x8022]
push eax
call fcn.10071ef0
add esp, 0xc
push section.Downlaod
call fcn.1006f25b
pop ecx
push eax
push section.Downlaod
push 0x2002
lea eax, [ebp - 0x401c]
push eax
call fcn.1009bf79
add esp, 0x10
push 0x10101008
call fcn.1006f25b
pop ecx
push eax
push 0x10101008
push 0x2002
lea eax, [ebp - 0x8024]
push eax
call fcn.1009bf79
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
lea eax, [ebp - 0x8024]
push eax
push 0x100c5db4
push 0x100c5dc4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
lea eax, [ebp - 0x401c]
push eax
push 0x100c5dd8
push 0x100c5dec
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8448]
call fcn.10010891
mov byte [ebp - 4], 1
push dword [0x10105014]
push 0x100c5e00
lea eax, [ebp - 0x8448]
push eax
call fcn.100161b4
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
lea ecx, [ebp - 0x8448]
call fcn.10030677
push eax
push 0x100c5e08
push 0x100c5e14
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8448]
call fcn.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1002ced1
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.1006f271
leave
ret 4
Function at 0x1009e4ed
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b45ab
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100e03e0]
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.100acd56
pop ecx
and dword [ebp - 4], 0
push 0x100c5d18
lea ecx, [ebp - 0x10]
call fcn.1000a2a1
lea ecx, [ebp - 0x10]
call fcn.10030677
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.10030677
test eax, eax
je 0x1009e5c6
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.10030677
mov dword [ebp - 0x3c], eax
push 0
push 0x100c5d4c
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.1007391c
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
lea eax, [ebp - 0x30]
push eax
push 0x100c5d54
push 0x100c5d60
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x16
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.10071ef0
add esp, 0xc
mov dword [ebp - 0x34], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001092f
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.1006f271
leave
ret
Function at 0x1009ee77
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.1000173d
call fcn.1009df25
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009eea7
xor eax, eax
inc eax
jmp 0x1009eea9
xor eax, eax
leave
ret
Function at 0x1009f5ae
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 0x1009f612
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x1009f5fd
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004dd7
movzx eax, al
test eax, eax
jne 0x1009f5fd
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10005057
push eax
call fcn.100abe3d
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.100017ab
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.100017ab
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.100017ab
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.100017ab
mov ecx, dword [ebp - 4]
call fcn.1003680e
leave
ret

Function at 0x1009f72e
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.10004dd7
movzx eax, al
test eax, eax
jne 0x1009f783
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1009f783
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004dd7
movzx eax, al
test eax, eax
jne 0x1009f7ad
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.100017ab
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.100017ab
mov ecx, dword [ebp - 4]
call fcn.10036543
leave
ret
Function at 0x100a02d2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5431
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100e03e0]
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 0x100c635c
lea ecx, [ebp - 0x440]
call fcn.1000173d
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
add eax, 4
push eax
lea ecx, [ebp - 0x440]
call fcn.100017d6
push 0x100c6360
lea ecx, [ebp - 0x440]
call fcn.10004fa7
push 0x100c6364
lea ecx, [ebp - 0x440]
call fcn.10004fa7
push dword [ebp + 8]
lea ecx, [ebp - 0x440]
call fcn.10004fa7
lea ecx, [ebp - 0x440]
call fcn.10005057
push eax
push 0x208
push section.DLLShare
call fcn.100728d1
add esp, 0xc
and word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.10071ef0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [0x100fc1b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x100c6368
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.10074ac4
add esp, 0xc
and word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.10071ef0
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.100a9516
add esp, 0x14
mov dword [ebp - 0x444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.100017ab
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.1006f271
leave
ret 4
Function at 0x100a0edf
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b558f
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100e03e0]
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 0x100c6110
lea ecx, [ebp - 0x48]
call fcn.1000173d
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.100017d6
push 0x100c6114
lea ecx, [ebp - 0x48]
call fcn.10004fa7
push 0x100c6118
lea ecx, [ebp - 0x48]
call fcn.10004fa7
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10004fa7
lea ecx, [ebp - 0x48]
call fcn.10005057
push eax
call fcn.1009e0da
pop ecx
test eax, eax
jne 0x100a0f7a
and dword [ebp - 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.100017ab
mov eax, dword [ebp - 0x4c]
jmp 0x100a1088
mov ecx, dword [ebp - 0x5c]
call fcn.100a09ef
test eax, eax
jne 0x100a0f9e
and dword [ebp - 0x50], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.100017ab
mov eax, dword [ebp - 0x50]
jmp 0x100a1088
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10005057
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a0fcc
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x100c611c
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10005057
push eax
push 0x277f
push dword [0x100fc1b0]
call fcn.1009e716
add esp, 0x14
test eax, eax
jne 0x100a100e
and dword [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.100017ab
mov eax, dword [ebp - 0x54]
jmp 0x100a1088
push 0x100c6130
mov eax, dword [ebp - 0x5c]
add eax, 0xcc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000ac11
add esp, 0xc
mov byte [ebp - 4], 1
push 0
push 0x100c6140
lea ecx, [ebp - 0x2c]
call fcn.10005057
push eax
push 0x451
push dword [0x100fc1b0]
call fcn.1009e716
add esp, 0x14
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10005057
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.1009e27f
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100017ab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.100017ab
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.1006f271
leave
ret 4
Function at 0x100a10a1
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.1000a2e4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10030677
test eax, eax
je 0x100a1118
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10030677
mov dword [ebp - 0x14], eax
push 0
push 0x100c60e8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call dword [eax + 0x18]
cmp eax, 0x64
jne 0x100a1118
mov eax, dword [0x10105014]
dec eax
mov dword [0x10105014], eax
cmp dword [0x10105014], 0xffffffff
jne 0x100a1118
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10105018], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10030677
test eax, eax
je 0x100a1155
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10030677
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 0x100a1155
call fcn.1003718b
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x10]
push 0x1009d17a
push 0
push 0
call fcn.10072823
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.10011241
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.1003626b
lea ecx, [ebp - 0xc]
call fcn.10021373
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10030677
test eax, eax
je 0x100a11c6
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.10030677
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x98]
jmp 0x100a11c8
xor eax, eax
leave
ret 4
Function at 0x100a11cc
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b55d5
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100e03e0]
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.10012bd8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.10012bd8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10010891
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x100a126e
push 0x100c5f28
lea ecx, [ebp - 0x228]
call fcn.10040e47
push eax
push dword [0x100f8140]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
push 0x100c5f50
lea ecx, [ebp - 0x230]
call fcn.10040e47
push eax
push dword [0x100f813c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
lea ecx, [ebp - 0x228]
call fcn.10030677
push eax
lea ecx, [ebp - 0x22c]
call fcn.10003ee9
push 0x100c5f60
lea ecx, [ebp - 0x22c]
call fcn.1000a2a1
lea ecx, [ebp - 0x230]
call fcn.10030677
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000a2a1
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10071ef0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.10030677
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.10071ef0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x22c]
call fcn.10030677
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0x100c5f64
lea eax, [ebp - 0x224]
push eax
push 0x277e
push dword [0x100fc1b0]
call fcn.1009e716
add esp, 0x14
lea eax, [ebp - 0x224]
push eax
call fcn.10037e4d
mov ecx, eax
call fcn.100373e6
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.1001092f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1000ac8b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1000ac8b
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.1006f271
leave
ret
Function at 0x100a13b5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5605
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100e03e0]
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.10037689
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.1000a2e4
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 0x100a1498
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x1009d439
push 0
push 0
call fcn.10072823
add esp, 0x18
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x100a148f
push 0x64
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x100a1459
jmp 0x100a1486
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x3c], 1
jne 0x100a1481
cmp dword [0x100fc1a8], 0
jne 0x100a1481
mov ecx, dword [ebp - 0x4c]
call fcn.1009bc3e
test eax, eax
je 0x100a1481
mov dword [0x100fc1a8], 1
xor eax, eax
inc eax
jne 0x100a1441
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.1003769d
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.1006f271
leave
ret 4
Function at 0x100a2285
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5c0e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100e03e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
call fcn.100a890b
test eax, eax
je 0x100a22bd
xor eax, eax
jmp 0x100a2488
lea ecx, [ebp - 0x18]
call fcn.10012bd8
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.10030677
mov dword [ebp - 0x3c], eax
push str.qmsh.dll
lea ecx, [ebp - 0x18]
call fcn.10040e47
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.100acc28
pop ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
push 0x100c6944
push dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push eax
call fcn.10010b55
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.10030677
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x24]
push eax
call fcn.10010b55
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.10003ed0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.1001092f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1001092f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1001092f
push 0
push 0x100c6948
mov ecx, dword [ebp - 0x38]
add ecx, 0x74
call fcn.10030677
push eax
push 0xdf
push dword [0x100fc1b0]
call fcn.1009e716
add esp, 0x14
test eax, eax
jne 0x100a23c6
and dword [ebp - 0x28], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000ac8b
mov eax, dword [ebp - 0x28]
jmp 0x100a2488
mov ecx, dword [ebp - 0x38]
add ecx, 0x74
call fcn.10030677
push eax
call fcn.10037e4d
mov ecx, eax
call fcn.100373e6
mov ecx, dword [ebp - 0x38]
call fcn.1009c0b8
test eax, eax
jne 0x100a2402
and dword [ebp - 0x2c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000ac8b
mov eax, dword [ebp - 0x2c]
jmp 0x100a2488
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.1009f9f0
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.10030677
push eax
call fcn.1009e0da
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.1001092f
and dword [ebp - 0x10], 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x100a20db
push 0
push 0
call fcn.10072823
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100a2473
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.1000ac8b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x100a3f15
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x100fc288
call fcn.100aa29c
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.1009d506
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100a3f57
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.1000a2e4
push dword [ebp - 0x14]
call fcn.10011caf
mov ecx, eax
call fcn.1009f7d0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100a3f95
push 0
push 0
push dword [ebp - 0x14]
push 0x100a3ef4
push 0
push 0
call fcn.10072823
add esp, 0x18
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a3fd0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100a3fa8
mov ecx, 0x100fc288
call fcn.100a97f3
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 0x100a3fcc
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 0x100a3fd0
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100e03e0]
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 0x100a40a5
and dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.10071ef0
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 0x100c6cec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100a4095
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 0x100a409c
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.1006f271
leave
ret