Function at 0x409680
Capabilities:
Copy file
Create directory
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x494ba7
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4ed394]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ed394]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov edi, ecx
push edi
mov dword [esp + 0x1c], edi
call fcn.0040a270
lea ecx, [esp + 0xa8]
call fcn.00411770
xor ebp, ebp
push 0xc
mov eax, 0x4bec60
lea ecx, [esp + 0xac]
mov dword [esp + 0xd4], ebp
call fcn.0040baa0
add edi, 0x1a8
push edi
mov ebx, 0x4bec60
lea esi, [esp + 0x90]
call fcn.0040d170
add esp, 4
mov byte [esp + 0xd0], 1
mov ecx, dword [esp + 0xac]
mov esi, 8
cmp dword [esp + 0xc0], esi
jae 0x40972e
lea ecx, [esp + 0xac]
mov eax, dword [esp + 0x90]
cmp dword [esp + 0xa4], esi
jae 0x409745
lea eax, [esp + 0x90]
push ebp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x38]
call fcn.004033c0
push esi
mov eax, str.PushApp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 2
call fcn.0040baa0
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x78], ax
mov ebx, 7
push ebp
mov eax, edi
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebp
call fcn.0040bb80
mov byte [esp + 0xd0], 3
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x4097ac
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.0047a38b
add esp, 8
test eax, eax
je 0x4097d0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x4097c8
lea eax, [esp + 0x3c]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xe
mov eax, str.SHPushApp.exe
lea ecx, [esp + 0x3c]
call fcn.0040baa0
push 0xe
mov eax, str.SHPushApp.exe
lea ecx, [esp + 0x74]
call fcn.0040baa0
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x4097fe
lea ecx, [esp + 0x3c]
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], esi
jae 0x40980f
lea eax, [esp + 0x74]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x409833
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], esi
jae 0x40982c
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x88], esi
jb 0x409849
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00479461
add esp, 4
xor edx, edx
mov byte [esp + 0xd0], 1
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], dx
cmp dword [esp + 0x50], esi
jb 0x409879
mov eax, dword [esp + 0x3c]
push eax
call fcn.00479461
add esp, 4
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x5c], cx
push ebp
mov eax, edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebp
call fcn.0040bb80
push edi
mov ebx, str.FileAssociationsTool.exe
lea esi, [esp + 0x3c]
mov byte [esp + 0xd4], 4
call fcn.0040d170
add esp, 4
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd8], 5
call fcn.0040bb80
cmp dword [esp + 0x50], 8
jb 0x4098d8
mov edx, dword [esp + 0x3c]
push edx
call fcn.00479461
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], ax
push 0xe
mov eax, str._EnableAutoRun
lea esi, [esp + 0x20]
mov byte [esp + 0xd4], 6
call fcn.0040c300
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.00411610
add esp, 4
push 0x13
mov eax, str._ModifyMainShortcut
call fcn.0040c300
lea edx, [esp + 0x54]
push edx
mov ecx, esi
call fcn.00411610
add esp, 4
push 2
mov eax, 0x4becf8
call fcn.0040c300
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.00411610
add esp, 4
push 6
mov eax, str._TIFOX
call fcn.0040c300
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.00411610
add esp, 4
push 0x1d
mov eax, str._ChangeSohuVARunToSHplayerRun
call fcn.0040c300
lea edx, [esp + 0x54]
push edx
mov ecx, esi
call fcn.00411610
add esp, 4
push 0xb
mov eax, str._ReleaseSWF
call fcn.0040c300
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.00411610
add esp, 4
push 0x10
mov eax, str._InstallSuccess
call fcn.0040c300
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x24c], ebp
push 1
mov ecx, esi
mov eax, 0x4bed88
jne 0x4099bf
mov eax, 0x4bed8c
call fcn.0040baa0
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x20]
call fcn.00411610
add esp, 4
push edi
mov ebx, 0x4bed90
lea esi, [esp + 0x3c]
call fcn.0040d170
add esp, 4
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd8], 7
call fcn.0040bb80
mov byte [esp + 0xd0], 6
cmp dword [esp + 0x50], 8
jb 0x409a17
mov eax, dword [esp + 0x3c]
push eax
call fcn.00479461
add esp, 4
push 0xa
mov eax, str._RegServer
lea esi, [esp + 0x20]
call fcn.0040c300
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.00411610
add esp, 4
push edi
mov ebx, 0x4bedc0
lea esi, [esp + 0x3c]
call fcn.0040d170
add esp, 4
push 0xffffffffffffffff
mov ebx, 8
push ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd8], bl
call fcn.0040bb80
mov byte [esp + 0xd0], 6
cmp dword [esp + 0x50], ebx
jb 0x409a7b
mov edx, dword [esp + 0x3c]
push edx
call fcn.00479461
add esp, 4
push 0xa
mov eax, str._RegServer
lea esi, [esp + 0x20]
call fcn.0040c300
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.00411610
add esp, 4
cmp dword [esp + 0x34], ebx
jb 0x409aad
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00479461
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], dx
cmp dword [esp + 0x6c], ebx
jb 0x409ad4
mov eax, dword [esp + 0x58]
push eax
call fcn.00479461
add esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], cx
cmp dword [esp + 0xa4], ebx
jb 0x409afc
mov edx, dword [esp + 0x90]
push edx
call fcn.00479461
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], ax
cmp dword [esp + 0xc0], ebx
jb 0x409b2d
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00479461
add esp, 4
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0047946c
add esp, 0xc0
ret