joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ec7c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x1005a52b
call fcn.100422ea
mov eax, dword [ebp + 8]
push 8
pop edi
mov esi, ecx
cmp dword [eax + 0x18], edi
jb 0x1000ec9a
mov eax, dword [eax + 4]
jmp 0x1000ec9d
add eax, 4
push eax
push str.Softwareprojonepodlpicocollect_
push str._lsuploaded_ls
lea ecx, [ebp - 0x2c]
call fcn.100347ad
add esp, 0xc
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x1000ecc2
lea eax, [ebp - 0x28]
push eax
push str.IsUploaded__ls
call fcn.10037607
pop ecx
pop ecx
cmp dword [esi + 0x18], edi
jb 0x1000ecd9
mov esi, dword [esi + 4]
jmp 0x1000ecdc
add esi, 4
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x1000ece7
lea eax, [ebp - 0x28]
push 4
pop edi
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push esi
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x38], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000ed14
cmp dword [ebp - 0x30], edi
jne 0x1000ed14
mov edi, dword [ebp - 0x34]
jmp 0x1000ed16
xor edi, edi
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.10002370
cmp edi, 1
sete al
call fcn.1004236d
ret 4
Function at 0x1000f1cb
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x10078060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
cmp dword [ebp + 8], 0x1b6e4
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2d0], ebx
mov byte [ebp - 0x2c1], bl
je 0x1000f29b
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x1000f21a
mov eax, dword [edi]
jmp 0x1000f21c
mov eax, edi
push eax
mov ebx, str..dll
call fcn.10034766
test eax, eax
je 0x1000f299
cmp dword [esi + 0x18], 8
jb 0x1000f233
mov edi, dword [edi]
push 1
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp + 8]
push edi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov ecx, dword [ebp - 0x2c8]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
test ecx, ecx
je 0x1000f27f
mov edx, dword [ebp - 0x2d4]
call fcn.1000ee50
cmp dword [ebp - 0x2c8], 0
mov byte [ebp - 0x2c1], al
je 0x1000f27f
push dword [ebp - 0x2c8]
call esi
cmp dword [ebp - 0x2d0], 0
je 0x1000f33d
push dword [ebp - 0x2d0]
call esi
jmp 0x1000f33d
xor ebx, ebx
push 0x2b0
lea eax, [ebp - 0x2bc]
push ebx
push eax
mov dword [ebp - 0x2c0], ebx
call fcn.10043280
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x1000f2c1
mov esi, dword [esi + 4]
jmp 0x1000f2c4
add esi, 4
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2c0]
push eax
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0x2d8]
push eax
push 0x1006060c
push 2
mov dword [ebp - 0x2d8], ebx
call dword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
jne 0x1000f33d
mov eax, dword [ebp - 0x2d8]
lea edx, [ebp - 0x2cc]
push edx
push 1
push dword [ebp - 0x2bc]
mov dword [ebp - 0x2cc], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov ecx, dword [ebp - 0x2cc]
cmp ecx, ebx
je 0x1000f33d
mov edx, dword [ebp - 0x2d4]
call fcn.1000ee50
push dword [ebp - 0x2cc]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x2c1]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10040b84
leave
ret 8
Function at 0x100151c5
Capabilities:
Delete file

Disassembly:
push 0x48
mov eax, 0x1005a25f
call fcn.100422ea
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 0x100152da
xor edi, edi
cmp eax, edi
je 0x100152da
cmp ecx, edi
je 0x100152da
call fcn.10022b29
test eax, eax
je 0x100152da
push esi
call fcn.1002258a
push dword [ebp - 0x30]
mov ebx, eax
call fcn.1002258a
push 1
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], eax
call fcn.10022de2
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 0x10
jb 0x10015234
mov eax, dword [eax + 4]
jmp 0x10015237
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.1003480b
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.10002274
push ebx
call fcn.10021cc9
push dword [ebp - 0x30]
call fcn.10021cc9
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x38], edi
jae 0x1001527d
lea esi, [ebp - 0x28]
mov eax, dword [0x10083f3c]
cmp eax, edi
jne 0x100152a0
push str.E2FE52CB
call fcn.10021c70
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10083f3c], eax
cmp eax, edi
je 0x100152c6
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x34]
push esi
call eax
cmp eax, edi
je 0x100152c6
cmp dword [ebp - 0x38], 0xc8
jne 0x100152c6
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002274
mov al, 1
jmp 0x100152dc
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002274
xor al, al
call fcn.1004236d
ret
Function at 0x1001678a
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x10057727
call fcn.100422b4
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.10041127
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x100167d4
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x100167c0
mov dword [esi + 0x10], edi
jmp 0x100167d6
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x100167cc
push esi
jmp 0x100167cd
push edi
call dword [eax]
mov dword [esi + 0x10], eax
jmp 0x100167d6
xor esi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push esi
push 0x10016836
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 0x10016808
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 0x10016830
call fcn.10042359
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10078060]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 4], 0
push ebx
je 0x10017046
xor al, al
jmp 0x100170f7
mov ecx, dword [0x10082ae0]
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.10032583
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10017085
mov byte [esi + 6], 1
lea eax, [esi + 0xc]
push eax
call fcn.1001042f
lea eax, [ebp - 0x234]
push eax
mov ecx, str.Softwareprojonepodlp_software_
mov edx, reloc.WS2_32.dll_bind
call fcn.1000e4a2
cmp dword [eax + 0x1c], 0
pop ecx
sete al
mov byte [esi + 5], al
lea eax, [ebp - 0x234]
push eax
call fcn.1000f82f
push 0
push 0
sub esp, 0x18
mov ecx, 0x10017eaa
mov dword [ebp - 0x214], esp
mov eax, esp
je 0x100170e3
mov dword [eax], vtable.std::tr1::_Impl_base0_unsigned_long_int_.0
mov dword [eax], 0x10067284
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x10], eax
call fcn.1001678a
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.10040b84
leave
ret
Function at 0x100174c4
Capabilities:
Create thread

Disassembly:
push 0x94
mov eax, 0x1005db28
call fcn.100422ea
mov ebx, ecx
push ebx
lea ecx, [ebp - 0x80]
call fcn.100011df
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 8
jb 0x100174ef
mov eax, dword [eax + 4]
jmp 0x100174f2
add eax, 4
push eax
push str.software_uninstall_task:_ls
call fcn.10021f6a
pop ecx
pop ecx
push edi
push 1
lea esi, [ebp - 0x80]
call fcn.10002370
push edi
push edi
lea eax, [ebp - 0x60]
call fcn.10029f1e
push 0xf
pop esi
mov dword [ebp - 4], 3
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], esi
call fcn.100025a6
push edi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], esi
call fcn.100025a6
mov byte [ebp - 4], 5
cmp dword [ebx + 0x18], 0x10
jb 0x10017545
mov ebx, dword [ebx + 4]
jmp 0x10017548
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.10016d84
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.10002274
cmp dword [ebp - 0x18], edi
je 0x1001765d
lea eax, [ebp - 0x60]
mov ebx, str.unique
push eax
mov edx, ebx
call fcn.1002a1bc
cmp byte [eax + 8], 4
jne 0x1001765d
push 0x50
call fcn.10041127
pop ecx
mov esi, eax
cmp esi, edi
je 0x100175bc
mov ecx, esi
call fcn.10001f92
lea ecx, [esi + 0x1c]
call fcn.10001f92
push edi
lea eax, [esi + 0x38]
push edi
call fcn.10029f1e
jmp 0x100175be
xor esi, esi
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.10002174
lea eax, [ebp - 0x60]
push eax
mov edx, ebx
call fcn.1002a1bc
push eax
lea ecx, [ebp - 0x9c]
call fcn.100293ef
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0xd
call fcn.10002174
sub esp, 0x18
lea eax, [ebp - 0x60]
mov ebx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.1002906d
lea edi, [esi + 0x38]
call fcn.10029284
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x9c]
call fcn.10002274
push edi
push edi
push esi
push 0x10017692
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.10002274
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.10002274
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x60]
call fcn.10029201
mov al, 1
jmp 0x1001768c
push str.invalid_uninstall_task
call fcn.10022364
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002274
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.10002274
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x60]
call fcn.10029201
xor al, al
call fcn.1004236d
ret
Function at 0x10019a03
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push 0x23c
mov eax, 0x1005ed29
call fcn.100422ea
lea eax, [ebp - 0x22c]
push eax
call fcn.10019f4d
and dword [ebp - 4], 0
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x10019a37
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10019b46
xor eax, eax
cmp dword [ebp - 0x214], 8
mov word [ebp - 0x210], ax
mov eax, dword [ebp - 0x228]
jae 0x10019a64
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 0x10019aa8
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.10022dc0
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x214], 8
mov ecx, dword [ebp - 0x228]
jae 0x10019ade
lea ecx, [ebp - 0x228]
cmp dword [eax + 0x18], 0x10
jb 0x10019ae9
mov eax, dword [eax + 4]
jmp 0x10019aec
add eax, 4
push 1
push ecx
mov edx, eax
mov ecx, str.softwareinfo
call fcn.1000a6db
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x248]
mov bl, al
mov byte [ebp - 4], 0
call fcn.10002274
test bl, bl
je 0x10019b3a
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x10019b2b
lea eax, [ebp - 0x228]
push eax
call esi
push str.GSFT_SOFTWAREINFO_uploaded
call fcn.10021f6a
jmp 0x10019b50
push str.GSFT_SOFTWAREINFO_upload_failed
call fcn.10022364
jmp 0x10019b50
push str.UploadSoftwareFile_failed:_file_not_exists
call fcn.100220d3
pop ecx
push 0
push 1
lea esi, [ebp - 0x22c]
call fcn.10002370
call fcn.1004236d
ret
Function at 0x1001a720
Capabilities:
Terminate process

Disassembly:
push 0x4c
mov eax, 0x1005a1f7
call fcn.100422ea
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.10041127
pop ecx
cmp eax, ebx
je 0x1001a75c
lea ecx, [ebp - 0x30]
mov dword [eax], ecx
jmp 0x1001a75e
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
call fcn.1001bf17
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.100022bf
lea eax, [ebp - 0x4c]
push eax
mov edi, 0x1001a869
call fcn.10033629
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 0x1001a7ac
cmp edi, dword [ebp - 0x30]
je 0x1001a7b1
call fcn.10040ff9
cmp dword [ebp - 0x50], esi
je 0x1001a84e
lea esi, [ebp - 0x54]
call fcn.1001be63
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 0x1001a81f
cmp eax, 0xffffffff
je 0x1001a81f
call fcn.1001be63
add eax, 4
cmp dword [eax + 0x18], 8
jb 0x1001a7f0
mov edi, dword [eax + 4]
jmp 0x1001a7f3
lea edi, [eax + 4]
lea esi, [ebp - 0x54]
call fcn.1001be63
push dword [eax]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str.kill_proc:_ls__pid:_d
call fcn.10037607
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.100031f2
cmp edi, ebx
jne 0x1001a84a
call fcn.10040ff9
xor eax, eax
mov esi, dword [ebp - 0x50]
cmp esi, dword [eax + 0x14]
jne 0x1001a843
call fcn.10040ff9
mov eax, dword [esi]
jmp 0x1001a79d
mov eax, dword [edi]
jmp 0x1001a836
lea edi, [ebp - 0x30]
call fcn.1001bbf9
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.10002370
mov al, 1
call fcn.1004236d
ret
Function at 0x1001ad15
Capabilities:
Delete registry value

Disassembly:
push 0x58
mov eax, 0x1005a177
call fcn.100422ea
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.1001a6b9
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.1002c705
test al, al
jne 0x1001adf3
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x1001ad77
mov eax, dword [eax + 4]
jmp 0x1001ad7a
add eax, 4
push eax
push dword [ebp - 0x38]
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.10034914
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1001ad9a
lea eax, [ebp - 0x28]
push dword [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1001add6
push ebx
push str.delete_proc_reg:_ls
call fcn.10037607
pop ecx
pop ecx
lea esi, [ebp - 0x34]
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x1001adc8
mov eax, dword [eax + 4]
jmp 0x1001adcb
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.10002370
lea esi, [ebp - 0x34]
call fcn.1000d749
jmp 0x1001ad48
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x64]
push eax
call fcn.1000f82f
xor eax, eax
inc eax
call fcn.1004236d
ret 4
Function at 0x1001ae0b
Capabilities:
Persist via run registry key

Disassembly:
push 0x8c
mov eax, 0x1005ae88
call fcn.100422ea
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x34], esi
cmp esi, ebx
je 0x1001af78
cmp word [esi], bx
je 0x1001af78
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 0x1001af5a
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, 0x10062dd0
mov edx, edi
mov dword [ebp - 4], ebx
call fcn.1000e4a2
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.1002c705
test al, al
jne 0x1001af3a
call fcn.10011a28
cmp dword [eax + 0x18], 8
jb 0x1001aed3
mov eax, dword [eax + 4]
jmp 0x1001aed6
add eax, 4
mov ecx, dword [ebp - 0x30]
push dword [ebp + ecx - 0x58]
lea ecx, [ebp - 0x98]
push eax
push 0x10065bc4
call fcn.100347ad
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.100022bf
push ebx
push 1
lea esi, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.10002370
cmp dword [ebp - 0x14], 8
mov ebx, dword [ebp - 0x28]
jae 0x1001af1e
lea ebx, [ebp - 0x28]
push dword [ebp - 0x34]
mov edx, reloc.WS2_32.dll_closesocket
call fcn.1001ad15
lea esi, [ebp - 0x3c]
call fcn.1000d749
xor ebx, ebx
jmp 0x1001aea8
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], bl
call fcn.1000f82f
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.10002370
mov esi, dword [ebp - 0x34]
jmp 0x1001af65
mov ebx, dword [eax + 4]
push esi
call fcn.1001ad15
xor ebx, ebx
add dword [ebp - 0x30], 8
cmp dword [ebp - 0x30], 0x18
jb 0x1001ae5c
xor eax, eax
inc eax
jmp 0x1001af7a
xor eax, eax
call fcn.1004236d
ret
Function at 0x1001b180
Capabilities:
Create thread
Delete file

Disassembly:
push 0x54
mov eax, 0x1005ae50
call fcn.10042281
mov edi, ecx
xor esi, esi
cmp edi, esi
je 0x1001b273
cmp word [edi], si
je 0x1001b273
lea eax, [ebp - 0x60]
push eax
call fcn.1000fd6a
push esi
push esi
lea eax, [ebp - 0x60]
push eax
push 0x1001b2e5
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.1001af80
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.1000cd18
test al, al
je 0x1001b251
call fcn.1001be63
cmp dword [eax + 0x18], 8
jb 0x1001b21a
mov eax, dword [eax + 4]
jmp 0x1001b21d
add eax, 4
push eax
push str.delete_shortcut_file:_ls
call fcn.10037607
pop ecx
pop ecx
lea esi, [ebp - 0x1c]
call fcn.1001be63
cmp dword [eax + 0x18], 8
jb 0x1001b23d
mov eax, dword [eax + 4]
jmp 0x1001b240
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0x1c]
call fcn.1001c17b
jmp 0x1001b1ef
lea eax, [ebp - 0x40]
call fcn.1001bbda
lea eax, [ebp - 0x14]
call fcn.100031f2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x60]
push eax
call fcn.1000f82f
xor eax, eax
inc eax
jmp 0x1001b275
xor eax, eax
call fcn.10042359
ret

Function at 0x1001b27b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10078060]
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.10043280
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.10002030
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10040b84
leave
ret
Function at 0x1001cca4
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 0x1001cccc
push 0x10062dd0
call fcn.10002030
jmp 0x1001cce6
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.1001d666
pop ecx
mov eax, esi
pop esi
leave
ret

Function at 0x1001d070
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
inc esi
push str.StartSystemLockLog
mov dword [0x10082b28], esi
call fcn.100220d3
xor eax, eax
pop ecx
cmp dword [0x10082b2c], eax
jne 0x1001d0ac
push eax
push eax
push eax
push 0x1001cfa1
push eax
push eax
mov dword [0x10082b2c], 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 0x1001db16
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005e8d2
mov eax, dword fs:[0]
push eax
sub esp, 0x500
mov eax, dword [0x10078060]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
push esi
push edi
mov eax, dword [0x10078060]
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 0x1001dcc2
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x14], ebx
jbe 0x1001dcb3
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.10043280
add esp, 0xc
push 0x478
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.10043280
mov eax, dword [0x100836dc]
add esp, 0xc
mov dword [esp + 0x24], ebx
mov esi, dword [esi]
cmp eax, ebx
jne 0x1001dc19
mov eax, dword [0x100836d8]
cmp eax, ebx
jne 0x1001dc04
push str.winsta.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x100836d8], eax
cmp eax, ebx
je 0x1001dc2e
push str.WinStationQueryInformationW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100836dc], eax
cmp eax, ebx
je 0x1001dc2e
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.1001d5f4
pop ecx
pop ecx
mov dword [esp + 0x518], ebx
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x1001dc8a
cmp word [ecx], bx
je 0x1001dc80
mov eax, dword [esp + 0xac]
or eax, dword [esp + 0xb0]
je 0x1001dc80
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x1001dc75
lea eax, [esp + 0x2c]
push eax
call fcn.1001d7cc
pop ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x1001dc8a
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
or dword [esp + 0x518], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x30]
call fcn.10002370
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add edi, 0xc
cmp eax, dword [esp + 0x14]
jb 0x1001db8b
cmp dword [esp + 0x10], ebx
je 0x1001dcc2
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.10040b84
mov esp, ebp
pop ebp
ret

Function at 0x100224cd
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 0x10022506
push dword [ebp + 0x10]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.10021f6a
add esp, 0xc
mov eax, edi
pop edi
leave
ret 0xc