Function at 0x4d8ce0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x606690
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, ecx
mov ecx, dword [ebp + 4]
push 0x634254
lea eax, [esp + 0x1c]
push eax
mov esi, 2
push ecx
mov dword [ebp + 8], esi
call fcn.004c5f50
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 1
lea eax, [esp + 0x18]
push eax
call edx
mov byte [esp + 0x50], 1
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x4d8d71
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x4d8dd5
cmp ecx, eax
jg 0x4d8dd5
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4d8d71
push 0x5c
lea edi, [esp + 0x18]
call fcn.0040af90
push 9
push str.local.dat
lea eax, [esp + 0x1c]
push eax
call fcn.0040aee0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004d3320
cmp dword [esp + 0x28], ebx
ja 0x4d8ddf
jb 0x4d8db6
cmp dword [esp + 0x24], esi
jae 0x4d8ddf
push ebx
push 0x633154
mov ecx, ebp
call fcn.004c6880
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
add esp, 8
mov ecx, ebp
call edx
jmp 0x4d8fa3
push 0x80070057
call fcn.00403650
mov eax, dword [esp + 0x18]
push eax
push eax
call fcn.004c6090
add esp, 8
cmp eax, ebx
push ebx
jl 0x4d8f8a
mov ecx, dword [esp + 0x18]
push 0x80
push 4
push ebx
push 7
push 0x40000000
xor edi, edi
push ecx
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4d8ecc
call fcn.0040f010
cmp eax, ebx
jl 0x4d8e3e
push ebx
push ebx
lea esi, [esp + 0x24]
call fcn.00433ef0
cmp edi, ebx
je 0x4d8e3e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x50], 2
push str.LastSynclTime
lea edx, [esp + 0x24]
mov ecx, str.SOFTWARETencentQQPinyin
mov dword [esp + 0x24], ebx
call fcn.00479b30
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
add esp, 4
push edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
call fcn.005d58b8
mov esi, eax
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp esi, ebx
mov byte [esp + 0x50], 3
je 0x4d8ed7
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0x14]
add ecx, 1
push ecx
cdq
mov ecx, 0x64
idiv ecx
push edx
push str.20_d_d_d
jmp 0x4d8ef9
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x4d8e28
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x3a]
movzx ecx, word [esp + 0x36]
movzx edx, word [esp + 0x34]
push eax
push ecx
push edx
push str._d_d_d
lea edi, [esp + 0x2c]
call fcn.0040ac80
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
mov esi, dword [esp + 0x2c]
mov edx, dword [eax + 0x14]
add esp, 0x10
push esi
call edx
push eax
push str.qpy__u__s_uinp.log
lea edi, [esp + 0x30]
call fcn.0040ac80
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp + 4]
mov edi, dword [esp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
add esp, 0xc
push edx
push edi
push ebp
call eax
lea eax, [esi - 0x10]
mov dword [ebp + 8], 2
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d8f63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x50], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d8f84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], bl
jmp 0x4d8fb6
push 0x633154
mov ecx, ebp
call fcn.004c6880
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
add esp, 8
mov ecx, ebp
call eax
fld1
mov byte [esp + 0x50], bl
fstp dword [ebp + 0xc]
mov dword [ebp + 8], 1
mov dword [ebp + 0x14], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d8fd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d8ffe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret