Function at 0x4cec30
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512805
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
je 0x4cec6e
call fcn.004ceab0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4cecc0
mov ecx, esi
call fcn.004ce470
test eax, eax
je 0x4cecc0
push 0x51f644
push 0x54bba8
call fcn.0048d420
add esp, 8
cmp dword [esi + 0x38], edi
jne 0x4ceca4
push 0
push 0x51f678
push 0x51f690
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esi]
mov ecx, esi
push 0x12
call dword [eax + 0x1c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x10], edi
jne 0x4ced9c
mov ecx, esi
call fcn.004ce730
test eax, eax
je 0x4ced29
push 0x51f730
push 0x54bba8
call fcn.0048d0e0
add esp, 8
cmp dword [esi + 0x38], edi
jne 0x4ced0d
push 1
push 0x51f758
push 0x51f770
push 0
call fcn.0048bad0
add esp, 0x10
cmp eax, 1
jne 0x4ced0d
mov ecx, esi
call fcn.004d43e0
mov eax, dword [esi]
mov ecx, esi
push 0x1d
call dword [eax + 0x1c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x10], edi
jne 0x4ced9c
mov ecx, esi
call fcn.004d26a0
test eax, eax
jne 0x4ced89
call fcn.0048a830
test eax, eax
je 0x4ced89
push 0x51f888
push 0x54bba8
call fcn.0048d0e0
add esp, 8
cmp dword [esi + 0x38], edi
jne 0x4ced6d
push 0
push 0x51f758
push 0x51f8ac
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esi]
mov ecx, esi
push 0x1e
call dword [eax + 0x1c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x10], edi
jne 0x4ced9c
cmp dword [esi + 8], edi
jne 0x4ced9c
mov ecx, esi
call fcn.004ce590
mov edi, eax
cmp dword [esi + 0x38], 0
jne 0x4cee96
mov eax, str._uid
test edi, edi
mov ecx, 0x51f8f4
cmovne ecx, eax
push ecx
mov ecx, esi
call fcn.004d4260
test eax, eax
jne 0x4cedef
push str.failed_to_close_rtp
push 0x54bba8
call fcn.0048d0e0
mov eax, dword [esi]
add esp, 8
mov ecx, esi
push 4
call dword [eax + 0x1c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.QQRepair.exe
add esi, 0x4c
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0048bbf0
add esp, 0xc
push 0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c020
push eax
call fcn.004c9970
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044c000
push str.QQRepair.exetmp
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0048bbf0
mov edi, eax
push str.QQRepair.exe
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.0048bbf0
add esp, 0x18
mov ecx, edi
mov esi, eax
call fcn.0044c020
push eax
mov ecx, esi
call fcn.0044c020
push eax
call fcn.004e4479
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.0044c000
lea ecx, [ebp - 0x18]
call fcn.0044c000
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4cee80
mov ecx, esi
call fcn.004ce6a0
test eax, eax
jne 0x4cee80
mov eax, dword [esi]
mov ecx, esi
push 7
call dword [eax + 0x1c]
push 0x51f930
push 0x54bba8
call fcn.0048d420
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret