joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a35b7
Capabilities:
Get session user name
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x100a361e
lea eax, [ebp - 0x10]
push eax
push 0x100d8120
push 1
push 0
push 0x100d8140
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x100a361c
jmp 0x100a3762
jmp 0x100a3625
xor eax, eax
jmp 0x100a37a4
push dword [0x1010516c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x1c]
lea eax, [ebp - 0xc]
push eax
push 0x100d8110
push 0x100d8130
push dword [0x1010516c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x20]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x100a3668
jmp 0x100a3762
mov ecx, dword [ebp - 0x228]
add ecx, 4
call fcn.10004de7
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x80]
cmp dword [ebp + 8], 0
je 0x100a36a9
push dword [ebp + 8]
call fcn.10071ffb
pop ecx
test eax, eax
jbe 0x100a36a9
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x88]
push 0x2002
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x70]
mov dword [ebp - 0x14], eax
and word [ebp - 0x220], 0
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.10071b30
add esp, 0xc
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x78]
lea eax, [ebp - 8]
push eax
push 0x100c58cc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x100a372c
jmp 0x100a3762
push 1
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x100a3748
jmp 0x100a3762
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x30]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 0x40]
cmp dword [ebp - 8], 0
je 0x100a3773
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 8]
cmp dword [ebp - 0xc], 0
je 0x100a3784
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 8]
cmp dword [ebp - 0x10], 0
je 0x100a3795
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
cmp dword [ebp - 0x14], 0
setge al
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10071b1a
leave
ret 4
Function at 0x100a38bb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x280], ecx
and word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10071b30
add esp, 0xc
push 0x105
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x280]
call fcn.100a1b96
push 0x100d0fd0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
and dword [ebp - 0x278], 0
push 0x40
push 0
lea eax, [ebp - 0x274]
push eax
call fcn.10071b30
add esp, 0xc
and dword [ebp - 0x228], 0
xor eax, eax
lea edi, [ebp - 0x224]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x278], 0x44
mov dword [ebp - 0x24c], 0x80
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x278]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x100a39cb
push dword [ebp - 0x228]
lea ecx, [ebp - 0x27c]
call fcn.10010bbe
push eax
mov ecx, dword [ebp - 0x280]
add ecx, 0x74
call fcn.100369a3
lea ecx, [ebp - 0x27c]
call fcn.10020f2f
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x22c]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x100a3e92
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd69e
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10003b53
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10024b8a
or dword [ebp - 0x250], 0xffffffff
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
push 0x22c
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.10071b30
add esp, 0xc
mov dword [ebp - 0x24c], 0x22c
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32FirstW
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
call fcn.10073acb
pop ecx
pop ecx
test eax, eax
je 0x100a3f66
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x258], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10010769
mov eax, dword [ebp - 0x258]
jmp 0x100a403b
xor eax, eax
inc eax
je 0x100a401d
push 0x22c
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.10071b30
add esp, 0xc
mov dword [ebp - 0x24c], 0x22c
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100a3fab
or dword [ebp - 0x250], 0xffffffff
jmp 0x100a401d
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x254]
call fcn.10003b53
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.10024b8a
lea ecx, [ebp - 0x254]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
call fcn.10073acb
pop ecx
pop ecx
test eax, eax
je 0x100a4009
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10010769
jmp 0x100a401d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10010769
jmp 0x100a3f66
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10010769
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10071b1a
leave
ret 4
Function at 0x100a4054
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x1010b008
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100a4112
push 0x100d163c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100a4112
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x1003c455
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 8
call fcn.10071d5d
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100a40c0
mov ecx, dword [ebp - 0x18]
call fcn.10038135
mov dword [ebp - 0x1c], eax
jmp 0x100a40c4
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
push 0x1010b218
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10003bd7
push 0x1010b42c
push 0
push dword [ebp - 0x10]
push 0x100a23ba
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100a4112
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x100a4114
xor eax, eax
leave
ret

Function at 0x100a42ec
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x118], ecx
and word [ebp - 0x110], 0
push 0xfe
push 0
lea eax, [ebp - 0x10e]
push eax
call fcn.10071b30
add esp, 0xc
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0x100d11d0
call dword [sym.imp.ole32.dll_StringFromGUID2]
and dword [ebp - 4], 0
lea ecx, [ebp - 8]
call fcn.1001e01d
push 0x2001f
push 0x100d127c
push SysReAllocStringLen
lea ecx, [ebp - 8]
call fcn.10009be7
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 8]
call fcn.10009e88
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.10030a5b
movzx eax, al
test eax, eax
jne 0x100a439f
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x114], 1
lea ecx, [ebp - 8]
call fcn.10009c59
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x100a45d1
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdc08
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100ed3e0]
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.100016f1
mov byte [ebp - 4], 1
mov eax, dword [0x100d6664]
mov dword [ebp - 0x30], eax
push dword [0x100d6664]
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.1003825c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x100d6664]
je 0x100a4681
push dword [ebp - 0x30]
push 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100018bd
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.1000173e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.10001729
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.100016f1
call fcn.100a45d1
add esp, 0x1c
push 0
lea ecx, [ebp + 8]
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100a46a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100a46bd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001729
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001729
jmp 0x100a46d5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001729
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001729
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x100a4786
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdc58
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100ed3e0]
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 0x100a47bb
xor eax, eax
jmp 0x100a4911
call fcn.10020b41
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100a47d5
and dword [ebp - 0x44], 0
jmp 0x100a481b
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x100a47f1
and dword [ebp - 0x48], 0
jmp 0x100a4815
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.10084250
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.10024172
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.10071f70
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.100379a8
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
push eax
call fcn.100b6303
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.100109a3
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10010769
lea ecx, [ebp - 0x28]
call fcn.1000ba55
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a4896
lea ecx, [ebp - 0x28]
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x24], 0
push 0x100d0d6c
lea ecx, [ebp - 0x28]
call fcn.1000ba55
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100778a7
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100a48ff
push dword [ebp - 0x24]
push 1
push 4
lea eax, [ebp - 0x18]
push eax
call fcn.10077a97
add esp, 0x10
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push 1
push dword [ebp - 0x10]
call fcn.10077a97
add esp, 0x10
push dword [ebp - 0x24]
call fcn.10077b8b
pop ecx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x28]
call fcn.10010769
mov eax, dword [ebp - 0x3c]
jmp 0x100a4911
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x28]
call fcn.10010769
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.10071b1a
leave
ret
Function at 0x100a54a2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be541
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x100ed3e0]
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.10071b30
add esp, 0xc
push 0x100d2484
push dword [ebp + 8]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x2b8], 0x100d24e0
and word [ebp - 0x2b4], 0
push 0x7e
push 0
lea eax, [ebp - 0x2b2]
push eax
call fcn.10071b30
add esp, 0xc
push 0xa
push 0x40
lea eax, [ebp - 0x2b4]
push eax
push 0
call fcn.10077795
pop ecx
push eax
call fcn.1007776b
add esp, 0x10
lea ecx, [ebp - 0x2c0]
call fcn.10003b20
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.10004de7
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.10016180
add esp, 0x18
lea ecx, [ebp - 0x2c0]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x234]
call fcn.1003079e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.100107d6
inc eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call fcn.10071427
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.1000ba55
push eax
push dword [ebp - 0x10]
call fcn.10073380
add esp, 0xc
push 0x55
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.100a1491
add esp, 0xc
push 0x100d2558
lea eax, [ebp - 0x22c]
push eax
call fcn.10077894
pop ecx
pop ecx
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x100a564d
push dword [ebp - 0x230]
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
call fcn.10077a97
add esp, 0x10
push dword [ebp - 0x230]
call fcn.10077b8b
pop ecx
mov dword [ebp - 0x2bc], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c8], eax
push dword [ebp - 0x2c8]
call fcn.10075267
pop ecx
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.10010769
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.10071b1a
leave
ret 8
Function at 0x100a6685
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.100016bb
call fcn.100a45d1
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a66b5
xor eax, eax
inc eax
jmp 0x100a66b7
xor eax, eax
leave
ret
Function at 0x100a6dbc
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 0x100a6e20
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x100a6e0b
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004b90
movzx eax, al
test eax, eax
jne 0x100a6e0b
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004de7
push eax
call fcn.100b5309
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.10001729
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10001729
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001729
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001729
mov ecx, dword [ebp - 4]
call fcn.100370ab
leave
ret

Function at 0x100a6f3c
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.10004b90
movzx eax, al
test eax, eax
jne 0x100a6f91
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100a6f91
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004b90
movzx eax, al
test eax, eax
jne 0x100a6fbb
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001729
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001729
mov ecx, dword [ebp - 4]
call fcn.10036e9d
leave
ret
Function at 0x100a7da8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100beddd
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100ed3e0]
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 0x100d12f0
lea ecx, [ebp - 0x440]
call fcn.100016bb
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
add eax, 4
push eax
lea ecx, [ebp - 0x440]
call fcn.10001754
push 0x100d12f4
lea ecx, [ebp - 0x440]
call fcn.10004d60
push 0x100d12f8
lea ecx, [ebp - 0x440]
call fcn.10004d60
push dword [ebp + 8]
lea ecx, [ebp - 0x440]
call fcn.10004d60
lea ecx, [ebp - 0x440]
call fcn.10004de7
push eax
push 0x208
push section.DLLShare
call fcn.10075b84
add esp, 0xc
and word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.10071b30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [0x10109260]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x100d12fc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.10077c07
add esp, 0xc
and word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.10071b30
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.100b29a5
add esp, 0x14
mov dword [ebp - 0x444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.10001729
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.10071b1a
leave
ret 4
Function at 0x100a89b5
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bef3b
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100ed3e0]
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 0x100d10a4
lea ecx, [ebp - 0x48]
call fcn.100016bb
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.10001754
push 0x100d10a8
lea ecx, [ebp - 0x48]
call fcn.10004d60
push 0x100d10ac
lea ecx, [ebp - 0x48]
call fcn.10004d60
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10004d60
lea ecx, [ebp - 0x48]
call fcn.10004de7
push eax
call fcn.100a4786
pop ecx
test eax, eax
jne 0x100a8a50
and dword [ebp - 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001729
mov eax, dword [ebp - 0x4c]
jmp 0x100a8b5e
mov ecx, dword [ebp - 0x5c]
call fcn.100a84c5
test eax, eax
jne 0x100a8a74
and dword [ebp - 0x50], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001729
mov eax, dword [ebp - 0x50]
jmp 0x100a8b5e
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004de7
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a8aa2
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x100d10b0
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004de7
push eax
push 0x277f
push dword [0x10109260]
call fcn.100a51dd
add esp, 0x14
test eax, eax
jne 0x100a8ae4
and dword [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001729
mov eax, dword [ebp - 0x54]
jmp 0x100a8b5e
push 0x100d10c4
mov eax, dword [ebp - 0x5c]
add eax, 0xcc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a9fd
add esp, 0xc
mov byte [ebp - 4], 1
push 0
push 0x100d10d4
lea ecx, [ebp - 0x2c]
call fcn.10004de7
push eax
push 0x451
push dword [0x10109260]
call fcn.100a51dd
add esp, 0x14
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004de7
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.100a492b
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001729
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001729
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.10071b1a
leave
ret 4