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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100ee3e0]
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 0x100a2b6d
lea eax, [ebp - 0x10]
push eax
push 0x100d9400
push 1
push 0
push 0x100d9420
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x100a2b6b
jmp 0x100a2cb1
jmp 0x100a2b74
xor eax, eax
jmp 0x100a2cf3
push dword [0x1010614c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x1c]
lea eax, [ebp - 0xc]
push eax
push 0x100d93f0
push 0x100d9410
push dword [0x1010614c]
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 0x100a2bb7
jmp 0x100a2cb1
mov ecx, dword [ebp - 0x228]
add ecx, 4
call fcn.10004d78
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 0x100a2bf8
push dword [ebp + 8]
call fcn.10071f8b
pop ecx
test eax, eax
jbe 0x100a2bf8
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.10074c40
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 0x100c48ac
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 0x100a2c7b
jmp 0x100a2cb1
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 0x100a2c97
jmp 0x100a2cb1
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 0x100a2cc2
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 8]
cmp dword [ebp - 0xc], 0
je 0x100a2cd3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [ebp - 0xc]
call dword [eax + 8]
cmp dword [ebp - 0x10], 0
je 0x100a2ce4
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.10071fa1
leave
ret 4
Function at 0x100a2fa6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x100ee3e0]
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.10074c40
add esp, 0xc
push 0x105
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x280]
call fcn.100a16b3
push 0x100d0bac
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.10074c40
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 0x100a30b6
push dword [ebp - 0x228]
lea ecx, [ebp - 0x27c]
call fcn.100349df
push eax
mov ecx, dword [ebp - 0x280]
add ecx, 0x74
call fcn.10035f12
lea ecx, [ebp - 0x27c]
call fcn.10020b94
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.10071fa1
leave
ret
Function at 0x100a32f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbc86
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x100ee3e0]
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.10003b59
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10024299
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.10074c40
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.100348a0
push eax
call fcn.10072760
pop ecx
pop ecx
test eax, eax
je 0x100a33c4
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.100106a5
mov eax, dword [ebp - 0x258]
jmp 0x100a3499
xor eax, eax
inc eax
je 0x100a347b
push 0x22c
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.10074c40
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 0x100a3409
or dword [ebp - 0x250], 0xffffffff
jmp 0x100a347b
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x254]
call fcn.10003b59
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.10024299
lea ecx, [ebp - 0x254]
call fcn.100348a0
push eax
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
call fcn.10072760
pop ecx
pop ecx
test eax, eax
je 0x100a3467
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.100106a5
jmp 0x100a347b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.100106a5
jmp 0x100a33c4
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100106a5
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.10071fa1
leave
ret 4
Function at 0x100a34b2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x1010c008
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100a3570
push 0x100d16d0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100a3570
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x1003cc84
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 8
call fcn.10071ce7
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100a351e
mov ecx, dword [ebp - 0x18]
call fcn.100374af
mov dword [ebp - 0x1c], eax
jmp 0x100a3522
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 0x1010c218
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10003bdd
push 0x1010c42c
push 0
push dword [ebp - 0x10]
push 0x100a1dd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100a3570
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x100a3572
xor eax, eax
leave
ret

Function at 0x100a35d2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100ee3e0]
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.10074c40
add esp, 0xc
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0x100d0f68
call dword [sym.imp.ole32.dll_StringFromGUID2]
and dword [ebp - 4], 0
lea ecx, [ebp - 8]
call fcn.1001dc86
push 0x2001f
push 0x100d10b8
push SysReAllocStringLen
lea ecx, [ebp - 8]
call fcn.10009c10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 8]
call fcn.10009e96
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.100301a6
movzx eax, al
test eax, eax
jne 0x100a3685
mov ecx, dword [ebp - 0x118]
add ecx, 0x84
call fcn.100348a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x114], 1
lea ecx, [ebp - 8]
call fcn.10009c82
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071fa1
leave
ret

Function at 0x100a36a9
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.100301a6
movzx eax, al
test eax, eax
jne 0x100a36e1
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.100348a0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.100106a5
mov ecx, dword [ebp - 4]
call fcn.10036114
leave
ret
Function at 0x100a36f6
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100ee3e0]
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.10001704
mov byte [ebp - 4], 1
mov eax, dword [0x100d7968]
mov dword [ebp - 0x30], eax
push dword [0x100d7968]
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.100375bd
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x100d7968]
je 0x100a37a6
push dword [ebp - 0x30]
push 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100018a7
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.10001751
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.1000173c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.10001704
call fcn.100a36f6
add esp, 0x1c
push 0
lea ecx, [ebp + 8]
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100a37c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100a37e2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1000173c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000173c
jmp 0x100a37fa
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1000173c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000173c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071fa1
leave
ret
Function at 0x100a38ab
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc238
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100ee3e0]
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 0x100a38e0
xor eax, eax
jmp 0x100a3a36
call fcn.10020788
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100a38fa
and dword [ebp - 0x44], 0
jmp 0x100a3940
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x100a3916
and dword [ebp - 0x48], 0
jmp 0x100a393a
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.10084170
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.10023881
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.10071f00
pop ecx
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.10036dd2
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
push eax
call fcn.100b4816
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.100108cb
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100106a5
lea ecx, [ebp - 0x28]
call fcn.100348a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a39bb
lea ecx, [ebp - 0x28]
call fcn.100348a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x24], 0
push 0x100d06ac
lea ecx, [ebp - 0x28]
call fcn.100348a0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100774a5
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100a3a24
push dword [ebp - 0x24]
push 1
push 4
lea eax, [ebp - 0x18]
push eax
call fcn.10077654
add esp, 0x10
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push 1
push dword [ebp - 0x10]
call fcn.10077654
add esp, 0x10
push dword [ebp - 0x24]
call fcn.10077a0d
pop ecx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x28]
call fcn.100106a5
mov eax, dword [ebp - 0x3c]
jmp 0x100a3a36
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x28]
call fcn.100106a5
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.10071fa1
leave
ret
Function at 0x100a3ce3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc2a0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100ee3e0]
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.100b4944
pop ecx
and dword [ebp - 4], 0
push 0x100d0570
lea ecx, [ebp - 0x10]
call fcn.10009fcd
lea ecx, [ebp - 0x10]
call fcn.100348a0
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.100348a0
test eax, eax
je 0x100a3dbc
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.100348a0
mov dword [ebp - 0x3c], eax
push 0
push 0x100d05a4
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.1007668a
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
lea eax, [ebp - 0x30]
push eax
push 0x100d05ac
push 0x100d05b8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x16
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.10074c40
add esp, 0xc
mov dword [ebp - 0x34], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100106a5
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.10071fa1
leave
ret
Function at 0x100a45f3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcb5f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x100ee3e0]
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.10074c40
add esp, 0xc
push 0x100d22ec
push dword [ebp + 8]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x2b8], 0x100d2450
call fcn.1005c404
movzx eax, al
test eax, eax
je 0x100a4692
lea eax, [ebp - 0x22c]
push eax
push str.CZlibHookLauncher::WriteData_path_s
push 0xd2
push 0x100d24b0
call fcn.1005c293
add esp, 0x10
and word [ebp - 0x2b4], 0
push 0x7e
push 0
lea eax, [ebp - 0x2b2]
push eax
call fcn.10074c40
add esp, 0xc
push 0xa
push 0x40
lea eax, [ebp - 0x2b4]
push eax
push 0
call fcn.10077393
pop ecx
push eax
call fcn.10077328
add esp, 0x10
lea ecx, [ebp - 0x2c0]
call fcn.10010607
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.10004d78
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.10015ed2
add esp, 0x18
lea ecx, [ebp - 0x2c0]
call fcn.100348a0
push eax
lea ecx, [ebp - 0x234]
call fcn.1002fee9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10003b2c
inc eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call fcn.10071328
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.100348a0
push eax
push dword [ebp - 0x10]
call fcn.10074cc0
add esp, 0xc
push 0x55
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.100a0e97
add esp, 0xc
push 0x100d2578
lea eax, [ebp - 0x22c]
push eax
call fcn.10077492
pop ecx
pop ecx
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x100a47c8
push dword [ebp - 0x230]
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
call fcn.10077654
add esp, 0x10
push dword [ebp - 0x230]
call fcn.10077a0d
pop ecx
mov dword [ebp - 0x2bc], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c8], eax
push dword [ebp - 0x2c8]
call fcn.10073efc
pop ecx
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.100106a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.100106a5
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.10071fa1
leave
ret 8
Function at 0x100a5399
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.100016ce
call fcn.100a36f6
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a53c9
xor eax, eax
inc eax
jmp 0x100a53cb
xor eax, eax
leave
ret

Function at 0x100a53f6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push edi
call fcn.1005c404
movzx eax, al
test eax, eax
je 0x100a5425
push section.DLLShare
push str.EntryPoint__g_szCmdline_s
push 0xd2
push 0x100d1168
call fcn.1005c293
add esp, 0x10
push section.DLLShare
call fcn.10071f8b
pop ecx
test eax, eax
jne 0x100a5459
call fcn.1005c404
movzx eax, al
test eax, eax
je 0x100a5457
push str.EntryPoint__g_szCmdline_is_empty
push 0xd2
push 0x100d1210
call fcn.1005c293
add esp, 0xc
jmp 0x100a54c8
and dword [ebp - 0x60], 0
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.10074c40
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 0x100a54c8
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 0x100a56c8
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 0x100a572c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x100a5717
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004af8
movzx eax, al
test eax, eax
jne 0x100a5717
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004d78
push eax
call fcn.100b3a2b
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.1000173c
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.1000173c
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.1000173c
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.1000173c
mov ecx, dword [ebp - 4]
call fcn.100364c8
leave
ret
Function at 0x100a5848
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.10004af8
movzx eax, al
test eax, eax
jne 0x100a589d
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100a589d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004af8
movzx eax, al
test eax, eax
jne 0x100a58c7
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.1000173c
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.1000173c
mov ecx, dword [ebp - 4]
call fcn.100362ba
leave
ret
Function at 0x100a6bd8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd38d
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100ee3e0]
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 0x100d1270
lea ecx, [ebp - 0x440]
call fcn.100016ce
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
add eax, 4
push eax
lea ecx, [ebp - 0x440]
call fcn.10001767
push 0x100d1274
lea ecx, [ebp - 0x440]
call fcn.10004cc8
push 0x100d1278
lea ecx, [ebp - 0x440]
call fcn.10004cc8
push dword [ebp + 8]
lea ecx, [ebp - 0x440]
call fcn.10004cc8
lea ecx, [ebp - 0x440]
call fcn.10004d78
push eax
push 0x208
push section.DLLShare
call fcn.10075da2
add esp, 0xc
and word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.10074c40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [0x1010a390]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x100d127c
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.10077d49
add esp, 0xc
and word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.10074c40
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.100b0eab
add esp, 0x14
mov dword [ebp - 0x444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.1000173c
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.10071fa1
leave
ret 4