joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b900
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x42b909
xor eax, eax
jmp 0x42b972
cmp dword [esp + 8], 0
jne 0x42b915
call fcn.00424ce8
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004447ae
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42b950
push dword [esi + 0x10]
call fcn.004444f3
test eax, eax
pop ecx
jne 0x42b950
mov esi, dword [esi + 0xc]
call fcn.0044074b
push esi
push dword [eax]
push 1
call fcn.0042f4b1
push dword [esi + 0x10]
call fcn.00444522
test eax, eax
pop ecx
je 0x42b96f
push dword [esi + 0x10]
call fcn.00444447
push eax
call fcn.00403190
pop ecx
pop ecx
jmp 0x42b93e
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x42b97b
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x42b985
call fcn.00424ce8
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0043eb36
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x42b9b2
mov esi, dword [esi + 0xc]
call fcn.0044074b
push esi
push dword [eax]
push 1
call fcn.0042f4b1
pop esi
ret 8

Function at 0x42ccb9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42cce7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42cd05
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042cc23
jmp 0x42cd05
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42cd05
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042cc23
test edi, edi
mov eax, edi
jne 0x42ccef
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x49afcc]
test ecx, ecx
je 0x42cdc8
jmp 0x42ccb8
ret 8

Function at 0x43ad5b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x497750]
jne 0x43ad65
repz ret
jmp fcn.004468b4
Function at 0x452c67
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044629b
xor ebx, ebx
cmp dword [0x49be40], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x452d3c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x452ca7
xor eax, eax
jmp 0x452e00
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x452ca0
push eax
call fcn.00446238
mov dword [esp], 0x47feb0
push edi
mov dword [0x49be40], eax
call esi
push eax
call fcn.00446238
mov dword [esp], 0x47fe9c
push edi
mov dword [0x49be44], eax
call esi
push eax
call fcn.00446238
mov dword [0x49be48], eax
lea eax, [ebp - 8]
push eax
call fcn.0043b7b1
test eax, eax
pop ecx
pop ecx
je 0x452d0a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b44c
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x452d3c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00446238
cmp eax, ebx
pop ecx
mov dword [0x49be50], eax
je 0x452d3c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00446238
pop ecx
mov dword [0x49be4c], eax
mov eax, dword [0x49be4c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x452db5
cmp dword [0x49be50], esi
je 0x452db5
push eax
call fcn.004462a4
pop ecx
call eax
cmp eax, ebx
je 0x452d82
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x49be50]
call fcn.004462a4
pop ecx
call eax
test eax, eax
je 0x452d82
test byte [ebp - 0x18], 1
jne 0x452db5
lea eax, [ebp - 0xc]
push eax
call fcn.0043b7e8
test eax, eax
pop ecx
je 0x452d9d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b44c
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x452dac
or dword [ebp + 0x10], 0x200000
jmp 0x452de6
or dword [ebp + 0x10], 0x40000
jmp 0x452de6
mov eax, dword [0x49be44]
cmp eax, esi
je 0x452de6
push eax
call fcn.004462a4
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x452de6
mov eax, dword [0x49be48]
cmp eax, esi
je 0x452de6
push dword [ebp - 4]
push eax
call fcn.004462a4
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x49be40]
call fcn.004462a4
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x458ab8
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x497750]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00458a4d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043ad70
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x458b07
cmp dword [ebp - 0x1c], 5
jb 0x458b1f
jmp 0x458b1b
cmp dword [ebp - 0x10], 1
jne 0x458b1f
cmp dword [ebp - 0x1c], 4
ja 0x458b1b
jne 0x458b1f
cmp dword [ebp - 0x18], 0
jbe 0x458b1f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x480f88
call fcn.0045893e
test eax, eax
jge 0x458b40
mov byte [0x49c5e4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043ad5b
add ebp, 0x78
leave
ret

Function at 0x459dd0
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 5
push 0xffffffffffffffff
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x459e1a
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043d930
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
jmp 0x459e28
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x45af70
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x497750]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0043ad70
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x45b083
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x45b083
lea edx, [ebp - 4]
push edx
push 0x10008
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x45b081
cmp dword [ebp - 0x21c], 0
jne 0x45b077
mov dword [ebp - 0x220], 0x104
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0x103
jne 0x45b050
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x21c], eax
jmp 0x45b077
cmp dword [ebp - 0x21c], 0
jne 0x45b072
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0045af70
add esp, 8
mov dword [ebp - 0x21c], eax
jmp 0x45aff1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45b08d
mov dword [ebp - 0x21c], 0x3f2
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043ad5b
mov esp, ebp
pop ebp
ret
Function at 0x45b3a0
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x497750]
xor eax, ebp
mov dword [ebp - 0x1c], eax
call fcn.004046a0
mov dword [ebp - 0xc], eax
cmp dword [0x49c448], 6
jae 0x45b3ce
lea ecx, [ebp + 8]
call fcn.004034b0
jmp 0x45b4ab
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45b3ee
lea ecx, [ebp + 8]
call fcn.004034b0
jmp 0x45b4ab
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45b4a3
mov dword [ebp - 0x18], 1
lea ecx, [ebp + 8]
call fcn.00406be0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45b432
mov dword [ebp - 0x20], 0
jmp 0x45b481
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x45b454
mov dword [ebp - 0x24], 0
jmp 0x45b47b
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004456f0
mov dword [ebp - 0x28], esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00404650
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 8]
call fcn.004034b0
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043ad5b
mov esp, ebp
pop ebp
ret
Function at 0x45b4c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call fcn.0043b116
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jae 0x45b4ed
lea ecx, [ebp + 8]
call fcn.004034b0
jmp 0x45b5ad
lea ecx, [ebp - 8]
call fcn.00402df0
cmp dword [0x49c448], 6
jae 0x45b55b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45b559
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.MaxConnectionsPerServer
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.MaxConnectionsPer1_0Server
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45b59d
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_MAXCONNECTIONSPER1_0SERVER
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45b59d
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.explorer.exe
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
call fcn.004034b0
lea ecx, [ebp + 8]
call fcn.004034b0
mov esp, ebp
pop ebp
ret

Function at 0x45b760
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x497750]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45b7c4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x248], 0
lea ecx, [ebp + 8]
call fcn.004034b0
mov eax, dword [ebp - 0x248]
jmp 0x45b877
mov dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x45b855
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00402e50
lea ecx, [ebp - 0x244]
call fcn.00405310
lea ecx, [ebp + 8]
call fcn.00405310
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00404880
add esp, 8
movzx edx, al
test edx, edx
je 0x45b845
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x244]
call fcn.004034b0
lea ecx, [ebp + 8]
call fcn.004034b0
mov eax, dword [ebp - 0x24c]
jmp 0x45b877
lea ecx, [ebp - 0x244]
call fcn.004034b0
jmp 0x45b7cb
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x250], 0
lea ecx, [ebp + 8]
call fcn.004034b0
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043ad5b
mov esp, ebp
pop ebp
ret
Function at 0x45be00
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.004029b0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
call fcn.00402df0
mov dword [ebp - 0x10], 0
jmp 0x45be33
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0xa
jge 0x45be7b
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s.old_d
lea ecx, [ebp - 8]
push ecx
call fcn.00402dc0
add esp, 0x10
push 3
lea ecx, [ebp - 8]
call fcn.00406be0
push eax
lea ecx, [ebp - 4]
call fcn.00406be0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45be79
mov dword [ebp - 0xc], 1
jmp 0x45be7b
jmp 0x45be2a
cmp dword [ebp - 0xc], 0
je 0x45be94
push 5
push 0
lea ecx, [ebp - 8]
call fcn.00406be0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 8]
call fcn.004034b0
lea ecx, [ebp - 4]
call fcn.004034b0
lea ecx, [ebp + 8]
call fcn.004034b0
mov esp, ebp
pop ebp
ret

Function at 0x45beb0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x497750]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x45bf04
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.004034b0
jmp 0x45bfc0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x45bfa4
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.00402e50
lea ecx, [ebp - 0x244]
call fcn.00405310
lea ecx, [ebp + 8]
call fcn.00405310
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00404880
add esp, 8
movzx edx, al
test edx, edx
je 0x45bf94
mov eax, dword [ebp - 0x238]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x45bf94
push 0
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x244]
call fcn.004034b0
jmp 0x45bf0b
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.004034b0
jmp 0x45bfc0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043ad5b
mov esp, ebp
pop ebp
ret
Function at 0x45c1b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x497750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x49c5a4]
call fcn.00406600
mov dword [ebp - 0x10], 0
jmp 0x45c1f5
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00406a60
cmp dword [ebp - 0x10], eax
jae 0x45c303
push 0x1388
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00405ea0
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45c2a1
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00405ea0
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [ebp - 0x18]
call fcn.00402df0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00405ea0
mov eax, dword [eax]
push eax
push str.Execute_Command_Thread__d_Terminated_
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402dc0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x18]
push edx
call fcn.004029b0
mov dword [ebp - 0x28], eax
mov ecx, 0x49c320
call fcn.0046c9c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004034b0
lea ecx, [ebp - 0x14]
call fcn.00402df0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00405ea0
mov ecx, dword [eax]
push ecx
push str.Execute_Command_Thread__d_Exited_
lea edx, [ebp - 0x14]
push edx
call fcn.00402dc0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x14]
push eax
call fcn.004029b0
mov dword [ebp - 0x2c], eax
mov ecx, 0x49c320
call fcn.0046c9c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004034b0
jmp 0x45c1ec
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00406a20
mov ecx, dword [ebp - 0x24]
add ecx, 8
call fcn.00406a20
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.00406a20
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
call fcn.00406a20
mov ecx, dword [ebp - 0x24]
add ecx, 0x38
call fcn.00406a20
mov ecx, dword [ebp - 0x24]
add ecx, 0x48
call fcn.00406a20
mov ecx, dword [ebp - 0x24]
add ecx, 0x58
call fcn.00406a20
mov ecx, dword [0x49c5a4]
call fcn.00406620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x45c600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x497750]
xor eax, ebp
mov dword [ebp - 0x28], eax
call fcn.004046a0
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45c6d4
lea eax, [ebp + 8]
push eax
push str._RedirectSource__File_Not_Exists:
lea ecx, [ebp - 0x24]
push ecx
call fcn.00401950
add esp, 0xc
mov ecx, eax
call fcn.00406be0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45c65d
mov dword [ebp - 0x2c], 0
jmp 0x45c6ac
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x45c67f
mov dword [ebp - 0x30], 0
jmp 0x45c6a6
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004456f0
mov dword [ebp - 0x34], esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00404650
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043afc2
push 0x48f5c8
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004419cf
lea ecx, [ebp - 0x24]
call fcn.004034b0
lea edx, [ebp + 8]
push edx
mov ecx, 0x49c5a0
call fcn.00403400
lea eax, [ebp + 8]
push eax
mov ecx, 0x49c3ec
call fcn.00403400
lea ecx, [ebp + 8]
call fcn.004034b0
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0043ad5b
mov esp, ebp
pop ebp
ret
Function at 0x45d400
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x497750]
xor eax, ebp
mov dword [ebp - 0x50], eax
call fcn.004046a0
mov dword [ebp - 0x2c], eax
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00426d12
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp + 8]
push edx
call fcn.004029b0
call fcn.0045bfd0
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
je 0x45d4ef
lea eax, [ebp + 8]
push eax
push str._PrivilegePath__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00401950
add esp, 0xc
mov ecx, eax
call fcn.00406be0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45d478
mov dword [ebp - 0x54], 0
jmp 0x45d4c7
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x45d49a
mov dword [ebp - 0x58], 0
jmp 0x45d4c1
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004456f0
mov dword [ebp - 0x5c], esp
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00404650
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
call fcn.0043afc2
push 0x48f5c8
lea ecx, [ebp - 0x44]
push ecx
call fcn.004419cf
lea ecx, [ebp - 0x4c]
call fcn.004034b0
push 0
lea ecx, [ebp - 0x28]
call fcn.00426cee
push eax
lea ecx, [ebp - 0x28]
call fcn.004085b0
push eax
lea ecx, [ebp - 0xc]
call fcn.004029b0
lea ecx, [ebp - 0xc]
call fcn.00406be0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45d538
lea ecx, [ebp - 0xc]
call fcn.004034b0
lea ecx, [ebp - 0x28]
call fcn.00426e29
lea ecx, [ebp + 8]
call fcn.004034b0
jmp 0x45d561
lea ecx, [ebp - 0xc]
call fcn.00405610
push eax
call fcn.00459e40
add esp, 4
lea ecx, [ebp - 0xc]
call fcn.004034b0
lea ecx, [ebp - 0x28]
call fcn.00426e29
lea ecx, [ebp + 8]
call fcn.004034b0
lea esp, [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.0043ad5b
mov esp, ebp
pop ebp
ret
Function at 0x460520
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.004046a0
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x460565
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str._PinTaskBar__Source_link_not_exists:
push eax
call fcn.00401950
add esp, 0xc
mov ecx, 0x49c320
call fcn.0046c9c0
jmp 0x46058a
cmp dword [0x49c448], 6
jb 0x46058a
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00406be0
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.004034b0
mov esp, ebp
pop ebp
ret