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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100ea3e0]
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 0x100a21db
lea eax, [ebp - 0x10]
push eax
push 0x100d5ab0
push 1
push 0
push 0x100d5ad0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x100a21d9
jmp 0x100a231f
jmp 0x100a21e2
xor eax, eax
jmp 0x100a2361
push dword [0x1010214c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x1c]
lea eax, [ebp - 0xc]
push eax
push 0x100d5aa0
push 0x100d5ac0
push dword [0x1010214c]
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 0x100a2225
jmp 0x100a231f
mov ecx, dword [ebp - 0x228]
add ecx, 4
call fcn.100050ac
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 0x100a2266
push dword [ebp + 8]
call fcn.10070dbb
pop ecx
test eax, eax
jbe 0x100a2266
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.10073a50
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 0x100c38ac
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 0x100a22e9
jmp 0x100a231f
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 0x100a2305
jmp 0x100a231f
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 0x100a2330
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 8]
cmp dword [ebp - 0xc], 0
je 0x100a2341
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 8]
cmp dword [ebp - 0x10], 0
je 0x100a2352
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.10070dd1
leave
ret 4
Function at 0x100a2478
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x100ea3e0]
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.10073a50
add esp, 0xc
push 0x105
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x280]
call fcn.100a0873
push 0x100ceb58
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.10073a50
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 0x100a2588
push dword [ebp - 0x228]
lea ecx, [ebp - 0x27c]
call fcn.1000bb67
push eax
mov ecx, dword [ebp - 0x280]
add ecx, 0x74
call fcn.10036427
lea ecx, [ebp - 0x27c]
call fcn.100213ad
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.10070dd1
leave
ret
Function at 0x100a2a4f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb54e
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x100ea3e0]
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.10003e0b
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10024989
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.10073a50
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.100212fb
push eax
call fcn.10071571
pop ecx
pop ecx
test eax, eax
je 0x100a2b23
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.10003e76
mov eax, dword [ebp - 0x258]
jmp 0x100a2bf8
xor eax, eax
inc eax
je 0x100a2bda
push 0x22c
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.10073a50
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 0x100a2b68
or dword [ebp - 0x250], 0xffffffff
jmp 0x100a2bda
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x254]
call fcn.10003e0b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.10024989
lea ecx, [ebp - 0x254]
call fcn.100212fb
push eax
lea ecx, [ebp - 0x10]
call fcn.100212fb
push eax
call fcn.10071571
pop ecx
pop ecx
test eax, eax
je 0x100a2bc6
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10003e76
jmp 0x100a2bda
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10003e76
jmp 0x100a2b23
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003e76
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.10070dd1
leave
ret 4
Function at 0x100a2c11
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x10108008
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100a2ccf
push 0x100cf164
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100a2ccf
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x1003cc63
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 8
call fcn.10070b17
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100a2c7d
mov ecx, dword [ebp - 0x18]
call fcn.10037a4c
mov dword [ebp - 0x1c], eax
jmp 0x100a2c81
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 0x10108218
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10003ea0
push 0x1010842c
push 0
push dword [ebp - 0x10]
push 0x100a105a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100a2ccf
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x100a2cd1
xor eax, eax
leave
ret

Function at 0x100a2ea9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100ea3e0]
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.10073a50
add esp, 0xc
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0x100ced58
call dword [sym.imp.ole32.dll_StringFromGUID2]
and dword [ebp - 4], 0
lea ecx, [ebp - 8]
call fcn.10021fb0
push 0x2001f
push 0x100cee04
push SysReAllocStringLen
lea ecx, [ebp - 8]
call fcn.10009d42
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 8]
call fcn.10009fcc
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.100308ac
movzx eax, al
test eax, eax
jne 0x100a2f5c
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.100212fb
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x114], 1
lea ecx, [ebp - 8]
call fcn.10009db4
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070dd1
leave
ret

Function at 0x100a3141
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.Txdl::CRemoteInjectLauncher.0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.100308ac
movzx eax, al
test eax, eax
jne 0x100a3179
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.100212fb
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10003e76
mov ecx, dword [ebp - 4]
call fcn.1003660e
leave
ret
Function at 0x100a318e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbaee
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100ea3e0]
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.10001763
mov byte [ebp - 4], 1
mov eax, dword [0x100d4000]
mov dword [ebp - 0x30], eax
push dword [0x100d4000]
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.10037b73
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x100d4000]
je 0x100a323e
push dword [ebp - 0x30]
push 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000192f
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.100017b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.1000179b
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.10001763
call fcn.100a318e
add esp, 0x1c
push 0
lea ecx, [ebp + 8]
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100a3260
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100a327a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1000179b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000179b
jmp 0x100a3292
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1000179b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000179b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070dd1
leave
ret
Function at 0x100a3343
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbb3e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100ea3e0]
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 0x100a3378
xor eax, eax
jmp 0x100a34ce
call fcn.10020fb1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100a3392
and dword [ebp - 0x44], 0
jmp 0x100a33d8
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x100a33ae
and dword [ebp - 0x48], 0
jmp 0x100a33d2
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.10082f80
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.10023f4c
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.10070d30
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.100372bf
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
push eax
call fcn.100b417f
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.10010a79
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10003e76
lea ecx, [ebp - 0x28]
call fcn.100212fb
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a3453
lea ecx, [ebp - 0x28]
call fcn.100212fb
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x24], 0
push 0x100ce8f4
lea ecx, [ebp - 0x28]
call fcn.100212fb
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10076131
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100a34bc
push dword [ebp - 0x24]
push 1
push 4
lea eax, [ebp - 0x18]
push eax
call fcn.10076321
add esp, 0x10
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push 1
push dword [ebp - 0x10]
call fcn.10076321
add esp, 0x10
push dword [ebp - 0x24]
call fcn.100766da
pop ecx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x28]
call fcn.10003e76
mov eax, dword [ebp - 0x3c]
jmp 0x100a34ce
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x28]
call fcn.10003e76
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.10070dd1
leave
ret
Function at 0x100a377b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbba6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100ea3e0]
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.100b42ad
pop ecx
and dword [ebp - 4], 0
push 0x100ce7b8
lea ecx, [ebp - 0x10]
call fcn.1000a103
lea ecx, [ebp - 0x10]
call fcn.100212fb
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.100212fb
test eax, eax
je 0x100a3854
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.100212fb
mov dword [ebp - 0x3c], eax
push 0
push 0x100ce7ec
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.1007549a
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100212fb
push eax
lea eax, [ebp - 0x30]
push eax
push 0x100ce7f4
push 0x100ce800
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x16
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.10073a50
add esp, 0xc
mov dword [ebp - 0x34], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003e76
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.10070dd1
leave
ret
Function at 0x100a408b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc465
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x100ea3e0]
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.10073a50
add esp, 0xc
push 0x100d0014
push dword [ebp + 8]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x2b8], 0x100d0070
and word [ebp - 0x2b4], 0
push 0x7e
push 0
lea eax, [ebp - 0x2b2]
push eax
call fcn.10073a50
add esp, 0xc
push 0xa
push 0x40
lea eax, [ebp - 0x2b4]
push eax
push 0
call fcn.1007601f
pop ecx
push eax
call fcn.10075ff5
add esp, 0x10
lea ecx, [ebp - 0x2c0]
call fcn.10003dd8
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.100050ac
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.1001612b
add esp, 0x18
lea ecx, [ebp - 0x2c0]
call fcn.100212fb
push eax
lea ecx, [ebp - 0x234]
call fcn.100305ef
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10003dc4
inc eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call fcn.10070158
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.100212fb
push eax
push dword [ebp - 0x10]
call fcn.10073ad0
add esp, 0xc
push 0x55
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.100a004e
add esp, 0xc
push 0x100d00e8
lea eax, [ebp - 0x22c]
push eax
call fcn.1007611e
pop ecx
pop ecx
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x100a4236
push dword [ebp - 0x230]
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
call fcn.10076321
add esp, 0x10
push dword [ebp - 0x230]
call fcn.100766da
pop ecx
mov dword [ebp - 0x2bc], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c8], eax
push dword [ebp - 0x2c8]
call fcn.10072d0d
pop ecx
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10003e76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.10003e76
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.10070dd1
leave
ret 8
Function at 0x100a526e
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.1000172d
call fcn.100a318e
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a529e
xor eax, eax
inc eax
jmp 0x100a52a0
xor eax, eax
leave
ret
Function at 0x100a59a5
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 0x100a5a09
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x100a59f4
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004e55
movzx eax, al
test eax, eax
jne 0x100a59f4
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.100050ac
push eax
call fcn.100b3394
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.1000179b
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.1000179b
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.1000179b
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.1000179b
mov ecx, dword [ebp - 4]
call fcn.100369c2
leave
ret

Function at 0x100a5b25
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.10004e55
movzx eax, al
test eax, eax
jne 0x100a5b7a
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100a5b7a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004e55
movzx eax, al
test eax, eax
jne 0x100a5ba4
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.1000179b
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.1000179b
mov ecx, dword [ebp - 4]
call fcn.100367b4
leave
ret
Function at 0x100a6862
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcccc
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100ea3e0]
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 0x100cee78
lea ecx, [ebp - 0x440]
call fcn.1000172d
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
add eax, 4
push eax
lea ecx, [ebp - 0x440]
call fcn.100017c6
push 0x100cee7c
lea ecx, [ebp - 0x440]
call fcn.10005025
push 0x100cee80
lea ecx, [ebp - 0x440]
call fcn.10005025
push dword [ebp + 8]
lea ecx, [ebp - 0x440]
call fcn.10005025
lea ecx, [ebp - 0x440]
call fcn.100050ac
push eax
push 0x208
push section.DLLShare
call fcn.10074ec3
add esp, 0xc
and word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.10073a50
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [0x1010622c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x100cee84
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.10075997
add esp, 0xc
and word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.10073a50
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.100b0a0a
add esp, 0x14
mov dword [ebp - 0x444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.1000179b
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.10070dd1
leave
ret 4