Function at 0x44d4a0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50645d
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x52f8b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x274], edi
cmp dword [edi + 8], 0
lea eax, [edi + 8]
mov dword [ebp - 0x270], eax
jne 0x44d8f1
push 0x5277f8
lea ecx, [ebp - 0x24c]
call fcn.004022e0
mov eax, dword [section..data]
mov ecx, section..data
mov dword [ebp - 4], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x268]
push 0xa
push eax
mov byte [ebp - 4], 1
call fcn.00440a40
push 0x5277f8
push dword [eax]
lea eax, [ebp - 0x26c]
push str._simage._s.db
push eax
mov byte [ebp - 4], 2
call fcn.00401d50
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
or ebx, 0xffffffff
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44d570
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44d911
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 3
call fcn.00440ba0
push str.image.db
push dword [eax]
lea eax, [ebp - 0x278]
push 0x510e44
push eax
mov byte [ebp - 4], 4
call fcn.00401d50
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
add esp, 0x14
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d5ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x278]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44d656
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d61b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x44d636
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x238], 8
jb 0x44d8f1
push dword [ebp - 0x24c]
call fcn.0041a777
add esp, 4
jmp 0x44d8f1
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44d6a5
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d681
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x44d8e6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44d8e6
push esi
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call fcn.0040d090
push dword [eax + 8]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 6
call fcn.004014d0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 8
call fcn.0040d160
push 0x20
call fcn.0041b301
add esp, 4
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x44d716
cmp dword [ebp - 0x220], 0x10
push 0
push 0
push dword [0x511150]
lea ecx, [ebp - 0x234]
cmovae ecx, dword [ebp - 0x234]
push ecx
mov ecx, eax
call fcn.0044ed40
jmp 0x44d718
xor eax, eax
mov ecx, dword [ebp - 0x270]
push eax
mov byte [ebp - 4], 8
call fcn.0044a8b0
lea ecx, [ebp - 0x234]
call fcn.00401530
mov eax, dword [ebp - 0x274]
push 0x206
mov byte [eax + 4], 1
xor eax, eax
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 4], 3
call fcn.0041f040
lea eax, [ebp - 0x21c]
push eax
push str.LastVersion
push str.SoftwareTencentQQPinyin
call fcn.004413b0
add esp, 0x18
test eax, eax
je 0x44d868
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x268]
call fcn.004023b0
lea eax, [ebp - 0x270]
push 0xa
push eax
mov byte [ebp - 4], 0xb
call fcn.00440a40
push dword [ebp - 0x268]
mov byte [ebp - 4], 0xc
push dword [eax]
lea eax, [ebp - 0x26c]
push str._simage._s.db
push eax
call fcn.00401d50
add esp, 0x18
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0xb
call fcn.004013d0
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44d85d
push esi
lea ecx, [ebp - 0x284]
call fcn.0040d090
push dword [eax + 8]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xd
call fcn.004014d0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0xf
call fcn.0040d160
cmp dword [ebp - 0x220], 0x10
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.004014d0
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x264]
push eax
mov byte [ebp - 4], 0x10
call fcn.0044db40
lea ecx, [ebp - 0x264]
call fcn.00401530
lea ecx, [ebp - 0x234]
call fcn.00401530
lea ecx, [ebp - 0x268]
call fcn.004013d0
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d885
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x274]
mov eax, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [edi + 0x20], eax
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x44d8ac
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x238], 8
jb 0x44d8c3
push dword [ebp - 0x24c]
call fcn.0041a777
add esp, 4
mov eax, 1
jmp 0x44d8f3
lea ecx, [ebp - 0x24c]
call fcn.00402340
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041a77c
mov esp, ebp
pop ebp
ret 8
push esi
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x11
call fcn.0040d090
push dword [eax + 8]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x12
call fcn.004014d0
mov eax, dword [ebp - 0x27c]
mov byte [ebp - 4], 0x14
mov dword [ebp - method.CodeConvertForCpp::UnicodeToUtf8.virtual_0], vtable.CodeConvertForCpp::UnicodeToUtf8.0
test eax, eax
je 0x44d95e
push eax
call fcn.0041c5aa
add esp, 4
mov dword [ebp - 0x27c], 0
push 0x20
mov dword [ebp - method.fund::noncopyable.virtual_0], vtable.fund::noncopyable.0
call fcn.0041b301
add esp, 4
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x44d9a8
cmp dword [ebp - 0x220], 0x10
push 0
push 0
push dword [0x511150]
lea ecx, [ebp - 0x234]
cmovae ecx, dword [ebp - 0x234]
push ecx
mov ecx, eax
call fcn.0044ed40
jmp 0x44d9aa
xor eax, eax
push eax
lea ecx, [edi + 8]
mov byte [ebp - 4], 0x14
call fcn.0044a8b0
cmp dword [ebp - 0x220], 0x10
jb 0x44d9ce
push dword [ebp - 0x234]
call fcn.0041a777
add esp, 4
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 1
je 0x44db2b
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.0041f040
lea eax, [ebp - 0x21c]
push eax
push str.LastVersion
push str.SoftwareTencentQQPinyin
call fcn.004413b0
add esp, 0x18
test eax, eax
je 0x44db2b
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x268]
call fcn.004023b0
lea eax, [ebp - 0x270]
push 0xa
push eax
mov byte [ebp - 4], 0x17
call fcn.00440a40
push dword [ebp - 0x268]
mov byte [ebp - 4], 0x18
push dword [eax]
lea eax, [ebp - 0x26c]
push str._simage._s.db
push eax
call fcn.00401d50
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 0x17
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44da82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44db08
push esi
lea ecx, [ebp - 0x284]
call fcn.0040d090
push dword [eax + 8]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x19
call fcn.004014d0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x1b
call fcn.0040d160
cmp dword [ebp - 0x220], 0x10
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.004014d0
lea eax, [ebp - 0x264]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1c
call fcn.0044db40
lea ecx, [ebp - 0x264]
call fcn.00401530
lea ecx, [ebp - 0x234]
call fcn.00401530
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44db2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [edi + 4], 1
jmp 0x44d88b