joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100aa227
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10115b04]
inc eax
mov dword [0x10115b04], eax
push 0
call fcn.100a9bd3
pop ecx
add eax, dword [0x10115b04]
push eax
call fcn.10078d09
pop ecx
call fcn.10078d16
mov dword [ebp - 0x14], eax
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100aa281
xor eax, eax
inc eax
jmp 0x100aa33e
push 0
push 0
push 0
push 4
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100aa2ae
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
pop eax
jmp 0x100aa33e
push 0
push 0
push 0
push 6
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100aa2df
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 3
pop eax
jmp 0x100aa33e
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100aa321
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x4550
jne 0x100aa321
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x58], ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
leave
ret
Function at 0x100aa449
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x234], ecx
cmp dword [ebp + 8], 0
jne 0x100aa46f
xor eax, eax
jmp 0x100aa5c4
call fcn.100250ce
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100aa48c
and dword [ebp - 0x238], 0
jmp 0x100aa4e4
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3fffffff
jle 0x100aa4ab
and dword [ebp - 0x23c], 0
jmp 0x100aa4d8
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.1008a750
mov dword [ebp - 0x240], esp
push dword [ebp - 0x10]
mov eax, dword [ebp - 8]
shl eax, 1
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x240]
call fcn.10027ffe
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100aa5c2
and word [ebp - 0x228], 0
push 0x208
push 0
lea eax, [ebp - 0x226]
push eax
call fcn.100771d0
add esp, 0xc
push 0x105
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x234]
call fcn.100a9563
push 0x100dc4b0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100aa55c
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x22c], 0
push 0x100dc4cc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10077ef5
add esp, 0xc
cmp dword [ebp - 0x22c], 0
je 0x100aa5c2
push dword [ebp - 4]
call fcn.10077a80
pop ecx
mov dword [ebp - 0x230], eax
push dword [ebp - 0x22c]
mov eax, dword [ebp - 0x230]
inc eax
push eax
push 1
push dword [ebp - 4]
call fcn.100780a4
add esp, 0x10
push dword [ebp - 0x22c]
call fcn.10078198
pop ecx
xor eax, eax
inc eax
jmp 0x100aa5c4
xor eax, eax
lea esp, [ebp - 0x240]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100771ba
leave
ret 4
Function at 0x100aaf84
Capabilities:
Get session user name
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100f93e0]
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 0x100aafeb
lea eax, [ebp - 0x10]
push eax
push 0x100e3e14
push 1
push 0
push 0x100e3e34
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x100aafe9
jmp 0x100ab12f
jmp 0x100aaff2
xor eax, eax
jmp 0x100ab171
push dword [0x10111178]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x1c]
lea eax, [ebp - 0xc]
push eax
push 0x100e3e04
push 0x100e3e24
push dword [0x10111178]
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 0x100ab035
jmp 0x100ab12f
mov ecx, dword [ebp - 0x228]
add ecx, 4
call fcn.100094ad
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 0x100ab076
push dword [ebp + 8]
call fcn.10077b0b
pop ecx
test eax, eax
jbe 0x100ab076
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.100771d0
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 0x100d08fc
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 0x100ab0f9
jmp 0x100ab12f
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 0x100ab115
jmp 0x100ab12f
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 0x100ab140
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 8]
cmp dword [ebp - 0xc], 0
je 0x100ab151
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 8]
cmp dword [ebp - 0x10], 0
je 0x100ab162
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.100771ba
leave
ret 4
Function at 0x100ab288
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x100f93e0]
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.100771d0
add esp, 0xc
push 0x105
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x280]
call fcn.100a9563
push 0x100dc4d0
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.100771d0
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 0x100ab398
push dword [ebp - 0x228]
lea ecx, [ebp - 0x27c]
call fcn.10042e7c
push eax
mov ecx, dword [ebp - 0x280]
add ecx, 0x74
call fcn.1003acef
lea ecx, [ebp - 0x27c]
call fcn.100254b5
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.100771ba
leave
ret
Function at 0x100ab858
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7651
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x100f93e0]
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.10003bfa
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10028a40
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.100771d0
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.10005b69
push eax
call fcn.10077dbe
pop ecx
pop ecx
test eax, eax
je 0x100ab92c
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.10014be9
mov eax, dword [ebp - 0x258]
jmp 0x100aba01
xor eax, eax
inc eax
je 0x100ab9e3
push 0x22c
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.100771d0
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 0x100ab971
or dword [ebp - 0x250], 0xffffffff
jmp 0x100ab9e3
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x254]
call fcn.10003bfa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.10028a40
lea ecx, [ebp - 0x254]
call fcn.10005b69
push eax
lea ecx, [ebp - 0x10]
call fcn.10005b69
push eax
call fcn.10077dbe
pop ecx
pop ecx
test eax, eax
je 0x100ab9cf
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10014be9
jmp 0x100ab9e3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.10014be9
jmp 0x100ab92c
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10014be9
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.100771ba
leave
ret 4
Function at 0x100aba1a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x10118008
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100abad8
push 0x100dcb3c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100abad8
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x100415e9
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 8
call fcn.1007786b
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100aba86
mov ecx, dword [ebp - 0x18]
call fcn.1003c47d
mov dword [ebp - 0x1c], eax
jmp 0x100aba8a
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 0x10118218
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10003c7e
push 0x1011842c
push 0
push dword [ebp - 0x10]
push 0x100a9d87
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100abad8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x100abada
xor eax, eax
leave
ret

Function at 0x100abcb2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100f93e0]
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.100771d0
add esp, 0xc
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0x100dc6d4
call dword [sym.imp.ole32.dll_StringFromGUID2]
and dword [ebp - 4], 0
lea ecx, [ebp - 8]
call fcn.100223dd
push 0x2001f
push 0x100dc780
push SysReAllocStringLen
lea ecx, [ebp - 8]
call fcn.1000e13e
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 8]
call fcn.1000e39b
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.10003bcb
movzx eax, al
test eax, eax
jne 0x100abd65
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.10005b69
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x114], 1
lea ecx, [ebp - 8]
call fcn.1000e1b0
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100771ba
leave
ret

Function at 0x100abf4a
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.10003bcb
movzx eax, al
test eax, eax
jne 0x100abf82
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10005b69
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10014be9
mov ecx, dword [ebp - 4]
call fcn.1003b043
leave
ret
Function at 0x100abf97
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7c27
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100f93e0]
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.10001773
mov byte [ebp - 4], 1
mov eax, dword [0x100e2030]
mov dword [ebp - 0x30], eax
push dword [0x100e2030]
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.1003c58e
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x100e2030]
je 0x100ac047
push dword [ebp - 0x30]
push 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000193f
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.100017c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.100017ab
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.10001773
call fcn.100abf97
add esp, 0x1c
push 0
lea ecx, [ebp + 8]
call fcn.100094ad
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100ac069
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100ac083
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100017ab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100017ab
jmp 0x100ac09b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100017ab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100017ab
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100771ba
leave
ret
Function at 0x100ac14c
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7c77
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100f93e0]
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 0x100ac181
xor eax, eax
jmp 0x100ac2d7
call fcn.100250ce
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100ac19b
and dword [ebp - 0x44], 0
jmp 0x100ac1e1
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x100ac1b7
and dword [ebp - 0x48], 0
jmp 0x100ac1db
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.1008a750
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.10027ffe
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.10077a80
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.1003bce6
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
push eax
call fcn.100bed38
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.10014e8c
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10014be9
lea ecx, [ebp - 0x28]
call fcn.10005b69
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100ac25c
lea ecx, [ebp - 0x28]
call fcn.10005b69
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x24], 0
push 0x100dc26c
lea ecx, [ebp - 0x28]
call fcn.10005b69
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10077ef5
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100ac2c5
push dword [ebp - 0x24]
push 1
push 4
lea eax, [ebp - 0x18]
push eax
call fcn.100780a4
add esp, 0x10
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push 1
push dword [ebp - 0x10]
call fcn.100780a4
add esp, 0x10
push dword [ebp - 0x24]
call fcn.10078198
pop ecx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x28]
call fcn.10014be9
mov eax, dword [ebp - 0x3c]
jmp 0x100ac2d7
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x28]
call fcn.10014be9
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.100771ba
leave
ret
Function at 0x100ace68
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8515
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x100f93e0]
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.100771d0
add esp, 0xc
push 0x100dda3c
push dword [ebp + 8]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x2b8], 0x100dda98
and word [ebp - 0x2b4], 0
push 0x7e
push 0
lea eax, [ebp - 0x2b2]
push eax
call fcn.100771d0
add esp, 0xc
push 0xa
push 0x40
lea eax, [ebp - 0x2b4]
push eax
push 0
call fcn.1007d133
pop ecx
push eax
call fcn.1007d0b6
add esp, 0x10
lea ecx, [ebp - 0x2c0]
call fcn.10014b4b
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.100094ad
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.10008825
add esp, 0x18
lea ecx, [ebp - 0x2c0]
call fcn.10005b69
push eax
lea ecx, [ebp - 0x234]
call fcn.10035162
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10003bb7
inc eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call fcn.10076ac2
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.10005b69
push eax
push dword [ebp - 0x10]
call fcn.10078880
add esp, 0xc
push 0x55
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.100a8e5e
add esp, 0xc
push 0x100ddb10
lea eax, [ebp - 0x22c]
push eax
call fcn.10077ee2
pop ecx
pop ecx
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x100ad013
push dword [ebp - 0x230]
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
call fcn.100780a4
add esp, 0x10
push dword [ebp - 0x230]
call fcn.10078198
pop ecx
mov dword [ebp - 0x2bc], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c8], eax
push dword [ebp - 0x2c8]
call fcn.1007a47b
pop ecx
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10014be9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.10014be9
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.100771ba
leave
ret 8
Function at 0x100ae04b
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.100abf97
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100ae07b
xor eax, eax
inc eax
jmp 0x100ae07d
xor eax, eax
leave
ret
Function at 0x100ae782
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 0x100ae7e6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x100ae7d1
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10009256
movzx eax, al
test eax, eax
jne 0x100ae7d1
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.100094ad
push eax
call fcn.100bdd3e
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.100094ad
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.1003b3ff
leave
ret

Function at 0x100ae902
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.10009256
movzx eax, al
test eax, eax
jne 0x100ae957
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.100094ad
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100ae957
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.100094ad
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10009256
movzx eax, al
test eax, eax
jne 0x100ae981
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.100094ad
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.1003b134
leave
ret