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

Disassembly:
push 0x30
mov eax, 0x1004fb08
call fcn.10037d5a
mov eax, dword [ebp + 8]
push 8
pop edi
mov esi, ecx
cmp dword [eax + 0x18], edi
jb 0x1000c789
mov eax, dword [eax + 4]
jmp 0x1000c78c
add eax, 4
push eax
push str.Softwareprojonepodlpicocollect_
push str._lsuploaded_ls
lea ecx, [ebp - 0x2c]
call fcn.1002d7c0
add esp, 0xc
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x1000c7b1
lea eax, [ebp - 0x28]
push eax
push str.IsUploaded__ls
call fcn.1003048c
pop ecx
pop ecx
cmp dword [esi + 0x18], edi
jb 0x1000c7c8
mov esi, dword [esi + 4]
jmp 0x1000c7cb
add esi, 4
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x1000c7d6
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 0x1000c803
cmp dword [ebp - 0x30], edi
jne 0x1000c803
mov edi, dword [ebp - 0x34]
jmp 0x1000c805
xor edi, edi
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.100021ef
cmp edi, 1
sete al
call fcn.10037ddd
ret 4
Function at 0x1000ccba
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x10069060]
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 0x1000cd8a
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x1000cd09
mov eax, dword [edi]
jmp 0x1000cd0b
mov eax, edi
push eax
mov ebx, str..dll
call fcn.1002d779
test eax, eax
je 0x1000cd88
cmp dword [esi + 0x18], 8
jb 0x1000cd22
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 0x1000cd6e
mov edx, dword [ebp - 0x2d4]
call fcn.1000c93f
cmp dword [ebp - 0x2c8], 0
mov byte [ebp - 0x2c1], al
je 0x1000cd6e
push dword [ebp - 0x2c8]
call esi
cmp dword [ebp - 0x2d0], 0
je 0x1000ce2c
push dword [ebp - 0x2d0]
call esi
jmp 0x1000ce2c
xor ebx, ebx
push 0x2b0
lea eax, [ebp - 0x2bc]
push ebx
push eax
mov dword [ebp - 0x2c0], ebx
call fcn.10038cf0
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x1000cdb0
mov esi, dword [esi + 4]
jmp 0x1000cdb3
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 0x100545ac
push 2
mov dword [ebp - 0x2d8], ebx
call dword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
jne 0x1000ce2c
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 0x1000ce2c
mov edx, dword [ebp - 0x2d4]
call fcn.1000c93f
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.100366e3
leave
ret 8
Function at 0x1001040c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x58
mov eax, 0x1004e4c2
call fcn.10037cf1
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.10001eb4
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x14]
xor esi, esi
inc esi
mov dword [ebp - 0x18], esi
cmp eax, 8
jne 0x10010466
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ebx
mov eax, edi
call fcn.1000213e
push 6
push dword [ebp - 0x10]
call fcn.10011868
push 4
push dword [ebp - 0x10]
call fcn.10011868
jmp 0x10010542
mov edi, dword [ebp - 0x14]
cmp dword [edi + 0x18], 8
jb 0x10010476
add edi, 4
mov eax, dword [edi]
jmp 0x1001047b
add edi, 4
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10010542
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 8
jb 0x10010496
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 0x1001053a
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 0x1001053a
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.1002d7c0
add esp, 0x10
push 0xffffffffffffffff
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.1000213e
push ebx
push esi
lea esi, [ebp - 0x64]
call fcn.100021ef
lea eax, [ebp - 0x14]
call fcn.10002f50
mov eax, dword [ebp - 0x10]
call fcn.10037dc9
ret 4
Function at 0x10011ee0
Capabilities:
Delete file

Disassembly:
push 0x48
mov eax, 0x1004f7a0
call fcn.10037d5a
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 0x10011ff5
xor edi, edi
cmp eax, edi
je 0x10011ff5
cmp ecx, edi
je 0x10011ff5
call fcn.1001b85d
test eax, eax
je 0x10011ff5
push esi
call fcn.1001b38d
push dword [ebp - 0x30]
mov ebx, eax
call fcn.1001b38d
push 1
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], eax
call fcn.1001c67c
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 0x10
jb 0x10011f4f
mov eax, dword [eax + 4]
jmp 0x10011f52
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.1002d81e
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.100020f3
push ebx
call fcn.1001aaf4
push dword [ebp - 0x30]
call fcn.1001aaf4
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x38], edi
jae 0x10011f98
lea esi, [ebp - 0x28]
mov eax, dword [0x1006e018]
cmp eax, edi
jne 0x10011fbb
push str.E2FE52CB
call fcn.1001aa9b
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006e018], eax
cmp eax, edi
je 0x10011fe1
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp - 0x34]
push esi
call eax
cmp eax, edi
je 0x10011fe1
cmp dword [ebp - 0x38], 0xc8
jne 0x10011fe1
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100020f3
mov al, 1
jmp 0x10011ff7
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100020f3
xor al, al
call fcn.10037ddd
ret
Function at 0x100134a5
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1004d1fa
call fcn.10037d24
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.10036c86
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x100134ef
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x100134db
mov dword [esi + 0x10], edi
jmp 0x100134f1
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x100134e7
push esi
jmp 0x100134e8
push edi
call dword [eax]
mov dword [esi + 0x10], eax
jmp 0x100134f1
xor esi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push esi
push 0x10013551
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 0x10013523
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 0x1001354b
call fcn.10037dc9
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10069060]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [esi + 4], 0
push ebx
je 0x10013d61
xor al, al
jmp 0x10013e12
mov ecx, dword [0x1006cee0]
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.1002b6b2
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10013da0
mov byte [esi + 6], 1
lea eax, [esi + 0xc]
push eax
call fcn.1000debb
lea eax, [ebp - 0x234]
push eax
mov ecx, str.Softwareprojonepodlp_software_
mov edx, reloc.WS2_32.dll_bind
call fcn.1000bf8f
cmp dword [eax + 0x1c], 0
pop ecx
sete al
mov byte [esi + 5], al
lea eax, [ebp - 0x234]
push eax
call fcn.1000d31e
push 0
push 0
sub esp, 0x18
mov ecx, 0x10014bae
mov dword [ebp - 0x214], esp
mov eax, esp
je 0x10013dfe
mov dword [eax], vtable.std::tr1::_Impl_base0_unsigned_long_int_.0
mov dword [eax], 0x1005aadc
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x10], eax
call fcn.100134a5
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.100366e3
leave
ret
Function at 0x100141e3
Capabilities:
Create thread

Disassembly:
push 0x94
mov eax, 0x10052271
call fcn.10037d5a
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 0x1001420e
mov eax, dword [eax + 4]
jmp 0x10014211
add eax, 4
push eax
push str.software_uninstall_task:_ls
call fcn.1001ad95
pop ecx
pop ecx
push edi
push 1
lea esi, [ebp - 0x80]
call fcn.100021ef
push edi
push edi
lea eax, [ebp - 0x60]
call fcn.10022f83
push 0xf
pop esi
mov dword [ebp - 4], 3
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], esi
call fcn.10002438
push edi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], esi
call fcn.10002438
mov byte [ebp - 4], 5
cmp dword [ebx + 0x18], 0x10
jb 0x10014264
mov ebx, dword [ebx + 4]
jmp 0x10014267
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.10013a9f
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.100020f3
cmp dword [ebp - 0x18], edi
je 0x1001437f
lea eax, [ebp - 0x60]
push eax
mov edx, str.unique
call fcn.10023221
cmp byte [eax + 8], 4
jne 0x1001437f
push 0x50
call fcn.10036c86
pop ecx
mov ebx, eax
cmp ebx, edi
je 0x100142db
mov esi, ebx
call fcn.10001e2b
lea esi, [ebx + 0x1c]
call fcn.10001e2b
push edi
lea eax, [ebx + 0x38]
push edi
call fcn.10022f83
mov esi, ebx
jmp 0x100142dd
xor esi, esi
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.10001ff3
lea eax, [ebp - 0x60]
push eax
mov edx, str.unique
call fcn.10023221
push eax
lea ecx, [ebp - 0x9c]
call fcn.10022454
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0xd
call fcn.10001ff3
sub esp, 0x18
lea eax, [ebp - 0x60]
mov ebx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.100220d2
lea edi, [esi + 0x38]
call fcn.100222e9
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x9c]
call fcn.100020f3
push edi
push edi
push esi
push 0x100143b4
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.100020f3
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.100020f3
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x60]
call fcn.10022266
mov al, 1
jmp 0x100143ae
push str.invalid_uninstall_task
call fcn.1001b18f
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100020f3
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.100020f3
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x60]
call fcn.10022266
xor al, al
call fcn.10037ddd
ret
Function at 0x10016752
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push 0x23c
mov eax, 0x1005328f
call fcn.10037d5a
lea eax, [ebp - 0x22c]
push eax
call fcn.10016c9c
and dword [ebp - 4], 0
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x10016786
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10016895
xor eax, eax
cmp dword [ebp - 0x214], 8
mov word [ebp - 0x210], ax
mov eax, dword [ebp - 0x228]
jae 0x100167b3
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 0x100167f7
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.1001c65a
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x214], 8
mov ecx, dword [ebp - 0x228]
jae 0x1001682d
lea ecx, [ebp - 0x228]
cmp dword [eax + 0x18], 0x10
jb 0x10016838
mov eax, dword [eax + 4]
jmp 0x1001683b
add eax, 4
push 1
push ecx
mov edx, eax
mov ecx, str.softwareinfo
call fcn.1000855a
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x248]
mov bl, al
mov byte [ebp - 4], 0
call fcn.100020f3
test bl, bl
je 0x10016889
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x1001687a
lea eax, [ebp - 0x228]
push eax
call esi
push str.GSFT_SOFTWAREINFO_uploaded
call fcn.1001ad95
jmp 0x1001689f
push str.GSFT_SOFTWAREINFO_upload_failed
call fcn.1001b18f
jmp 0x1001689f
push str.UploadSoftwareFile_failed:_file_not_exists
call fcn.1001aefe
pop ecx
push 0
push 1
lea esi, [ebp - 0x22c]
call fcn.100021ef
call fcn.10037ddd
ret
Function at 0x1001746f
Capabilities:
Terminate process

Disassembly:
push 0x4c
mov eax, 0x1004f738
call fcn.10037d5a
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.10036c86
pop ecx
cmp eax, ebx
je 0x100174ab
lea ecx, [ebp - 0x30]
mov dword [eax], ecx
jmp 0x100174ad
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
call fcn.10018c1d
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.1000213e
lea eax, [ebp - 0x4c]
push eax
mov edi, 0x100175b8
call fcn.1002c64c
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 0x100174fb
cmp edi, dword [ebp - 0x30]
je 0x10017500
call fcn.10036b58
cmp dword [ebp - 0x50], esi
je 0x1001759d
lea esi, [ebp - 0x54]
call fcn.10005b5c
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 0x1001756e
cmp eax, 0xffffffff
je 0x1001756e
call fcn.10005b5c
add eax, 4
cmp dword [eax + 0x18], 8
jb 0x1001753f
mov edi, dword [eax + 4]
jmp 0x10017542
lea edi, [eax + 4]
lea esi, [ebp - 0x54]
call fcn.10005b5c
push dword [eax]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str.kill_proc:_ls__pid:_d
call fcn.1003048c
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.10002f50
cmp edi, ebx
jne 0x10017599
call fcn.10036b58
xor eax, eax
mov esi, dword [ebp - 0x50]
cmp esi, dword [eax + 0x14]
jne 0x10017592
call fcn.10036b58
mov eax, dword [esi]
jmp 0x100174ec
mov eax, dword [edi]
jmp 0x10017585
lea edi, [ebp - 0x30]
call fcn.1001892a
push ebx
push 1
lea esi, [ebp - 0x4c]
call fcn.100021ef
mov al, 1
call fcn.10037ddd
ret
Function at 0x10017a64
Capabilities:
Delete registry value

Disassembly:
push 0x58
mov eax, 0x1004f6b8
call fcn.10037d5a
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.10017408
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.1000f27c
test al, al
jne 0x10017b42
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x10017ac6
mov eax, dword [eax + 4]
jmp 0x10017ac9
add eax, 4
push eax
push dword [ebp - 0x38]
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.1002d927
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10017ae9
lea eax, [ebp - 0x28]
push dword [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10017b25
push ebx
push str.delete_proc_reg:_ls
call fcn.1003048c
pop ecx
pop ecx
lea esi, [ebp - 0x34]
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x10017b17
mov eax, dword [eax + 4]
jmp 0x10017b1a
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.100021ef
lea esi, [ebp - 0x34]
call fcn.1000b697
jmp 0x10017a97
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x64]
push eax
call fcn.1000d31e
xor eax, eax
inc eax
call fcn.10037ddd
ret 4
Function at 0x10017b5a
Capabilities:
Persist via run registry key

Disassembly:
push 0x8c
mov eax, 0x10050311
call fcn.10037d5a
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x34], esi
cmp esi, ebx
je 0x10017cc7
cmp word [esi], bx
je 0x10017cc7
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 0x10017ca9
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, 0x10056d70
mov edx, edi
mov dword [ebp - 4], ebx
call fcn.1000bf8f
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.1000f27c
test al, al
jne 0x10017c89
call fcn.1000b132
cmp dword [eax + 0x18], 8
jb 0x10017c22
mov eax, dword [eax + 4]
jmp 0x10017c25
add eax, 4
mov ecx, dword [ebp - 0x30]
push dword [ebp + ecx - 0x58]
lea ecx, [ebp - 0x98]
push eax
push 0x1005977c
call fcn.1002d7c0
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.1000213e
push ebx
push 1
lea esi, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.100021ef
cmp dword [ebp - 0x14], 8
mov ebx, dword [ebp - 0x28]
jae 0x10017c6d
lea ebx, [ebp - 0x28]
push dword [ebp - 0x34]
mov edx, reloc.WS2_32.dll_closesocket
call fcn.10017a64
lea esi, [ebp - 0x3c]
call fcn.1000b697
xor ebx, ebx
jmp 0x10017bf7
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], bl
call fcn.1000d31e
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.100021ef
mov esi, dword [ebp - 0x34]
jmp 0x10017cb4
mov ebx, dword [eax + 4]
push esi
call fcn.10017a64
xor ebx, ebx
add dword [ebp - 0x30], 8
cmp dword [ebp - 0x30], 0x18
jb 0x10017bab
xor eax, eax
inc eax
jmp 0x10017cc9
xor eax, eax
call fcn.10037ddd
ret
Function at 0x10017ecf
Capabilities:
Create thread
Delete file

Disassembly:
push 0x54
mov eax, 0x100502d9
call fcn.10037cf1
mov edi, ecx
xor esi, esi
cmp edi, esi
je 0x10017fc2
cmp word [edi], si
je 0x10017fc2
lea eax, [ebp - 0x60]
push eax
call fcn.1000d857
push esi
push esi
lea eax, [ebp - 0x60]
push eax
push 0x10018034
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.10017ccf
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.1000abe1
test al, al
je 0x10017fa0
call fcn.10005b5c
cmp dword [eax + 0x18], 8
jb 0x10017f69
mov eax, dword [eax + 4]
jmp 0x10017f6c
add eax, 4
push eax
push str.delete_shortcut_file:_ls
call fcn.1003048c
pop ecx
pop ecx
lea esi, [ebp - 0x1c]
call fcn.10005b5c
cmp dword [eax + 0x18], 8
jb 0x10017f8c
mov eax, dword [eax + 4]
jmp 0x10017f8f
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0x1c]
call fcn.10018e81
jmp 0x10017f3e
lea eax, [ebp - 0x40]
call fcn.1001890b
lea eax, [ebp - 0x14]
call fcn.10002f50
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x60]
push eax
call fcn.1000d31e
xor eax, eax
inc eax
jmp 0x10017fc4
xor eax, eax
call fcn.10037dc9
ret

Function at 0x10017fca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10069060]
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.10038cf0
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.10001ec7
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100366e3
leave
ret
Function at 0x100199aa
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 0x100199d2
push 0x10056d70
call fcn.10001ec7
jmp 0x100199ec
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.1001a36b
pop ecx
mov eax, esi
pop esi
leave
ret

Function at 0x10019d75
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
inc esi
push str.StartSystemLockLog
mov dword [0x1006cf18], esi
call fcn.1001aefe
xor eax, eax
pop ecx
cmp dword [0x1006cf1c], eax
jne 0x10019db1
push eax
push eax
push eax
push 0x10019ca6
push eax
push eax
mov dword [0x1006cf1c], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
ret