joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f805
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
push 0x38
lea eax, [ebp - 0x44]
push 0
push eax
mov dword [ebp - 0x48], 0x3c
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edi, 0x105
lea esi, [ebx + 8]
push edi
call fcn.004050f0
lea esi, [ebx + 0xc]
push edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0x104
call fcn.004050f0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
push eax
push 0x80000000
push 0
push dword [ebp + 8]
mov dword [ebp - 0x18], 0x104
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
mov dword [ebp - 8], eax
je 0x44f90b
mov eax, dword [ebx + 8]
test eax, eax
mov edi, dword [sym.imp.MSVCR80.dll_wcslen]
jne 0x44f87f
xor eax, eax
jmp 0x44f883
push eax
call edi
pop ecx
lea edx, [ebx + 8]
call fcn.00404d70
mov eax, dword [esi]
test eax, eax
je 0x44f895
push eax
call edi
pop ecx
mov edx, esi
call fcn.00404d70
mov ax, word [ebp - 0x30]
and dword [ebp - 8], 0
mov word [ebx + 0x10], ax
mov esi, 0x4820c8
mov eax, dword [ebx + 8]
mov eax, dword [eax - 0xc]
push dword [esi]
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], eax
pop ecx
jbe 0x44f8ef
push dword [esi]
call edi
pop ecx
lea ecx, [ebp - 4]
push ecx
mov ecx, eax
lea eax, [ebx + 8]
call fcn.0043dd4b
push dword [esi]
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
pop ecx
test eax, eax
mov eax, dword [ebp - 4]
pop ecx
je 0x44f8fc
add eax, 0xfffffff0
call fcn.00404929
add esi, 4
cmp esi, 0x4820d4
jl 0x44f8ad
jmp 0x44f90b
add eax, 0xfffffff0
mov dword [ebp - 8], 1
call fcn.00404929
mov eax, dword [ebp - 8]
push dword [ebp + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
push eax
call fcn.00405232
mov eax, dword [ebx]
pop edi
pop esi
leave
ret 4
Function at 0x450042
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp eax, 8
push ebx
push esi
mov esi, edx
not esi
mov edx, 0xff
jl 0x4500fb
push edi
mov edi, eax
shr edi, 3
mov ebx, edi
imul ebx, ebx, 0xfffffff8
add eax, ebx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4689f0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4689f0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4689f0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4689f0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4689f0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4689f0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4689f0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4689f0]
inc ecx
dec edi
jne 0x450063
pop edi
test eax, eax
je 0x450114
movzx ebx, byte [ecx]
xor ebx, esi
and ebx, edx
shr esi, 8
xor esi, dword [ebx*4 + 0x4689f0]
inc ecx
dec eax
jne 0x4500ff
mov eax, esi
pop esi
not eax
pop ebx
ret

Function at 0x4505c2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x14], ecx
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], edx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
push 3
pop edx
mov dword [eax + 0x50], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x60], edx
movzx edx, dl
and edx, 1
or edx, 6
mov dword [eax + 0x5c], edx
or dword [eax + 0x6c], 0xffffffff
or dword [eax + 0x70], 0xffffffff
mov dword [eax], vtable.CListViewMgr.0
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], ecx
lea edx, [eax + 0x80]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
or dword [eax + 0x90], 0xffffffff
lea edx, [eax + 0x94]
mov dword [edx], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov dword [edx + 0x20], ecx
mov dword [eax + 0xb8], 1
mov dword [eax + 0xbc], ecx
mov dword [eax + 0xc0], ecx
mov dword [eax + 0xc4], ecx
mov dword [eax + 0xc8], ecx
ret
Function at 0x451de6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
lea eax, [ebx + 0x88]
push edi
push dword [eax]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x451eb3
mov eax, dword [ebx + 0x70]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x84]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
call fcn.00451514
test eax, eax
je 0x451e9b
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 4]
lea esi, [ebp - 0x2c]
sub eax, dword [ebx + 0x154]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov dword [ebp - 0x3c], eax
lea esi, [ebx + 0x2c]
push esi
lea eax, [ebp - 0x3c]
call fcn.00410c95
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x154]
add eax, dword [ebp - 4]
push 1
sub dword [ebp - 0x24], eax
push dword [ebp - 8]
lea eax, [ebp - 0x2c]
call fcn.00410c95
mov esi, dword [ebp - 0xc]
call fcn.00450937
jmp 0x451eb3
push 0
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [ebp - 8]
lea eax, [ebp - 0x2c]
call fcn.00410c95
pop edi
pop esi
leave
ret

Function at 0x453de3
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 4
mov eax, 0x46383b
call fcn.00456faa
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00405099
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x453e23
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00404929
mov eax, esi
call fcn.00457082
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x453e0d
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x453e0d
lea ecx, [ebp - 0x10]
call fcn.00453d9a
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x453e5a
xor esi, esi
jmp 0x453e10
push eax
call fcn.00453de3
test eax, eax
pop ecx
je 0x453e56
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x453e0d
call edi
cmp eax, ebx
jne 0x453e56
jmp 0x453e0d
Function at 0x453f15
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x45fa27
call fcn.00456faa
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
mov edi, dword [ebp + 0x218]
cmp dword [edi - 0xc], ebx
je 0x454008
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x214]
mov dword [ebp - 0x14], ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x206
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [ebp - 0x14], ebx
je 0x454008
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x453fee
mov eax, dword [0x4833bc]
mov ecx, 0x4833bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp]
push eax
push 0x46eb90
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00404ecc
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x10], eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00404929
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x454008
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x45401e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [edi - 0x10]
call fcn.00404929
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004568ce
add ebp, 0x20c
leave
ret

Function at 0x45404c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4540b6
call fcn.00454c9c
test eax, eax
lea eax, [ebp - 0x20c]
je 0x4540aa
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
jmp 0x4540af
push str.MicrosoftInternet_ExplorerQuick_Launch_
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00405232
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004568ce
leave
ret
Function at 0x4544a8
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x46383b
call fcn.00456faa
mov eax, dword [0x4833bc]
mov ecx, 0x4833bc
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
call fcn.00454b64
cmp eax, 0xa
jne 0x4544da
xor edi, edi
inc edi
jmp 0x454512
lea edi, [ebp - 0x10]
call fcn.0045404c
call fcn.00454b64
cmp eax, 6
mov ecx, edi
jne 0x4544f5
push 0x46ed4c
jmp 0x4544fa
push 0x46eb80
push str._s.lnk
call fcn.004069a5
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00404929
mov eax, edi
call fcn.00457082
ret

Function at 0x454522
Capabilities:
Check if file exists
Copy file

Disassembly:
push 8
mov eax, 0x4627df
call fcn.00456faa
mov edi, ecx
lea ecx, [ebp - 0x14]
call fcn.00453d61
and dword [ebp - 4], 0
push 0x46edc8
lea eax, [ebp - 0x14]
push eax
call fcn.004046e1
lea ecx, [ebp - 0x10]
call fcn.004545ba
push str.KingsoftKsafe
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.004046e1
push dword [ebp - 0x10]
call fcn.00453de3
lea eax, [ebp - 0x10]
mov dword [esp], str.duba123ie.ico
push eax
call fcn.004046e1
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x10]
call fcn.004052c3
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00404929
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00404929
mov eax, esi
call fcn.00457082
ret
Function at 0x4545ba
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x4603aa
call fcn.00456faa
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ebx
push 0x206
xor edi, edi
lea eax, [ebp + 2]
inc edi
mov dword [ebp - 4], edi
push ebx
push eax
mov dword [ebp - 0x10], ebx
mov word [ebp], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov ecx, 0x4833bc
call fcn.00404b28
push ebx
mov dword [ebp - 0x18], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [ebp - 0x10], ebx
je 0x45467a
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x454660
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp]
push eax
push esi
call fcn.00405232
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x45467a
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x454690
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004568ce
add ebp, 0x20c
leave
ret
Function at 0x4546b5
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x10
mov eax, 0x462d94
call fcn.00456faa
mov edi, ecx
mov esi, edx
mov eax, dword [0x4833bc]
xor ebx, ebx
mov ecx, 0x4833bc
mov dword [ebp - 0x1c], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
push dword [esi]
lea eax, [ebp - 0x18]
push dword [edi]
push str._s_s.lnk
call fcn.00404ecc
add esp, 0xc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
push dword [edi]
call fcn.00453de3
test eax, eax
mov edi, dword [ebp - 0x18]
pop ecx
je 0x4547a1
lea eax, [ebp - 0x10]
push eax
push 0x466d8c
push 1
push ebx
push 0x466dbc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4547a1
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x24]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
push dword [esi + 0x18]
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x466dcc
push eax
call dword [ecx]
cmp eax, ebx
jl 0x4547a1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
xor esi, esi
inc esi
push esi
push edi
push eax
call dword [ecx + 0x18]
cmp eax, ebx
jl 0x4547a1
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4547b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4547c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [edi - 0x10]
call fcn.00404929
mov eax, dword [ebp - 0x1c]
call fcn.00457082
ret
Function at 0x4547d9
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
push 0x10
mov eax, 0x46374c
call fcn.00456faa
mov esi, ecx
call fcn.00454b64
cmp eax, 7
je 0x454809
call fcn.00454b64
cmp eax, 8
je 0x454809
call fcn.00454b64
cmp eax, 0xa
jne 0x45492d
lea eax, [ebp - 0x10]
push eax
call fcn.0045497e
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x10]
mov dword [esp], str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push eax
call fcn.004046e1
mov eax, dword [0x4833bc]
mov ecx, 0x4833bc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
push dword [esi]
lea eax, [ebp - 0x18]
push dword [ebp - 0x10]
push str._s_s.lnk
call fcn.00404ecc
mov edi, dword [ebp - 0x18]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x454887
lea ecx, [ebp - 0x10]
mov edx, esi
call fcn.004546b5
mov esi, eax
lea eax, [edi - 0x10]
call fcn.00404929
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00404929
mov eax, esi
jmp 0x45492f
lea ecx, [ebp - 0x14]
call fcn.004549ae
mov byte [ebp - 4], 2
push dword [esi]
lea ecx, [ebp - 0x14]
push str._s.lnk
call fcn.004069a5
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.004549ae
mov ecx, eax
mov edx, esi
mov byte [ebp - 4], 3
call fcn.004546b5
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404929
cmp esi, ebx
je 0x45490f
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push str.taskbarpin
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00404929
lea eax, [edi - 0x10]
call fcn.00404929
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00404929
xor eax, eax
cmp esi, 0x20
setg al
jmp 0x45492f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00404929
lea eax, [edi - 0x10]
call fcn.00404929
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00404929
xor eax, eax
call fcn.00457082
ret

Function at 0x4549ae
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 8
mov eax, 0x46042c
call fcn.00456faa
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
mov ecx, 0x4833bc
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
call fcn.00404b28
push 0x208
lea eax, [ebp + 2]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp], di
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x454a3f
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x454a3f
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp]
push eax
push esi
call fcn.00405232
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.004568ce
add ebp, 0x210
leave
ret
Function at 0x454a64
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x460361
call fcn.00456faa
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 4], ebx
mov ecx, 0x4833bc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
call fcn.00404b28
xor edi, edi
mov dword [ebp - 4], ebx
inc edi
push ebx
mov dword [ebp - 0x18], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x214]
mov dword [ebp - 0x14], ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x206
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
je 0x454b09
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp]
push eax
push esi
call fcn.00405232
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x454b29
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x454b3f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004568ce
add ebp, 0x20c
leave
ret
Function at 0x454b78
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x120
mov eax, dword [0x481028]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa8]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x454bdb
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x114
call esi
cmp eax, edi
je 0x454c89
mov eax, dword [ebp - 0x98]
dec eax
je 0x454c75
dec eax
jne 0x454c89
cmp dword [ebp - 0xa4], 6
jne 0x454c26
inc eax
cmp dword [ebp - 0xa0], eax
jne 0x454c0e
xor ecx, ecx
cmp byte [ebp + 0x72], al
setne cl
add ecx, 8
jmp 0x454c22
cmp dword [ebp - 0xa0], edi
jne 0x454c62
xor ecx, ecx
cmp byte [ebp + 0x72], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x454c89
cmp dword [ebp - 0xa4], 5
jne 0x454c55
cmp dword [ebp - 0xa0], 2
jne 0x454c3c
push 5
jmp 0x454c72
cmp dword [ebp - 0xa0], 1
jne 0x454c49
push 6
jmp 0x454c72
cmp dword [ebp - 0xa0], edi
jne 0x454c89
push 3
jmp 0x454c72
cmp dword [ebp - 0xa4], 4
ja 0x454c89
push 4
jmp 0x454c72
cmp dword [ebp - 0xa0], 2
jne 0x454c89
cmp byte [ebp + 0x72], al
jne 0x454c89
push 0xa
pop edi
jmp 0x454c89
mov eax, dword [ebp - 0x9c]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov ecx, dword [ebp + 0x74]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004568ce
add ebp, 0x78
leave
ret

Function at 0x455a2e
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push 8
mov eax, 0x464238
call fcn.00456faa
push str.SYSTEMCurrentControlSetServicesCryptSvcParameters
lea eax, [ebp - 0x10]
push eax
call fcn.00405099
and dword [ebp - 4], 0
mov ebx, dword [sym.imp.MSVCR80.dll_wcslen]
mov edi, dword [ebp - 0x10]
mov esi, str._SystemRoot_System32cryptsvc.dll
push esi
call ebx
pop ecx
lea eax, [eax + eax + 2]
push eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 2
push str.ServiceDll
push edi
mov edi, SysStringLen
push edi
call esi
mov eax, dword [ebp - 0x10]
push str.CryptServiceMain
mov dword [ebp - 0x14], eax
call ebx
pop ecx
lea eax, [eax + eax + 2]
push eax
push str.CryptServiceMain
xor ebx, ebx
inc ebx
push ebx
push str.ServiceMain
push dword [ebp - 0x14]
push edi
call esi
call fcn.00455c08
test eax, eax
je 0x455ac0
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push str.ServiceDllUnloadOnStop
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push edi
call esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00404929
xor eax, eax
call fcn.00457082
ret