joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009c1e3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x100fd008
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1009c2a1
push 0x100c4078
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009c2a1
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x1003afe9
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 8
call fcn.1006dddd
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1009c24f
mov ecx, dword [ebp - 0x18]
call fcn.10037133
mov dword [ebp - 0x1c], eax
jmp 0x1009c253
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 0x100fd218
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10003d09
push 0x100fd42c
push 0
push dword [ebp - 0x10]
push 0x1009a81f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1009c2a1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x1009c2a3
xor eax, eax
leave
ret

Function at 0x1009c47b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100df3e0]
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.10070d10
add esp, 0xc
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0x100c39f4
call dword [sym.imp.ole32.dll_StringFromGUID2]
and dword [ebp - 4], 0
lea ecx, [ebp - 8]
call fcn.10009c1c
push 0x2001f
push 0x100c3b44
push SysReAllocString
lea ecx, [ebp - 8]
call fcn.10009b99
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 8]
call fcn.10009e3e
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.10003c3c
movzx eax, al
test eax, eax
jne 0x1009c52e
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.10012148
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x114], 1
lea ecx, [ebp - 8]
call fcn.10009c0b
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e071
leave
ret
Function at 0x1009c552
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b19d8
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100df3e0]
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.10009c1c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.10009c1c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10003c52
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x1009c5f4
push 0x100c3598
lea ecx, [ebp - 0x228]
call fcn.1003455e
push eax
push dword [0x100f7148]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
push 0x100c35c0
lea ecx, [ebp - 0x230]
call fcn.1003455e
push eax
push dword [0x100f7144]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
lea ecx, [ebp - 0x228]
call fcn.10012148
push eax
lea ecx, [ebp - 0x22c]
call fcn.10003d09
push 0x100c35d0
lea ecx, [ebp - 0x22c]
call fcn.10009f75
lea ecx, [ebp - 0x230]
call fcn.10012148
push eax
lea ecx, [ebp - 0x22c]
call fcn.10009f75
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10070d10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.10012148
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.10070d10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x22c]
call fcn.10012148
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009c6e3
push 0x100c35d4
lea eax, [ebp - 0x224]
push eax
push 0x277e
push dword [0x100fb264]
call fcn.1009a676
add esp, 0x10
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10010628
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1000a9bd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1000a9bd
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.1006e071
leave
ret

Function at 0x1009c737
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.10003c3c
movzx eax, al
test eax, eax
jne 0x1009c76f
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10012148
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10010628
mov ecx, dword [ebp - 4]
call fcn.1003619c
leave
ret
Function at 0x1009c784
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1f75
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100df3e0]
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.10001748
mov byte [ebp - 4], 1
mov eax, dword [0x100c92e8]
mov dword [ebp - 0x30], eax
push dword [0x100c92e8]
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.10037241
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x100c92e8]
je 0x1009c834
push dword [ebp - 0x30]
push 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000193a
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.10001795
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.10001780
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.10001748
call fcn.1009c784
add esp, 0x1c
push 0
lea ecx, [ebp + 8]
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1009c856
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1009c870
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001780
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001780
jmp 0x1009c888
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001780
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e071
leave
ret
Function at 0x1009c953
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1fc5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100df3e0]
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 0x1009c988
xor eax, eax
jmp 0x1009cade
call fcn.10020760
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1009c9a2
and dword [ebp - 0x44], 0
jmp 0x1009c9e8
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x1009c9be
and dword [ebp - 0x48], 0
jmp 0x1009c9e2
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.10080060
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.10023652
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.1006dfd0
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.10036cf9
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
push eax
call fcn.100aa681
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.10010844
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10010628
lea ecx, [ebp - 0x28]
call fcn.10012148
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009ca63
lea ecx, [ebp - 0x28]
call fcn.10012148
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x24], 0
push 0x100c3430
lea ecx, [ebp - 0x28]
call fcn.10012148
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100732da
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x1009cacc
push dword [ebp - 0x24]
push 1
push 4
lea eax, [ebp - 0x18]
push eax
call fcn.10073489
add esp, 0x10
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push 1
push dword [ebp - 0x10]
call fcn.10073489
add esp, 0x10
push dword [ebp - 0x24]
call fcn.1007357d
pop ecx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x28]
call fcn.10010628
mov eax, dword [ebp - 0x3c]
jmp 0x1009cade
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x28]
call fcn.10010628
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.1006e071
leave
ret
Function at 0x1009caf8
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1ffd
mov eax, dword fs:[0]
push eax
mov eax, 0x8440
call fcn.10087600
mov eax, dword [0x100df3e0]
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 0x1009cd4a
and word [ebp - 0x8444], 0
push 0x208
push 0
lea eax, [ebp - 0x8442]
push eax
call fcn.10070d10
add esp, 0xc
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x8444]
push eax
call fcn.10071383
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 0x1009cba1
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.1002410f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10037a01
push 0x100c3358
lea ecx, [ebp - 0x10]
call fcn.10037950
and word [ebp - 0x8234], 0
push 0x208
push 0
lea eax, [ebp - 0x8232]
push eax
call fcn.10070d10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x8234]
push eax
call fcn.1009a5d6
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.10012148
push eax
lea eax, [ebp - 0x8234]
push eax
push 0x100c3364
push 0x100c337c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp - 0x401c], 0
push 0x4002
push 0
lea eax, [ebp - 0x401a]
push eax
call fcn.10070d10
add esp, 0xc
and word [ebp - 0x8024], 0
push 0x4002
push 0
lea eax, [ebp - 0x8022]
push eax
call fcn.10070d10
add esp, 0xc
push section.Downlaod
call fcn.1006e05b
pop ecx
push eax
push section.Downlaod
push 0x2002
lea eax, [ebp - 0x401c]
push eax
call fcn.1009a580
add esp, 0x10
push 0x10100008
call fcn.1006e05b
pop ecx
push eax
push 0x10100008
push 0x2002
lea eax, [ebp - 0x8024]
push eax
call fcn.1009a580
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.10012148
push eax
lea eax, [ebp - 0x8024]
push eax
push 0x100c3390
push 0x100c33a0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x10]
call fcn.10012148
push eax
lea eax, [ebp - 0x401c]
push eax
push 0x100c33b4
push 0x100c33c8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8448]
call fcn.10003c52
mov byte [ebp - 4], 1
push dword [0x10104014]
push 0x100c33dc
lea eax, [ebp - 0x8448]
push eax
call fcn.10015e03
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.10012148
push eax
lea ecx, [ebp - 0x8448]
call fcn.10012148
push eax
push 0x100c33e4
push 0x100c33f0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8448]
call fcn.10010628
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10033c05
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.1006e071
leave
ret 4
Function at 0x1009cd66
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b202d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100df3e0]
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.100aa7af
pop ecx
and dword [ebp - 4], 0
push 0x100c32f4
lea ecx, [ebp - 0x10]
call fcn.10009f75
lea ecx, [ebp - 0x10]
call fcn.10012148
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.10012148
test eax, eax
je 0x1009ce3f
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.10012148
mov dword [ebp - 0x3c], eax
push 0
push 0x100c3328
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.100725ba
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.10012148
push eax
lea eax, [ebp - 0x30]
push eax
push 0x100c3330
push 0x100c333c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x16
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.10070d10
add esp, 0xc
mov dword [ebp - 0x34], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10010628
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.1006e071
leave
ret
Function at 0x1009d429
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.10001712
call fcn.1009c784
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009d459
xor eax, eax
inc eax
jmp 0x1009d45b
xor eax, eax
leave
ret

Function at 0x1009d680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push edi
call fcn.1005ae92
movzx eax, al
test eax, eax
je 0x1009d6af
push section.DLLShare
push str.EntryPoint__g_szCmdline_s
push 0xd2
push 0x100c3bf0
call fcn.1005ad21
add esp, 0x10
push section.DLLShare
call fcn.1006e05b
pop ecx
test eax, eax
jne 0x1009d6e3
call fcn.1005ae92
movzx eax, al
test eax, eax
je 0x1009d6e1
push str.EntryPoint__g_szCmdline_is_empty
push 0xd2
push 0x100c3c98
call fcn.1005ad21
add esp, 0xc
jmp 0x1009d752
and dword [ebp - 0x60], 0
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.10070d10
add esp, 0xc
and dword [ebp - 0x10], 0
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 0x81
and word [ebp - 0x30], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push section.DLLShare
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1009d752
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
leave
ret 0x10
Function at 0x1009dc35
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 0x1009dc99
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x1009dc84
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.100018df
movzx eax, al
test eax, eax
jne 0x1009dc84
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004e35
push eax
call fcn.100a9896
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.10001780
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10001780
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001780
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001780
mov ecx, dword [ebp - 4]
call fcn.10036559
leave
ret

Function at 0x1009ddb5
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.100018df
movzx eax, al
test eax, eax
jne 0x1009de0a
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1009de0a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.100018df
movzx eax, al
test eax, eax
jne 0x1009de34
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10001780
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10001780
mov ecx, dword [ebp - 4]
call fcn.1003634b
leave
ret
Function at 0x1009e85e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2d3e
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100df3e0]
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 0x100c3cf8
lea ecx, [ebp - 0x440]
call fcn.10001712
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
add eax, 4
push eax
lea ecx, [ebp - 0x440]
call fcn.100017ab
push 0x100c3cfc
lea ecx, [ebp - 0x440]
call fcn.10004dae
push 0x100c3d00
lea ecx, [ebp - 0x440]
call fcn.10004dae
push dword [ebp + 8]
lea ecx, [ebp - 0x440]
call fcn.10004dae
lea ecx, [ebp - 0x440]
call fcn.10004e35
push eax
push 0x208
push section.DLLShare
call fcn.10072017
add esp, 0xc
and word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.10070d10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [0x100fb264]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x100c3d04
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.100735f9
add esp, 0xc
and word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.10070d10
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.100a7135
add esp, 0x14
mov dword [ebp - 0x444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.10001780
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.1006e071
leave
ret 4
Function at 0x1009f491
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2e9c
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100df3e0]
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 0x100c3780
lea ecx, [ebp - 0x48]
call fcn.10001712
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.100017ab
push 0x100c3784
lea ecx, [ebp - 0x48]
call fcn.10004dae
push 0x100c3788
lea ecx, [ebp - 0x48]
call fcn.10004dae
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10004dae
lea ecx, [ebp - 0x48]
call fcn.10004e35
push eax
call fcn.1009c953
pop ecx
test eax, eax
jne 0x1009f52c
and dword [ebp - 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001780
mov eax, dword [ebp - 0x4c]
jmp 0x1009f636
mov ecx, dword [ebp - 0x5c]
call fcn.1009efa1
test eax, eax
jne 0x1009f550
and dword [ebp - 0x50], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001780
mov eax, dword [ebp - 0x50]
jmp 0x1009f636
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e35
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009f57e
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x100c378c
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e35
push eax
push 0x277f
push dword [0x100fb264]
call fcn.1009a676
add esp, 0x10
test eax, eax
jne 0x1009f5be
and dword [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001780
mov eax, dword [ebp - 0x54]
jmp 0x1009f636
push 0x100c37a0
mov eax, dword [ebp - 0x5c]
add eax, 0xcc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a943
add esp, 0xc
mov byte [ebp - 4], 1
push 0x100c37b0
lea ecx, [ebp - 0x2c]
call fcn.10004e35
push eax
push 0x451
push dword [0x100fb264]
call fcn.1009a676
add esp, 0x10
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004e35
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.1009caf8
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001780
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10001780
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.1006e071
leave
ret 4
Function at 0x1009f64f
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.10009fb8
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10012148
test eax, eax
je 0x1009f6c6
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10012148
mov dword [ebp - 0x14], eax
push 0
push 0x100c3758
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call dword [eax + 0x18]
cmp eax, 0x64
jne 0x1009f6c6
mov eax, dword [0x10104014]
dec eax
mov dword [0x10104014], eax
cmp dword [0x10104014], 0xffffffff
jne 0x1009f6c6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10104018], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10012148
test eax, eax
je 0x1009f703
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10012148
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 0x1009f703
call fcn.10036e11
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x10]
push 0x1009b890
push 0
push 0
call fcn.1007217d
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.10034742
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10035fb5
lea ecx, [ebp - 0xc]
call fcn.10020b4e
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10012148
test eax, eax
je 0x1009f774
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.10012148
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x98]
jmp 0x1009f776
xor eax, eax
leave
ret 4