joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010245
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x58
mov eax, 0x1004dc82
call fcn.100374f1
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov edi, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
call fcn.10001ea6
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x14]
xor esi, esi
inc esi
mov dword [ebp - 0x18], esi
cmp eax, 8
jne 0x1001029f
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ebx
mov eax, edi
call fcn.10002131
push 6
push dword [ebp - 0x10]
call fcn.100116a1
push 4
push dword [ebp - 0x10]
call fcn.100116a1
jmp 0x1001037b
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x18], 8
jb 0x100102af
add edi, 4
mov eax, dword [edi]
jmp 0x100102b4
add edi, 4
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001037b
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 8
jb 0x100102cf
mov edi, dword [edi]
push ebx
push ebx
push 3
push ebx
push 3
push closesocket
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
cmp eax, 0xffffffff
je 0x10010373
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x10010373
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
xor eax, eax
mov word [ebp - 0x30], ax
lea edi, [ebp - 0x2e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x30]
push eax
push str._04d__02d__02d
lea ecx, [ebp - 0x64]
call fcn.1002d119
add esp, 0x10
push 0xffffffffffffffff
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.10002131
push ebx
push esi
lea esi, [ebp - 0x64]
call fcn.100021e2
lea eax, [ebp - 0x14]
call fcn.10002ee5
mov eax, dword [ebp - 0x10]
call fcn.100375c9
ret 4
Function at 0x10011d19
Capabilities:
Delete file

Disassembly:
push 0x48
mov eax, 0x1004eec8
call fcn.1003755a
mov eax, dword [ebp + 8]
xor edx, edx
mov esi, str.appstore
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp edx, esi
je 0x10011e2e
xor edi, edi
cmp eax, edi
je 0x10011e2e
cmp ecx, edi
je 0x10011e2e
call fcn.1001b28f
test eax, eax
je 0x10011e2e
push esi
call fcn.1001adbf
push dword [ebp - 0x30]
mov ebx, eax
call fcn.1001adbf
push 1
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], eax
call fcn.1001c063
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 0x10
jb 0x10011d88
mov eax, dword [eax + 4]
jmp 0x10011d8b
add eax, 4
push dword [ebp - 0x30]
lea esi, [ebp - 0x2c]
push ebx
push 0x32e3
push eax
push str.https:___s:_d_globalSmallFile__s__s
call fcn.1002d177
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.100020e6
push ebx
call fcn.1001a557
push dword [ebp - 0x30]
call fcn.1001a557
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x38], edi
jae 0x10011dd1
lea esi, [ebp - 0x28]
mov eax, dword [0x1006cef8]
cmp eax, edi
jne 0x10011df4
push str.E2FE52CB
call fcn.1001a4fe
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006cef8], eax
cmp eax, edi
je 0x10011e1a
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x34]
push esi
call eax
cmp eax, edi
je 0x10011e1a
cmp dword [ebp - 0x38], 0xc8
jne 0x10011e1a
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100020e6
mov al, 1
jmp 0x10011e30
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100020e6
xor al, al
call fcn.100375dd
ret
Function at 0x10012e83
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1004c9da
call fcn.10037524
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.1003648c
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x10012ecd
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x10012eb9
mov dword [esi + 0x10], edi
jmp 0x10012ecf
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x10012ec5
push esi
jmp 0x10012ec6
push edi
call dword [eax]
mov dword [esi + 0x10], eax
jmp 0x10012ecf
xor esi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push esi
push 0x10012f2f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x18]
mov esi, eax
cmp ecx, edi
je 0x10012f01
mov eax, dword [ecx]
lea edx, [ebp + 8]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call dword [eax + 0xc]
mov eax, esi
jmp 0x10012f29
call fcn.100375c9
ret

Function at 0x1001371e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10068060]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 4], 0
push ebx
je 0x1001373f
xor al, al
jmp 0x100137f0
mov ecx, dword [0x1006bde0]
xor eax, eax
mov word [ebp - 0x210], ax
push 0x104
lea eax, [ebp - 0x210]
push eax
mov ebx, str.cacheico
mov byte [esi + 4], 1
call fcn.1002b130
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1001377e
mov byte [esi + 6], 1
lea eax, [esi + 0xc]
push eax
call fcn.1000dd17
lea eax, [ebp - 0x234]
push eax
mov ecx, str.Softwareprojonepodlp_software_
mov edx, reloc.WS2_32.dll_bind
call fcn.1000bca9
cmp dword [eax + 0x1c], 0
pop ecx
sete al
mov byte [esi + 5], al
lea eax, [ebp - 0x234]
push eax
call fcn.1000d036
push 0
push 0
sub esp, 0x18
mov ecx, 0x10014659
mov dword [ebp - 0x214], esp
mov eax, esp
je 0x100137dc
mov dword [eax], vtable.std::tr1::_Impl_base0_unsigned_long_int_.0
mov dword [eax], 0x1005986c
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x10], eax
call fcn.10012e83
add esp, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10035ee9
leave
ret
Function at 0x10013bbd
Capabilities:
Create thread

Disassembly:
push 0x94
mov eax, 0x10051916
call fcn.1003755a
mov ebx, ecx
push ebx
lea ecx, [ebp - 0x80]
call fcn.1000120a
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 8
jb 0x10013be8
mov eax, dword [eax + 4]
jmp 0x10013beb
add eax, 4
push eax
push str.software_uninstall_task:_ls
call fcn.1001a7c7
pop ecx
pop ecx
push edi
push 1
lea esi, [ebp - 0x80]
call fcn.100021e2
push edi
push edi
lea eax, [ebp - 0x60]
call fcn.10022903
push 0xf
pop esi
mov dword [ebp - 4], 3
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], esi
call fcn.1000244b
push edi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], esi
call fcn.1000244b
mov byte [ebp - 4], 5
cmp dword [ebx + 0x18], 0x10
jb 0x10013c3e
mov ebx, dword [ebx + 4]
jmp 0x10013c41
add ebx, 4
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.1001347d
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.100020e6
cmp dword [ebp - 0x18], edi
je 0x10013d59
lea eax, [ebp - 0x60]
push eax
mov edx, str.unique
call fcn.10022c38
cmp byte [eax + 8], 4
jne 0x10013d59
push 0x50
call fcn.1003648c
pop ecx
mov ebx, eax
cmp ebx, edi
je 0x10013cb5
mov esi, ebx
call fcn.10001e13
lea esi, [ebx + 0x1c]
call fcn.10001e13
push edi
lea eax, [ebx + 0x38]
push edi
call fcn.10022903
mov esi, ebx
jmp 0x10013cb7
xor esi, esi
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.10001fe6
lea eax, [ebp - 0x60]
push eax
mov edx, str.unique
call fcn.10022c38
push eax
lea ecx, [ebp - 0x9c]
call fcn.10021d3f
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0xd
call fcn.10001fe6
sub esp, 0x18
lea eax, [ebp - 0x60]
mov ebx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.100219bd
lea edi, [esi + 0x38]
call fcn.10021bd4
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x9c]
call fcn.100020e6
push edi
push edi
push esi
push 0x10013d91
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100020e6
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.100020e6
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x60]
call fcn.10021b51
mov al, 1
jmp 0x10013d88
push str.invalid_uninstall_task
call fcn.1001abc1
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100020e6
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.100020e6
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x60]
call fcn.10021b51
xor al, al
call fcn.100375dd
ret
Function at 0x100161dd
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes

Disassembly:
push 0x23c
mov eax, 0x10052938
call fcn.1003755a
lea eax, [ebp - 0x22c]
push eax
call fcn.10016700
and dword [ebp - 4], 0
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x10016211
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10016305
xor eax, eax
cmp dword [ebp - 0x214], 8
mov word [ebp - 0x210], ax
mov eax, dword [ebp - 0x228]
jae 0x1001623f
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..._software.bk.json
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x210]
push eax
call esi
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x10016283
lea eax, [ebp - 0x228]
push 0
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x248]
push eax
call fcn.1001c041
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x214], 8
mov ecx, dword [ebp - 0x228]
jae 0x100162b9
lea ecx, [ebp - 0x228]
cmp dword [eax + 0x18], 0x10
jb 0x100162c4
mov eax, dword [eax + 4]
jmp 0x100162c7
add eax, 4
push 1
push ecx
mov edx, eax
mov ecx, str.softwareinfo
call fcn.10007bb1
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x248]
mov bl, al
call fcn.100020e6
test bl, bl
je 0x10016305
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x10016302
lea eax, [ebp - 0x228]
push eax
call esi
push 0
push 1
lea esi, [ebp - 0x22c]
call fcn.100021e2
call fcn.100375dd
ret
Function at 0x10016ea7
Capabilities:
Terminate process

Disassembly:
push 0x4c
mov eax, 0x1004ee60
call fcn.1003755a
xor ebx, ebx
xor eax, eax
mov esi, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push 4
mov dword [ebp - 0x58], eax
call fcn.1003648c
pop ecx
cmp eax, ebx
je 0x10016ee3
lea ecx, [ebp - 0x30]
mov dword [eax], ecx
jmp 0x10016ee5
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
call fcn.10018680
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 2
call fcn.10002131
lea eax, [ebp - 0x4c]
push eax
mov edi, 0x10016ff0
call fcn.1002c034
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x54], edi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
cmp edi, ebx
je 0x10016f33
cmp edi, dword [ebp - 0x30]
je 0x10016f38
call fcn.1003635e
cmp dword [ebp - 0x50], esi
je 0x10016fd5
lea esi, [ebp - 0x54]
call fcn.10018655
push dword [eax]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x10016fa6
cmp eax, 0xffffffff
je 0x10016fa6
call fcn.10018655
add eax, 4
cmp dword [eax + 0x18], 8
jb 0x10016f77
mov edi, dword [eax + 4]
jmp 0x10016f7a
lea edi, [eax + 4]
lea esi, [ebp - 0x54]
call fcn.10018655
push dword [eax]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str.kill_proc:_ls__pid:_d
call fcn.1002fd9f
add esp, 0xc
push ebx
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.10002ee5
cmp edi, ebx
jne 0x10016fd1
call fcn.1003635e
xor eax, eax
mov esi, dword [ebp - 0x50]
cmp esi, dword [eax + 0x14]
jne 0x10016fca
call fcn.1003635e
mov eax, dword [esi]
jmp 0x10016f24
mov eax, dword [edi]
jmp 0x10016fbd
lea edi, [ebp - 0x30]
call fcn.10018362
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.100021e2
mov al, 1
call fcn.100375dd
ret
Function at 0x1001749c
Capabilities:
Delete registry value

Disassembly:
push 0x58
mov eax, 0x1004ede0
call fcn.1003755a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x64]
push eax
mov ecx, ebx
mov dword [ebp - 0x38], edx
call fcn.10016e40
pop ecx
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
lea edi, [ebp - 0x44]
lea esi, [ebp - 0x34]
mov dword [ebp - 0x44], eax
call fcn.1000af45
test al, al
jne 0x1001757a
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x100174fe
mov eax, dword [eax + 4]
jmp 0x10017501
add eax, 4
push eax
push dword [ebp - 0x38]
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.1002d280
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10017521
lea eax, [ebp - 0x28]
push dword [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001755d
push ebx
push str.delete_proc_reg:_ls
call fcn.1002fd9f
pop ecx
pop ecx
lea esi, [ebp - 0x34]
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x1001754f
mov eax, dword [eax + 4]
jmp 0x10017552
add eax, 4
push eax
push ebx
push dword [ebp - 0x38]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.100021e2
lea esi, [ebp - 0x34]
call fcn.1000d09b
jmp 0x100174cf
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x64]
push eax
call fcn.1000d036
xor eax, eax
inc eax
call fcn.100375dd
ret 4
Function at 0x10017592
Capabilities:
Persist via run registry key

Disassembly:
push 0x8c
mov eax, 0x1004fa8f
call fcn.1003755a
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x34], esi
cmp esi, ebx
je 0x100176ff
cmp word [esi], bx
je 0x100176ff
mov eax, reloc.WS2_32.dll_bind
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionRun
mov dword [ebp - 0x4c], reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x48], str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x30]
lea eax, [ebp + eax - 0x5c]
mov edx, dword [eax]
mov edi, reloc.WS2_32.dll_closesocket
cmp edx, edi
jne 0x100176e1
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x10055d50
mov edx, edi
mov dword [ebp - 4], ebx
call fcn.1000bca9
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
lea edi, [ebp - 0x44]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x44], eax
call fcn.1000af45
test al, al
jne 0x100176c1
call fcn.1001dcad
cmp dword [eax + 0x18], 8
jb 0x1001765a
mov eax, dword [eax + 4]
jmp 0x1001765d
add eax, 4
mov ecx, dword [ebp - 0x30]
push dword [ebp + ecx - 0x58]
lea ecx, [ebp - 0x98]
push eax
push 0x10058584
call fcn.1002d119
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10002131
push ebx
push 1
lea esi, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.100021e2
cmp dword [ebp - 0x14], 8
mov ebx, dword [ebp - 0x28]
jae 0x100176a5
lea ebx, [ebp - 0x28]
push dword [ebp - 0x34]
mov edx, reloc.WS2_32.dll_closesocket
call fcn.1001749c
lea esi, [ebp - 0x3c]
call fcn.1000d09b
xor ebx, ebx
jmp 0x1001762f
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], bl
call fcn.1000d036
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.100021e2
mov esi, dword [ebp - 0x34]
jmp 0x100176ec
mov ebx, dword [eax + 4]
push esi
call fcn.1001749c
xor ebx, ebx
add dword [ebp - 0x30], 8
cmp dword [ebp - 0x30], 0x18
jb 0x100175e3
xor eax, eax
inc eax
jmp 0x10017701
xor eax, eax
call fcn.100375dd
ret
Function at 0x10017907
Capabilities:
Create thread
Delete file

Disassembly:
push 0x54
mov eax, 0x1004fa57
call fcn.100374f1
mov edi, ecx
xor esi, esi
cmp edi, esi
je 0x100179fa
cmp word [edi], si
je 0x100179fa
lea eax, [ebp - 0x60]
push eax
call fcn.1000d607
push esi
push esi
lea eax, [ebp - 0x60]
push eax
push 0x10017a6c
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 0x60]
mov ecx, edi
lea ebx, [ebp - 0x40]
call fcn.10017707
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
call fcn.1000b769
test al, al
je 0x100179d8
call fcn.10018655
cmp dword [eax + 0x18], 8
jb 0x100179a1
mov eax, dword [eax + 4]
jmp 0x100179a4
add eax, 4
push eax
push str.delete_shortcut_file:_ls
call fcn.1002fd9f
pop ecx
pop ecx
lea esi, [ebp - 0x1c]
call fcn.10018655
cmp dword [eax + 0x18], 8
jb 0x100179c4
mov eax, dword [eax + 4]
jmp 0x100179c7
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0x1c]
call fcn.100188e4
jmp 0x10017976
lea eax, [ebp - 0x40]
call fcn.10018343
lea eax, [ebp - 0x14]
call fcn.10002ee5
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x60]
push eax
call fcn.1000d036
xor eax, eax
inc eax
jmp 0x100179fc
xor eax, eax
call fcn.100375c9
ret

Function at 0x10017a02
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10068060]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x408], 0
push esi
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
mov esi, ecx
call fcn.100384f0
add esp, 0xc
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x404]
push eax
call fcn.10001eb9
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10035ee9
leave
ret
Function at 0x1001940d
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push 0
push str.Shell_TrayWnd
mov esi, eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x10019435
push 0x10055d50
call fcn.10001eb9
jmp 0x1001944f
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
mov ecx, esi
call fcn.10019dce
pop ecx
mov eax, esi
pop esi
leave
ret

Function at 0x100197d8
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
inc esi
push str.StartSystemLockLog
mov dword [0x1006be18], esi
call fcn.1001a930
xor eax, eax
pop ecx
cmp dword [0x1006be1c], eax
jne 0x10019814
push eax
push eax
push eax
push 0x10019709
push eax
push eax
mov dword [0x1006be1c], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
ret
Function at 0x1001a27e
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005249d
mov eax, dword fs:[0]
push eax
sub esp, 0x500
mov eax, dword [0x10068060]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
push esi
push edi
mov eax, dword [0x10068060]
xor eax, esp
push eax
lea eax, [esp + 0x510]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push 1
push ebx
push ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x1001a42a
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x14], ebx
jbe 0x1001a41b
xor edi, edi
mov eax, dword [esp + 0x10]
lea esi, [edi + eax]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 5
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push dword [esi]
push ebx
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
push 0x47
lea eax, [esp + 0x49]
push ebx
push eax
mov byte [esp + 0x50], bl
call fcn.100384f0
add esp, 0xc
push 0x478
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.100384f0
mov eax, dword [0x1006c69c]
add esp, 0xc
mov dword [esp + 0x24], ebx
mov esi, dword [esi]
cmp eax, ebx
jne 0x1001a381
mov eax, dword [0x1006c698]
cmp eax, ebx
jne 0x1001a36c
push str.winsta.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1006c698], eax
cmp eax, ebx
je 0x1001a396
push str.WinStationQueryInformationW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006c69c], eax
cmp eax, ebx
je 0x1001a396
lea ecx, [esp + 0x24]
push ecx
push 0x4c0
lea ecx, [esp + 0x4c]
push ecx
push 8
push esi
push ebx
call eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10019d5c
pop ecx
pop ecx
mov dword [esp + 0x518], ebx
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x1001a3f2
cmp word [ecx], bx
je 0x1001a3e8
mov eax, dword [esp + 0xac]
or eax, dword [esp + 0xb0]
je 0x1001a3e8
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x1001a3dd
lea eax, [esp + 0x2c]
push eax
call fcn.10019f34
pop ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x1001a3f2
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
or dword [esp + 0x518], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x30]
call fcn.100021e2
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add edi, 0xc
cmp eax, dword [esp + 0x14]
jb 0x1001a2f3
cmp dword [esp + 0x10], ebx
je 0x1001a42a
push dword [esp + 0x10]
call sub.WTSAPI32.dll_WTSFreeMemory
xor eax, eax
inc eax
mov ecx, dword [esp + 0x510]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.10035ee9
mov esp, ebp
pop ebp
ret

Function at 0x1001ad2a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x1001ad63
push dword [ebp + 0x10]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.1001a7c7
add esp, 0xc
mov eax, edi
pop edi
leave
ret 0xc