Function at 0x406370
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443547
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x4513a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
push str.Download
mov eax, dword [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0040b570
add esp, 0xc
mov dword [ebp - 4], 0
push 0x44b23c
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.0040b570
add esp, 0xc
mov byte [ebp - 4], 1
push str.dl.dll
mov ecx, dword [ebp - 0xf0]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0040b570
add esp, 0xc
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x48]
call fcn.0040a370
push eax
lea ecx, [ebp - 0x64]
call fcn.0040a370
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x80]
call fcn.0040a210
mov byte [ebp - 4], 3
lea eax, [ebp - 0x80]
push eax
call fcn.00410510
add esp, 4
push str.Common_FilesBaiduBDDownload108
lea ecx, [ebp - 0x80]
call fcn.0040a350
push str._bddownloader.exe
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0040b570
add esp, 0xc
mov byte [ebp - 4], 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd8], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a240
mov dword [ebp - 0xf4], eax
call fcn.004110a0
add esp, 0x1c
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jne 0x40658f
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xdc], esp
lea edx, [ebp - 0x80]
push edx
call fcn.0040a240
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xe0], esp
lea edx, [ebp - 0x9c]
push edx
call fcn.0040a240
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 4
call fcn.00411500
add esp, 0x38
push 0x44b2cc
lea ecx, [ebp - 0x2c]
call fcn.0040a370
push eax
call fcn.0041f9c0
add esp, 8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040a240
mov byte [ebp - 4], 6
push str._RegServer
lea ecx, [ebp - 0xd4]
call fcn.0040a290
mov byte [ebp - 4], 7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xe4], esp
lea edx, [ebp - 0xd4]
push edx
call fcn.0040a240
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xe8], esp
lea edx, [ebp - 0xb8]
push edx
call fcn.0040a240
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xf0]
call fcn.00404950
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.0040a2d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.0040a2d0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xec], esp
lea eax, [ebp - 0x9c]
push eax
call fcn.0040a240
mov dword [ebp - 0x114], eax
call fcn.00411250
add esp, 0x1c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0040a2d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.0040a2d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0040a2d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0040a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0040a2d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004208a1
mov esp, ebp
pop ebp
ret