joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c520
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
call fcn.00405850
mov dword [ebp - 0xc], eax
cmp dword [0x4a2524], 6
jae 0x45c54e
lea ecx, [ebp + 8]
call fcn.00401870
jmp 0x45c62b
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45c56e
lea ecx, [ebp + 8]
call fcn.00401870
jmp 0x45c62b
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 0x45c623
mov dword [ebp - 0x18], 1
lea ecx, [ebp + 8]
call fcn.00407f80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45c5b2
mov dword [ebp - 0x20], 0
jmp 0x45c601
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 0x45c5d4
mov dword [ebp - 0x24], 0
jmp 0x45c5fb
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00446410
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.00405800
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.00401870
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043bc9b
mov esp, ebp
pop ebp
ret
Function at 0x45c640
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call fcn.0043c487
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jae 0x45c66d
lea ecx, [ebp + 8]
call fcn.00401870
jmp 0x45c72d
lea ecx, [ebp - 8]
call fcn.004017e0
cmp dword [0x4a2524], 6
jae 0x45c6db
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 0x45c6d9
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 0x45c71d
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 0x45c71d
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.00401870
lea ecx, [ebp + 8]
call fcn.00401870
mov esp, ebp
pop ebp
ret

Function at 0x45ce50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
call fcn.004035f0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
call fcn.004017e0
mov dword [ebp - 0x10], 0
jmp 0x45ce83
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0xa
jge 0x45cecb
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.00401890
add esp, 0x10
push 3
lea ecx, [ebp - 8]
call fcn.00407f80
push eax
lea ecx, [ebp - 4]
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45cec9
mov dword [ebp - 0xc], 1
jmp 0x45cecb
jmp 0x45ce7a
cmp dword [ebp - 0xc], 0
je 0x45cee4
push 5
push 0
lea ecx, [ebp - 8]
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 8]
call fcn.00401870
lea ecx, [ebp - 4]
call fcn.00401870
lea ecx, [ebp + 8]
call fcn.00401870
mov esp, ebp
pop ebp
ret
Function at 0x45cfa0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47aab4
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49d7b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x4a2688]
call fcn.00407a30
mov dword [ebp - 0x10], 0
jmp 0x45cfe5
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00404180
cmp dword [ebp - 0x10], eax
jae 0x45d0f3
push 0x1388
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00401e50
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45d091
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00401e50
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [ebp - 0x18]
call fcn.004017e0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00401e50
mov eax, dword [eax]
push eax
push str.Execute_Command_Thread__d_Terminated_
lea ecx, [ebp - 0x18]
push ecx
call fcn.00401890
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x18]
push edx
call fcn.004035f0
mov dword [ebp - 0x28], eax
mov ecx, 0x4a23f0
call fcn.0046f070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401870
lea ecx, [ebp - 0x14]
call fcn.004017e0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00401e50
mov ecx, dword [eax]
push ecx
push str.Execute_Command_Thread__d_Exited_
lea edx, [ebp - 0x14]
push edx
call fcn.00401890
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x14]
push eax
call fcn.004035f0
mov dword [ebp - 0x2c], eax
mov ecx, 0x4a23f0
call fcn.0046f070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401870
jmp 0x45cfdc
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00407e20
mov ecx, dword [ebp - 0x24]
add ecx, 8
call fcn.00407e20
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
call fcn.00407e20
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
call fcn.00407e20
mov ecx, dword [ebp - 0x24]
add ecx, 0x38
call fcn.00407e20
mov ecx, dword [ebp - 0x24]
add ecx, 0x48
call fcn.00407e20
mov ecx, dword [ebp - 0x24]
add ecx, 0x58
call fcn.00407e20
mov ecx, dword [0x4a2688]
call fcn.00407a50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x45d3f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00405850
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45d435
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str._UnPinStartMenu__Source_link_not_exists:
push eax
call fcn.00404090
add esp, 0xc
mov ecx, 0x4a23f0
call fcn.0046f070
jmp 0x45d45a
cmp dword [0x4a2524], 6
jb 0x45d45a
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
push str.startunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00401870
mov esp, ebp
pop ebp
ret

Function at 0x45d470
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00405850
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45d4b5
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str._PinStartMenu__Source_link_not_exists:
push eax
call fcn.00404090
add esp, 0xc
mov ecx, 0x4a23f0
call fcn.0046f070
jmp 0x45d4da
cmp dword [0x4a2524], 6
jb 0x45d4da
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
push str.startpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00401870
mov esp, ebp
pop ebp
ret

Function at 0x45d770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0x28], eax
call fcn.00405850
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45d844
lea eax, [ebp + 8]
push eax
push str._RedirectSource__File_Not_Exists:
lea ecx, [ebp - 0x24]
push ecx
call fcn.00404090
add esp, 0xc
mov ecx, eax
call fcn.00407f80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45d7cd
mov dword [ebp - 0x2c], 0
jmp 0x45d81c
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 0x45d7ef
mov dword [ebp - 0x30], 0
jmp 0x45d816
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00446410
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.00405800
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.0043c19f
push 0x4947ec
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00442d86
lea ecx, [ebp - 0x24]
call fcn.00401870
lea edx, [ebp + 8]
push edx
mov ecx, 0x4a2684
call fcn.00403920
lea eax, [ebp + 8]
push eax
mov ecx, 0x4a24bc
call fcn.00403920
lea ecx, [ebp + 8]
call fcn.00401870
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0043bc9b
mov esp, ebp
pop ebp
ret
Function at 0x45e580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0x50], eax
call fcn.00405850
mov dword [ebp - 0x2c], eax
push 0xa
lea ecx, [ebp - 0x28]
call fcn.0042a052
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp + 8]
push edx
call fcn.004035f0
call fcn.0045cf00
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
je 0x45e66f
lea eax, [ebp + 8]
push eax
push str._PrivilegePath__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00404090
add esp, 0xc
mov ecx, eax
call fcn.00407f80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45e5f8
mov dword [ebp - 0x54], 0
jmp 0x45e647
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 0x45e61a
mov dword [ebp - 0x58], 0
jmp 0x45e641
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00446410
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.00405800
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.0043c19f
push 0x4947ec
lea ecx, [ebp - 0x44]
push ecx
call fcn.00442d86
lea ecx, [ebp - 0x4c]
call fcn.00401870
push 0
lea ecx, [ebp - 0x28]
call fcn.0042a02e
push eax
lea ecx, [ebp - 0x28]
call fcn.00408af0
push eax
lea ecx, [ebp - 0xc]
call fcn.004035f0
lea ecx, [ebp - 0xc]
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e6b8
lea ecx, [ebp - 0xc]
call fcn.00401870
lea ecx, [ebp - 0x28]
call fcn.0042a169
lea ecx, [ebp + 8]
call fcn.00401870
jmp 0x45e6e1
lea ecx, [ebp - 0xc]
call fcn.00406b60
push eax
call fcn.0045af60
add esp, 4
lea ecx, [ebp - 0xc]
call fcn.00401870
lea ecx, [ebp - 0x28]
call fcn.0042a169
lea ecx, [ebp + 8]
call fcn.00401870
lea esp, [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.0043bc9b
mov esp, ebp
pop ebp
ret
Function at 0x45f650
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x49d7b0]
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 0x45f6b4
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.00401870
mov eax, dword [ebp - 0x248]
jmp 0x45f767
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 0x45f745
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.004039f0
lea ecx, [ebp - 0x244]
call fcn.00401d80
lea ecx, [ebp + 8]
call fcn.00401d80
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00405970
add esp, 8
movzx edx, al
test edx, edx
je 0x45f735
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x244]
call fcn.00401870
lea ecx, [ebp + 8]
call fcn.00401870
mov eax, dword [ebp - 0x24c]
jmp 0x45f767
lea ecx, [ebp - 0x244]
call fcn.00401870
jmp 0x45f6bb
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.00401870
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043bc9b
mov esp, ebp
pop ebp
ret
Function at 0x460620
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00405850
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x460665
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push str._UnPinTaskBar__Source_link_not_exists:
push eax
call fcn.00404090
add esp, 0xc
mov ecx, 0x4a23f0
call fcn.0046f070
jmp 0x46068a
cmp dword [0x4a2524], 6
jb 0x46068a
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00401870
mov esp, ebp
pop ebp
ret

Function at 0x4606a0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.00405850
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4606e5
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
push ecx
push 0x486438
push eax
call fcn.00404090
add esp, 0xc
mov ecx, 0x4a23f0
call fcn.0046f070
jmp 0x46070a
cmp dword [0x4a2524], 6
jb 0x46070a
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.00401870
mov esp, ebp
pop ebp
ret
Function at 0x461b80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ac1b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0x40], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.00405850
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x461c8f
lea eax, [ebp + 8]
push eax
push str._RegDLL__Source_file_not_found:
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00404090
add esp, 0xc
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
call fcn.00407f80
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x461c11
mov dword [ebp - 0x50], 0
jmp 0x461c63
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x461c33
mov dword [ebp - 0x54], 0
jmp 0x461c5d
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.00446410
mov dword [ebp - 0x58], esp
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
shl edx, 1
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00405800
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0043c19f
push 0x4947ec
lea edx, [ebp - 0x34]
push edx
call fcn.00442d86
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401870
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x461d0b
mov byte [ebp - 4], 2
push str.DllRegisterServer
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x461cc6
call dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x461d04
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401870
lea esp, [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0043bc9b
mov esp, ebp
pop ebp
ret
Function at 0x462780
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4627be
or dword [ebp - 0x14], 1
lea eax, [ebp + 8]
push eax
push str.RMEmptyDir_Success:
lea ecx, [ebp - 0xc]
push ecx
call fcn.00404090
add esp, 0xc
mov dword [ebp - 0x18], eax
jmp 0x4627da
or dword [ebp - 0x14], 2
lea edx, [ebp + 8]
push edx
push str.RMEmptyDirFailed:
lea eax, [ebp - 0x10]
push eax
call fcn.00404090
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
mov edx, dword [ebp - 8]
push edx
call fcn.004035f0
mov ecx, 0x4a23f0
call fcn.0046f070
mov eax, dword [ebp - 0x14]
and eax, 2
je 0x46280d
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x10]
call fcn.00401870
mov ecx, dword [ebp - 0x14]
and ecx, 1
je 0x462821
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0xc]
call fcn.00401870
lea ecx, [ebp + 8]
call fcn.00401870
mov esp, ebp
pop ebp
ret

Function at 0x462830
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x462862
lea ecx, [ebp + 8]
call fcn.00401870
jmp 0x4628c1
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0xfffffffe
push eax
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp + 8]
call fcn.00407f80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4628b9
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
lea edx, [ebp + 8]
push edx
call fcn.004035f0
call fcn.0045ce50
add esp, 4
lea ecx, [ebp + 8]
call fcn.00401870
mov esp, ebp
pop ebp
ret
Function at 0x462bf0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x49d7b0]
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 0x462c44
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00401870
jmp 0x462d00
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 0x462ce4
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x244]
call fcn.004039f0
lea ecx, [ebp - 0x244]
call fcn.00401d80
lea ecx, [ebp + 8]
call fcn.00401d80
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00405970
add esp, 8
movzx edx, al
test edx, edx
je 0x462cd4
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 0x462cd4
push 0
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x244]
call fcn.00401870
jmp 0x462c4b
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00401870
jmp 0x462d00
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043bc9b
mov esp, ebp
pop ebp
ret
Function at 0x464e90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0x54], eax
call fcn.00405850
mov dword [ebp - 0x30], eax
push 0xa
lea ecx, [ebp - 0x2c]
call fcn.0042a052
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp + 8]
push edx
call fcn.004035f0
call fcn.0045cf00
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
je 0x464f7f
lea eax, [ebp + 8]
push eax
push str._DeleteNetVideoDestopShortCut__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x50]
push ecx
call fcn.00404090
add esp, 0xc
mov ecx, eax
call fcn.00407f80
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x464f08
mov dword [ebp - 0x5c], 0
jmp 0x464f57
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x464f2a
mov dword [ebp - 0x60], 0
jmp 0x464f51
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00446410
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x64]
push eax
call fcn.00405800
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
call fcn.0043c19f
push 0x4947ec
lea ecx, [ebp - 0x48]
push ecx
call fcn.00442d86
lea ecx, [ebp - 0x50]
call fcn.00401870
push 0x4a2498
lea ecx, [ebp - 0x10]
call fcn.004035f0
push str.QiyiClientqiyi_sysset.ini
lea ecx, [ebp - 0x10]
call fcn.00406590
lea ecx, [ebp - 8]
call fcn.004017e0
lea ecx, [ebp - 0x10]
call fcn.00407f80
push eax
push 0x104
push 0x104
lea ecx, [ebp - 8]
call fcn.00401210
push eax
push 0x488d6c
push str.CreatNVShortCut
push str.INSTALL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x488da0
lea edx, [ebp - 8]
push edx
call fcn.00404140
add esp, 8
movzx eax, al
test eax, eax
je 0x465001
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp + 8]
push edx
call fcn.004035f0
call sym.QiyiInstaller.exe_Delete
add esp, 4
lea ecx, [ebp - 8]
call fcn.00401870
lea ecx, [ebp - 0x10]
call fcn.00401870
lea ecx, [ebp - 0x2c]
call fcn.0042a169
lea ecx, [ebp + 8]
call fcn.00401870
lea esp, [ebp - 0x64]
mov ecx, dword [ebp - 0x54]
xor ecx, ebp
call fcn.0043bc9b
mov esp, ebp
pop ebp
ret