joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440c40
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x308]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x420], esi
call fcn.00455270
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x100
push 0
push eax
call fcn.00455270
add esp, 0xc
mov dword [ebp - 0x40c], 0x100
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x100
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.00455270
add esp, 0xc
lea eax, [ebp - 0x408]
push 0x100
push 0
push eax
call fcn.00455270
add esp, 0xc
mov dword [ebp - 0x418], 0x100
lea eax, [ebp - 0x414]
mov dword [ebp - 0x410], 0x100
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x308]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidIdentifierAuthority]
push 1
push str.S__lu_
mov edi, eax
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.00440fe0
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x418], eax
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440d53
movzx eax, byte [edi + 5]
sub ecx, edx
push eax
mov eax, 0x100
sub eax, ecx
push str.__lu
push eax
lea eax, [ebp - 0x108]
add eax, ecx
push eax
call fcn.00440fe0
add dword [ebp - 0x418], eax
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
xor edi, edi
movzx eax, byte [eax]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x440df3
mov ebx, dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov esi, eax
nop dword [eax]
push edi
lea eax, [ebp - 0x208]
push eax
call ebx
push dword [eax]
mov eax, 0x100
sub eax, dword [ebp - 0x418]
push 0x49d7a0
push eax
lea eax, [ebp - 0x108]
add eax, dword [ebp - 0x418]
push eax
call fcn.00440fe0
add dword [ebp - 0x418], eax
inc edi
add esp, 0x10
cmp edi, esi
jl 0x440db0
mov esi, dword [ebp - 0x420]
lea edx, [ebp - 0x108]
mov ecx, 0x100
sub edx, esi
lea eax, [ecx + 0x7ffffefe]
test eax, eax
je 0x440e19
mov al, byte [edx + esi]
test al, al
je 0x440e19
mov byte [esi], al
inc esi
sub ecx, 1
jne 0x440e00
test ecx, ecx
lea eax, [esi - 1]
mov ecx, dword [ebp - 4]
cmovne eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
mov byte [eax], 0
mov al, 1
call fcn.0045230d
mov esp, ebp
pop ebp
ret
Function at 0x443830
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
lea ebx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443840
sub eax, ebx
sar eax, 1
add eax, eax
push eax
push dword [ebp + 8]
push 1
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop edi
sbb eax, eax
and eax, 0x80004005
pop ebx
pop ebp
ret
Function at 0x443b30
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x424]
mov ecx, dword [ebp + 8]
push edx
push 0xf003f
push 0
push eax
push ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x443cda
push ebx
push esi
push edi
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x443c11
push 0x20a
xor esi, esi
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.00455270
add esp, 0xc
cmp dword [ebp - 0x420], esi
jbe 0x443c11
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
nop word [eax + eax]
push 0x105
lea eax, [ebp - 0x41c]
push eax
push esi
push dword [ebp - 0x424]
call ebx
test eax, eax
jne 0x443c08
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x424]
call edi
inc esi
cmp esi, dword [ebp - 0x420]
jb 0x443be0
push dword [ebp - 0x424]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push 0x20a
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], 0
push 0
push eax
call fcn.00455270
push dword [ebp - 0x428]
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0046652e
lea eax, [ebp - 0x210]
push 0x5c
push eax
call fcn.00454f27
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x443c81
lea eax, [ebp - 0x210]
push 0x2f
push eax
call fcn.00454f27
mov esi, eax
add esp, 8
test esi, esi
je 0x443cd7
mov eax, esi
lea ecx, [ebp - 0x210]
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 0x20a
jae 0x443cea
xor ecx, ecx
mov word [ebp + eax - 0x210], cx
lea eax, [ebp - 0x424]
push eax
push 0xf003f
push ecx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x443ccf
lea eax, [esi + 2]
push eax
push dword [ebp - 0x424]
call edi
push dword [ebp - 0x424]
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045230d
mov esp, ebp
pop ebp
ret 8
call fcn.00452b29
int3
Function at 0x443cf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4832d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
call fcn.0041c330
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x443d7f
push 0x4994f4
mov ecx, edi
call fcn.00407e20
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x443e54
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x443e54
call fcn.00402750
mov ecx, eax
test ecx, ecx
jne 0x443d94
push 0x80004005
call fcn.004027d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.InstallTime
call fcn.00407e20
push ecx
mov byte [ebp - 4], 2
mov esi, esp
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
lea ecx, [ecx - 0x10]
call fcn.00407fe0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.00443e80
test eax, eax
je 0x443e08
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.00407fe0
add eax, 0x10
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov dword [edi], eax
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x443e35
mov ecx, dword [ebx]
push ebx
jmp 0x443e30
push 0x4994f4
mov ecx, edi
call fcn.00407e20
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443e35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x443e54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045230d
mov esp, ebp
pop ebp
ret 4
Function at 0x443e80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00455270
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp + 8]
push 0x104
push eax
push 0x4992e4
push dword [ebp + 0xc]
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x218]
je 0x443f2b
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x443f06
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00408110
mov edi, 1
jmp 0x443f2d
xor edi, edi
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443f4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x443f6d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045230d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x443f90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443fb3
push dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp + 8]
push esi
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443fd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
pop esi
jg 0x443fea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop ebp
ret 8

Function at 0x443ff0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
call fcn.0041c330
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x444022
lea esi, [eax + 1]
jmp 0x44403f
push dword [ebp - 8]
push 1
push str.Activate
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp - 8]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x44405a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0045230d
mov esp, ebp
pop ebp
ret
Function at 0x444070
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483318
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
call fcn.00421640
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
jne 0x4440c7
xor edi, edi
jmp 0x44418c
push str.config.ini
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.00405ed0
add esp, 4
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44411a
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x4441e8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call fcn.0045fecf
cdq
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0
call fcn.00427360
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push str.act_time
push str.three_end
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x20]
mov edi, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x44416e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44418c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4441aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4441c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045230d
mov esp, ebp
pop ebp
ret 4
xor edi, edi
jmp 0x44416e
Function at 0x4441f0
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x4ad070]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4442b7
push 0x80
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00455270
add esp, 0xc
push 0
call fcn.00466611
add esp, 4
push edx
push eax
lea eax, [esp + 0x18]
push 0x49c2e0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x20]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x444271
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea eax, [esp + 0x14]
push eax
push 1
push 0
push str.ActDate
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
push ecx
sbb esi, esi
mov ecx, esp
lea eax, [esp + 0x14]
and esi, 0x80004005
push eax
call fcn.00407e20
call fcn.00444070
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x94]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0045230d
mov esp, ebp
pop ebp
ret
Function at 0x444ad0
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x485550
push 1
push 0
push 0x485580
mov dword [ebp - 8], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x444bce
cmp dword [esi + 0x60], 8
lea edx, [esi + 0x4c]
mov dword [ebp - 0xc], 0
jb 0x444b1d
mov edx, dword [edx]
mov eax, dword [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [esi + 0x48], 8
lea edx, [esi + 0x34]
jb 0x444b32
mov edx, dword [edx]
mov eax, dword [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [esi + 0x74], 0
je 0x444b57
cmp dword [esi + 0x78], 8
lea edx, [esi + 0x64]
jb 0x444b4d
mov edx, dword [edx]
mov eax, dword [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edi
push edx
push 0x4911b0
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
test edi, edi
js 0x444bc2
add esi, 0x7c
cmp dword [esi + 0x14], 8
jb 0x444b7c
mov eax, dword [esi]
jmp 0x444b7e
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x444b9c
cmp dword [esi + 0x14], 8
jb 0x444b93
mov eax, dword [esi]
jmp 0x444b95
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x444ba4
mov esi, dword [esi]
mov eax, dword [ebp - 0xc]
push 0
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045230d
mov esp, ebp
pop ebp
ret 4
Function at 0x444be0
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4833eb
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x4b4]
push edi
call fcn.00442bc0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00455270
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
cmovae eax, dword [ebp - 0x480]
push eax
lea eax, [ebp - 0x218]
push 0x4993e4
push eax
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00455270
cmp dword [ebp - 0x49c], 8
lea eax, [ebp - 0x4b0]
cmovae eax, dword [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x420]
push str._s.lnk
push eax
call esi
add esp, 0x30
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [ebp - 0x218], 0
jne 0x444cba
xor ecx, ecx
jmp 0x444cd2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444cc3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00407490
lea eax, [ebp - 0x4b4]
push eax
call fcn.00444ad0
test eax, eax
js 0x444d4b
cmp dword [edi + 0x90], 8
lea eax, [edi + 0x7c]
jb 0x444d03
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push 0
cmovae eax, dword [ebp - 0x438]
push 0
push 0
push eax
push str.TaskbarPin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call esi
lea ecx, [ebp - 0x4b4]
call fcn.0043f890
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045230d
mov esp, ebp
pop ebp
ret 4
Function at 0x445270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4834dc
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x445319
push 0x10
lea eax, [ebp - 0x230]
push eax
call fcn.00445440
mov edi, eax
cmp esi, edi
je 0x4452f4
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4452cd
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00407f40
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4452e5
mov eax, dword [esi]
jmp 0x4452e7
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.004145b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x445319
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407f40
cmp dword [esi + 0x28], 0
jne 0x445395
push 2
lea eax, [ebp - 0x230]
push eax
call fcn.00445440
mov ebx, eax
lea edi, [esi + 0x18]
cmp edi, ebx
je 0x445370
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x445349
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00407f40
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x445361
mov eax, dword [edi]
jmp 0x445363
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push ebx
call fcn.004145b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x445395
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407f40
cmp dword [esi + 0x40], 0
jne 0x44540f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00455270
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [ebp - 0x218], 0
jne 0x4453e4
xor ecx, ecx
jmp 0x4453ff
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4453f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x30]
call fcn.00407490
cmp dword [esi + 0x28], 0
je 0x44541f
cmp dword [esi + 0x10], 0
je 0x44541f
xor eax, eax
jmp 0x445424
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045230d
mov esp, ebp
pop ebp
ret
Function at 0x445440
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x445520
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x44550a
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00455270
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4454ee
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00405e00
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045230d
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x218]
push dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x218], 0
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x4994f4
mov word [esi], ax
call fcn.00407490
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0045230d
mov esp, ebp
pop ebp
ret 8