joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009b81e
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1009b855
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
jmp 0x1009b88a
push 0
push 0x100c6574
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1009b88a
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret

Function at 0x1009b88c
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push edi
and dword [ebp - 0x68], 0
push 0x40
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.10071ef0
add esp, 0xc
and dword [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 0x80
and dword [ebp - 0x18], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push str.SoftWareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1009b910
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push str.Supplyid
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1009b952
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x1009b954
xor eax, eax
pop edi
leave
ret
Function at 0x1009ba92
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push edi
push section.DLLShare
call fcn.1006f25b
pop ecx
test eax, eax
jne 0x1009baaa
jmp 0x1009bb19
and dword [ebp - 0x60], 0
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.10071ef0
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 0x1009bb19
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 0x1009bb27
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1009bb50
xor eax, eax
jmp 0x1009bbb9
and dword [ebp - 0x244], 0
and dword [ebp - 8], 0
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1009bbaa
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
call fcn.10073115
pop ecx
pop ecx
test eax, eax
jne 0x1009bb97
mov dword [ebp - 0x244], 1
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1009bb78
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1006f271
leave
ret
Function at 0x1009be4f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov eax, dword [ebp + 0x10]
and dword [eax], 0
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1009bf10
push dword [ebp - 4]
call fcn.1006e628
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1009befd
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100c5bb4
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1009befd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and eax, 0xffff0000
shr eax, 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
and eax, 0xffff
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.100711ad
pop ecx
and dword [ebp - 8], 0
xor eax, eax
inc eax
jmp 0x1009bf12
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
call fcn.100711ad
pop ecx
and dword [ebp - 8], 0
xor eax, eax
leave
ret
Function at 0x1009c5a8
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100fc4ac]
inc eax
mov dword [0x100fc4ac], eax
push 0
call fcn.1009c02c
pop ecx
add eax, dword [0x100fc4ac]
push eax
call fcn.1006f8be
pop ecx
call fcn.1006f8cb
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 0x1009c602
xor eax, eax
inc eax
jmp 0x1009c6bf
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 0x1009c62f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
pop eax
jmp 0x1009c6bf
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 0x1009c660
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 0x1009c6bf
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1009c6a2
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 0x1009c6a2
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 0x1009c7ca
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x234], ecx
cmp dword [ebp + 8], 0
jne 0x1009c7f0
xor eax, eax
jmp 0x1009c945
call fcn.10020f76
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1009c80d
and dword [ebp - 0x238], 0
jmp 0x1009c865
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3fffffff
jle 0x1009c82c
and dword [ebp - 0x23c], 0
jmp 0x1009c859
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.10081160
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.10023cb2
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 0x1009c943
and word [ebp - 0x228], 0
push 0x208
push 0
lea eax, [ebp - 0x226]
push eax
call fcn.10071ef0
add esp, 0xc
push 0x105
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x234]
call fcn.1009bbd3
push 0x100c6070
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 0x1009c8dd
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x22c], 0
push 0x100c608c
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.100747a5
add esp, 0xc
cmp dword [ebp - 0x22c], 0
je 0x1009c943
push dword [ebp - 4]
call fcn.1006f1d0
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.10074954
add esp, 0x10
push dword [ebp - 0x22c]
call fcn.10074a48
pop ecx
xor eax, eax
inc eax
jmp 0x1009c945
xor eax, eax
lea esp, [ebp - 0x240]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006f271
leave
ret 4
Function at 0x1009ce76
Capabilities:
Get session user name
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100e03e0]
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 0x1009cedd
lea eax, [ebp - 0x10]
push eax
push 0x100cc278
push 1
push 0
push 0x100cc298
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x1009cedb
jmp 0x1009d021
jmp 0x1009cee4
xor eax, eax
jmp 0x1009d063
push dword [0x100f814c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x1c]
lea eax, [ebp - 0xc]
push eax
push 0x100cc268
push 0x100cc288
push dword [0x100f814c]
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 0x1009cf27
jmp 0x1009d021
mov ecx, dword [ebp - 0x228]
add ecx, 4
call fcn.10005057
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 0x1009cf68
push dword [ebp + 8]
call fcn.1006f25b
pop ecx
test eax, eax
jbe 0x1009cf68
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.10071ef0
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 0x100bb89c
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 0x1009cfeb
jmp 0x1009d021
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 0x1009d007
jmp 0x1009d021
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 0x1009d032
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 8]
cmp dword [ebp - 0xc], 0
je 0x1009d043
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 8]
cmp dword [ebp - 0x10], 0
je 0x1009d054
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.1006f271
leave
ret 4
Function at 0x1009d316
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x100e03e0]
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.10071ef0
add esp, 0xc
push 0x105
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x280]
call fcn.1009bbd3
push 0x100c6090
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.10071ef0
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 0x1009d426
push dword [ebp - 0x228]
lea ecx, [ebp - 0x27c]
call fcn.10011241
push eax
mov ecx, dword [ebp - 0x280]
add ecx, 0x74
call fcn.1003626b
lea ecx, [ebp - 0x27c]
call fcn.10021373
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.1006f271
leave
ret
Function at 0x1009d9a7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3ff7
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x100e03e0]
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.10003e65
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.100246bf
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.10071ef0
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.10030677
push eax
call fcn.1006fa11
pop ecx
pop ecx
test eax, eax
je 0x1009da7b
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.1001092f
mov eax, dword [ebp - 0x258]
jmp 0x1009db50
xor eax, eax
inc eax
je 0x1009db32
push 0x22c
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.10071ef0
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 0x1009dac0
or dword [ebp - 0x250], 0xffffffff
jmp 0x1009db32
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x254]
call fcn.10003e65
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.100246bf
lea ecx, [ebp - 0x254]
call fcn.10030677
push eax
lea ecx, [ebp - 0x10]
call fcn.10030677
push eax
call fcn.1006fa11
pop ecx
pop ecx
test eax, eax
je 0x1009db1e
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.1001092f
jmp 0x1009db32
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.1001092f
jmp 0x1009da7b
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001092f
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.1006f271
leave
ret 4
Function at 0x1009db69
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x100fe008
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1009dc27
push 0x100c6630
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009dc27
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x1003c626
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 8
call fcn.1006efe7
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1009dbd5
mov ecx, dword [ebp - 0x18]
call fcn.10037750
mov dword [ebp - 0x1c], eax
jmp 0x1009dbd9
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 0x100fe218
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10003ee9
push 0x100fe42c
push 0
push dword [ebp - 0x10]
push 0x1009c108
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1009dc27
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x1009dc29
xor eax, eax
leave
ret

Function at 0x1009de01
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100e03e0]
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.10071ef0
add esp, 0xc
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0x100c623c
call dword [sym.imp.ole32.dll_StringFromGUID2]
and dword [ebp - 4], 0
lea ecx, [ebp - 8]
call fcn.10012bd8
push 0x2001f
push 0x100c62e8
push SysReAllocString
lea ecx, [ebp - 8]
call fcn.10009eae
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 8]
call fcn.1000a16a
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.100305c8
movzx eax, al
test eax, eax
jne 0x1009deb4
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.10030677
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x114], 1
lea ecx, [ebp - 8]
call fcn.10009f20
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f271
leave
ret

Function at 0x1009ded8
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.100305c8
movzx eax, al
test eax, eax
jne 0x1009df10
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10030677
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.1001092f
mov ecx, dword [ebp - 4]
call fcn.10036452
leave
ret
Function at 0x1009df25
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b44f3
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100e03e0]
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 [0x100ca7f0]
mov dword [ebp - 0x30], eax
push dword [0x100ca7f0]
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.1003785e
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x100ca7f0]
je 0x1009dfd5
push dword [ebp - 0x30]
push 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001925
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.1009df25
add esp, 0x1c
push 0
lea ecx, [ebp + 8]
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1009dff7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1009e011
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 0x1009e029
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.1006f271
leave
ret
Function at 0x1009e0da
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4543
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100e03e0]
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 0x1009e10f
xor eax, eax
jmp 0x1009e265
call fcn.10020f76
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1009e129
and dword [ebp - 0x44], 0
jmp 0x1009e16f
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x1009e145
and dword [ebp - 0x48], 0
jmp 0x1009e169
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.10081160
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.10023cb2
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.1006f1d0
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.10037073
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
push eax
call fcn.100acc28
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.10010b55
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.1001092f
lea ecx, [ebp - 0x28]
call fcn.10030677
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009e1ea
lea ecx, [ebp - 0x28]
call fcn.10030677
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x24], 0
push 0x100c5e54
lea ecx, [ebp - 0x28]
call fcn.10030677
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100747a5
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x1009e253
push dword [ebp - 0x24]
push 1
push 4
lea eax, [ebp - 0x18]
push eax
call fcn.10074954
add esp, 0x10
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push 1
push dword [ebp - 0x10]
call fcn.10074954
add esp, 0x10
push dword [ebp - 0x24]
call fcn.10074a48
pop ecx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x28]
call fcn.1001092f
mov eax, dword [ebp - 0x3c]
jmp 0x1009e265
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x28]
call fcn.1001092f
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.1006f271
leave
ret