joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456685
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4ab974
call fcn.004a7a94
sub esp, 0x1c
and dword [ebp - 0x14], 0
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x4daedc]
mov edi, 0x4daedc
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x24]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.0045687c
lea eax, [ebx + 0x38]
push eax
push ebx
call fcn.00456986
lea eax, [ebp - 0x1c]
push eax
call fcn.00457231
push dword [ebp - 0x1c]
push 0x3e8
push str.TryNo
push 0x4be488
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405bf2
mov dword [ebx + 4], esi
call fcn.00456a90
mov dword [ebx + 8], eax
call fcn.00456cc4
mov dword [ebx + 0xc], eax
mov eax, dword [0x4daedc]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.00456290
cmp eax, 1
pop ecx
jne 0x456738
lea edi, [ebx + 0x4c]
lea eax, [ebp - 0x1c]
call fcn.00405209
call fcn.004561b8
push eax
push 0x4b9528
lea eax, [ebx + 0x50]
call fcn.00406942
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea esi, [ebp - 0x18]
call fcn.00408c7d
add esp, 0x10
test eax, eax
jne 0x456776
mov eax, esi
push eax
call fcn.00409039
pop ecx
cmp eax, 1
jne 0x456781
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x5c], eax
push 1
call fcn.0043595a
call fcn.00435baf
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x14]
call fcn.0043567c
lea esi, [ebp - 0x10]
call fcn.00405e22
mov eax, esi
push eax
push 0x4be6d8
lea eax, [ebp - 0x14]
push eax
call fcn.004060fe
push dword [ebp - 0x10]
call fcn.0047a633
pop ecx
mov dword [ebx + 0x10], eax
call fcn.00405e22
mov eax, esi
push eax
push 0x4be6c0
lea eax, [ebp - 0x14]
push eax
call fcn.004060fe
push dword [ebp - 0x10]
call fcn.0047a633
pop ecx
mov dword [ebx + 0x14], eax
call fcn.00405e22
mov eax, esi
push eax
push 0x4be6cc
lea eax, [ebp - 0x14]
push eax
call fcn.004060fe
push dword [ebp - 0x10]
call fcn.0047a633
pop ecx
mov dword [ebx + 0x18], eax
call fcn.00405e22
mov eax, esi
push eax
push 0x4be6e0
lea eax, [ebp - 0x14]
push eax
call fcn.004060fe
push dword [ebp - 0x10]
call fcn.0047a633
pop ecx
mov dword [ebx + 0x1c], eax
call fcn.00405e22
mov eax, esi
push eax
push 0x4be6ec
lea eax, [ebp - 0x14]
push eax
call fcn.004060fe
mov esi, dword [ebp - 0x10]
push esi
call fcn.0047a633
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.00405bf2
lea eax, [esi - 0x10]
call fcn.00405bf2
cmp dword [ebp - 0x14], 0
je 0x45686b
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
inc eax
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x456a90
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4aa33d
call fcn.004a7a94
sub esp, 0xe0
mov eax, dword [0x4daedc]
push ebx
push esi
push edi
mov esi, 0x4daedc
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x24], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], edi
mov eax, dword [0x4daedc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0xc6
lea eax, [ebp - 0xea]
push edi
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0xec], di
call fcn.00479900
mov eax, dword [0x4daedc]
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4daedc]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.00457231
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00405209
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bf2
mov eax, edi
call fcn.0040524a
lea eax, [ebp - 0x14]
push eax
call fcn.004572bc
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00405209
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bf2
push dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x64
lea eax, [ebp - 0xec]
push eax
mov esi, 0x4b94e4
push esi
push str.Version
push str.Common
call ebx
test eax, eax
je 0x456c86
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040607d
lea eax, [ebp - 0x18]
call fcn.0040524a
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x14]
push eax
push 2
pop edx
lea eax, [ebp - 0x18]
call fcn.00406584
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00405209
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bf2
push esi
push 0x4b94e0
mov eax, edi
push eax
call fcn.00454b41
push esi
push 0x4be708
mov eax, edi
push eax
call fcn.00454b41
push dword [ebp - 0x20]
lea eax, [ebp - 0xec]
push 0x64
push eax
push esi
push str.version
push str.infos
call ebx
test eax, eax
je 0x456c86
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040607d
lea eax, [ebp - 0x14]
push eax
push 6
pop ecx
lea eax, [ebp - 0x18]
call fcn.00406602
mov byte [ebp - 4], 7
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.004069cb
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bf2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
lea ecx, [eax - 2]
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.00406652
mov byte [ebp - 4], 8
call fcn.00405209
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bf2
push dword [ebp - 0x10]
call fcn.0047a633
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405bf2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bf2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405bf2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405bf2
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x457231
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4aa291
call fcn.004a7a94
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004063d9
pop ecx
xor esi, esi
inc esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0040524a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405c0a
add eax, 0x10
mov dword [edi], eax
push 0x4be540
push edi
mov dword [ebp - 0x14], esi
call fcn.0040648c
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45729f
lea eax, [ebp - 0x10]
call fcn.00405209
push str.ressrcchsuplive.svr
push edi
call fcn.0040648c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bf2
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4572bc
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4aa291
call fcn.004a7a94
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004063d9
pop ecx
xor esi, esi
inc esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0040524a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405c0a
add eax, 0x10
mov dword [edi], eax
push str.data_version.ini
push edi
mov dword [ebp - 0x14], esi
call fcn.0040648c
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45732a
lea eax, [ebp - 0x10]
call fcn.00405209
push str.ressrcchs_version.ini
push edi
call fcn.0040648c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bf2
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x457370
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x45740e
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
push edi
xor eax, eax
cmp ecx, ebx
lea edi, [ebp - 0x13]
mov byte [ebp - 0x14], bl
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0xc], ebx
je 0x4574ea
cmp word [ecx], bx
je 0x4574ea
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 8], edi
je 0x4574ea
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jbe 0x4574e0
push ebx
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
test eax, eax
je 0x4574e0
lea ecx, [ebp - 0x14]
call fcn.00457526
test eax, eax
je 0x4574e0
add esi, 0xfffffffc
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4574e0
mov eax, dword [ebp + 8]
push ebx
push ebx
push 4
push dword [ebp - 8]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 4]
push dword [ebp - 8]
call edi
test eax, eax
je 0x4574e0
mov edx, dword [ebp - 4]
call fcn.004574f1
test eax, eax
jge 0x4574e0
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret

Function at 0x4574f1
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x457520
test esi, esi
jbe 0x457520
mov ecx, esi
shr ecx, 2
push 0
pop eax
je 0x45750f
xor dword [edx + eax*4], 0xd8d8d8d8
inc eax
cmp eax, ecx
jb 0x457503
shl eax, 2
jmp 0x457519
xor byte [eax + edx], 0xd8
inc eax
cmp eax, esi
jb 0x457514
xor eax, eax
ret
mov eax, 0x80004005
ret

Function at 0x45754a
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x457568
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
or dword [esi + 0xc], 0xffffffff
ret
Function at 0x4583fc
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 2
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x45841e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
leave
ret
push edi
push esi
push esi
push esi
push esi
push dword [ebp + 0x18]
push dword [ebp + 8]
push 1
push 2
push 0x10
push 0x32
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
cmp edi, esi
jne 0x45849f
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x431
je 0x458465
call edi
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
jmp 0x45841b
push 2
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
jne 0x458481
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x458455
push dword [ebp + 0x14]
push esi
push esi
push esi
push esi
push dword [ebp + 0x18]
push dword [ebp + 8]
push 1
push 2
push 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x458479
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x458457

Function at 0x4584bb
Capabilities:
Delete service

Disassembly:
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x4584d5
pop edi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push esi
push 0x10000
push dword [esp + 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
jne 0x458504
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call ebx
mov eax, esi
pop esi
pop ebx
pop edi
ret
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x458527
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call edi
push esi
call edi
mov eax, ebx
jmp 0x458500
push esi
call ebx
xor esi, esi
jmp 0x4584fb
Function at 0x45852e
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push 0x40000000
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x458553
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45857c
push ebx
push edi
push 0x14
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x45857f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x24]
push eax
push ebx
call edi
test eax, eax
je 0x4585a7
cmp dword [ebp - 0x20], 4
jne 0x4585a7
xor eax, eax
jmp 0x45857a
push esi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4585ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
jmp 0x45857a
mov dword [ebp - 4], esi
cmp esi, 0xbb8
jge 0x45860f
lea eax, [ebp - 0x24]
push eax
push ebx
call edi
test eax, eax
je 0x4585fd
cmp dword [ebp - 0x20], 1
je 0x458608
cmp dword [ebp - 0x20], 4
je 0x45860f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x64
jmp 0x4585d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x45860f
mov dword [ebp - 4], 0xe0000018
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 4]
jmp 0x45856f
Function at 0x45861e
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x40000000
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x458643
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45866c
push ebx
push edi
push 0x24
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x45866f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4586a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
jmp 0x45866a
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
rep stosd dword es:[edi], eax
xor edi, edi
cmp edi, dword [ebp + 0xc]
jge 0x4586e5
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4586dd
cmp dword [ebp - 0x1c], 1
je 0x4586e5
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, 0x64
jmp 0x4586b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x45865f

Function at 0x459203
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4a9020
call fcn.004a7a94
sub esp, 0x214
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
push esi
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
mov ecx, 0x4daedc
call fcn.00405ea5
xor esi, esi
mov dword [ebp - 4], ebx
inc esi
push ebx
mov dword [ebp - 0x18], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x14]
push eax
push 0x1a
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x206
lea eax, [ebp - 0x21e]
push ebx
push eax
mov word [ebp - 0x220], bx
call fcn.00479900
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x220]
push eax
call fcn.0047a638
test eax, eax
pop ecx
je 0x4592a3
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 8]
call fcn.0040607d
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x4592c3
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]
pop esi
cmp eax, ebx
pop ebx
je 0x4592db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
leave
ret
Function at 0x4592ea
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4a9e61
call fcn.004a7a94
sub esp, 0x210
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x4daedc
mov dword [ebp - 0x10], edi
call fcn.00405ea5
push 0x208
lea eax, [ebp - 0x21a]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x21c], di
call fcn.00479900
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x459378
lea eax, [ebp - 0x21c]
push eax
call fcn.0047a638
test eax, eax
pop ecx
je 0x459378
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.0040607d
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x459388
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x4a8659
call fcn.004a7a94
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
push ebx
xor edi, edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x10]
push eax
push 0x4ae89c
push 1
push ebx
push 0x4ae8bc
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x459438
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 0x4ae93c
push eax
call dword [ecx]
cmp eax, ebx
jl 0x459438
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push 1
push eax
push ecx
call dword [edx + 0x18]
cmp eax, ebx
jl 0x459438
inc edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x45944e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x45945f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x459d73
Capabilities:
Check if file exists
Delete file

Disassembly:
mov eax, 0x4ab952
call fcn.004a7a94
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
call fcn.00408bda
cmp eax, 0xc
jne 0x459e58
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00459203
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
mov dword [esp], str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push eax
call fcn.0040648c
mov eax, dword [0x4daedc]
mov ecx, 0x4daedc
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 - 0x14]
push str._s_s.lnk
call fcn.00406942
add esp, 0xc
lea edi, [esi + 0x1c]
lea eax, [ebp - 0x18]
call fcn.00405209
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x10]
push eax
call fcn.004592ea
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.00459388
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x459e39
push dword [esi]
lea ecx, [ebp - 0x10]
push str._s.lnk
call fcn.0040cc70
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.00459d39
add esp, 0x10
push dword [ebp - 0x10]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405bf2
lea eax, [edi - 0x10]
call fcn.00405bf2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405bf2
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x45a0b3
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
xor ebx, ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x45a0d5
xor eax, eax
inc eax
jmp 0x45a13f
cmp dword [edi], esi
je 0x45a0de
xor ebx, ebx
inc ebx
jmp 0x45a123
lea eax, [ebp - 8]
push eax
push 0x4beb2c
push 1
push esi
push 0x4beb1c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x45a0fd
push 2
jmp 0x45a122
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x45a112
push 3
jmp 0x45a122
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x45a123
push 4
pop ebx
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x45a130
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x45a13d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
pop esi
pop ebx
leave
ret