Function at 0x401950
Capabilities:
Accept command line arguments
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4284f1
mov eax, dword fs:[0]
push eax
sub esp, 0x180
push esi
mov eax, dword [0x430090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x18], 1
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 1
jle 0x40201e
push str._backuppdb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call fcn.004281af
add esp, 8
test eax, eax
jne 0x401e00
lea ecx, [ebp - 0x34]
call fcn.004035c0
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x429884
call fcn.00406800
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push ecx
lea ecx, [ebp - 0x34]
call fcn.00404d20
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004050d0
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x4298a4
call fcn.00406800
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 4
push ecx
mov edx, esp
mov dword [ebp - 0x84], esp
push edx
lea ecx, [ebp - 0x34]
call fcn.00404d20
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004050d0
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 6
push 0
push 0x20
push 3
push 0
push 0
push 0x80000000
lea ecx, [ebp - 0x3c]
call fcn.004071c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x401dcd
mov dword [ebp - 0x44], 0
xor edx, edx
mov dword [ebp - 0x40], edx
lea eax, [ebp - 0x44]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x58]
call fcn.00404610
lea ecx, [ebp - 0x48]
call fcn.00406740
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.00404ba0
push eax
lea ecx, [ebp - 0x58]
call fcn.00404b50
push eax
lea ecx, [ebp - 0x58]
call fcn.00404b00
push eax
lea ecx, [ebp - 0x58]
call fcn.00404ab0
push eax
lea ecx, [ebp - 0x58]
call fcn.00404a60
push eax
lea ecx, [ebp - 0x58]
call fcn.00404970
push eax
push str._04d__02d__02d__02d_02d_02d
lea ecx, [ebp - 0x48]
push ecx
call fcn.004085c0
add esp, 0x20
push 0
lea edx, [ebp - 0x50]
push edx
call fcn.004021b0
add esp, 8
mov byte [ebp - 4], 8
push ecx
mov esi, esp
mov dword [ebp - 0x88], esp
lea eax, [ebp - 0x48]
push eax
push 0x4298fc
lea ecx, [ebp - 0x50]
push ecx
push 0x429900
lea edx, [ebp - 0x8c]
push edx
call fcn.00407050
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xfc]
push ecx
lea edx, [ebp - 0x90]
push edx
call fcn.00406fa0
add esp, 0xc
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x104]
push ecx
push esi
call fcn.00406ef0
add esp, 0xc
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], edx
mov byte [ebp - 4], 0xb
push ecx
mov eax, esp
mov dword [ebp - 0x94], esp
push eax
lea ecx, [ebp - 0x34]
call fcn.00404d20
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x114], ecx
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34]
call fcn.004050d0
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x90]
call fcn.00406900
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8c]
call fcn.00406900
lea eax, [ebp - 0x4c]
push eax
call fcn.00402040
add esp, 4
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push str.pcmastersvc.exe
call fcn.00406800
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.004067a0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa0]
push ecx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
call fcn.004050d0
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x130]
call fcn.004071c0
push eax
lea ecx, [ebp - 0x3c]
call fcn.004071c0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
call fcn.00406900
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
push str.pcmastersvc.pdb
call fcn.00406800
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0x13
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.004067a0
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xac]
push ecx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
call fcn.004050d0
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x148], edx
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x148]
call fcn.004071c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004071c0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xac]
call fcn.00406900
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4c]
call fcn.00406900
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
call fcn.00406900
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00406900
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00406900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00406900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004037d0
jmp 0x40201e
push 0x429970
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call fcn.004281af
add esp, 8
test eax, eax
je 0x401e34
push str._install
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call fcn.004281af
add esp, 8
test eax, eax
jne 0x401fac
lea ecx, [ebp - 0x74]
call fcn.004035c0
mov dword [ebp - 4], 0x16
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
push str.pcmasterpcmastersvc.exe
call fcn.00406800
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x150], ecx
mov byte [ebp - 4], 0x17
push ecx
mov edx, esp
mov dword [ebp - 0xb4], esp
push edx
lea ecx, [ebp - 0x74]
call fcn.00404c40
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x5c]
push ecx
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x74]
call fcn.004050d0
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 0x19
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
push 0x4299c0
call fcn.00406800
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
push str.UIGroup
call fcn.00406800
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 0x1b
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.004067a0
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
push str.PCMaster_Service
call fcn.00406800
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 4], 0x1d
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
push 0x429a54
call fcn.00406800
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x184], edx
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x19
call fcn.00401470
add esp, 0x18
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x5c]
call fcn.00406900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004037d0
jmp 0x40201e
push 0x429a6c
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call fcn.004281af
add esp, 8
test eax, eax
je 0x401fdc
push str._uninstall
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call fcn.004281af
add esp, 8
test eax, eax
jne 0x40201e
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push 0x429a8c
call fcn.00406800
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 4], 0x1f
mov dword [ebp - 4], 0xffffffff
call fcn.004017f0
add esp, 4
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret