Function at 0x511414
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
push 0
lea eax, [ebp - 0x50]
mov edi, ecx
push eax
mov dword [ebp - 4], edi
call fcn.00510a4e
push eax
call fcn.00520fef
pop ecx
lea ecx, [ebp - 0x50]
call fcn.00403f80
push 1
sub esp, 0x18
mov ecx, esp
push str.QBPin.exe
call fcn.0040921d
lea eax, [ebp - 0x50]
push eax
call fcn.00507881
mov ecx, eax
call fcn.005078b1
push eax
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.005ad360
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.00403f80
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x511494
lea eax, [ebp - 0x20]
push eax
call fcn.00521001
pop ecx
lea ebx, [edi + 0xd4]
mov ecx, ebx
call fcn.00505933
mov ecx, ebx
movzx esi, al
call fcn.005058c4
test al, al
jne 0x511694
mov esi, dword [edi + 0x740]
lea ecx, [ebp - 0x38]
push 0x607d68
call fcn.0040921d
mov eax, esi
neg eax
sbb eax, eax
add eax, 5
push eax
lea eax, [ebp - 0x38]
push eax
push 2
call fcn.005aaa10
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00403f80
test esi, esi
je 0x51162a
mov ecx, ebx
call fcn.00505942
test al, al
je 0x511578
push dword [0x62a310]
lea ecx, [ebp - 0x38]
call fcn.0040921d
mov esi, 0x601ce8
push esi
call fcn.00553a47
pop ecx
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00409b94
mov esi, dword [str.daohang.qq.com__frshortcut]
push esi
call fcn.00553a47
pop ecx
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00409b94
push dword [0x62a36c]
lea ecx, [ebp - 0x50]
call fcn.0040921d
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.0050feee
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
push 1
lea ecx, [ebp - 4]
call fcn.0050d060
lea ecx, [ebp - 0x68]
call fcn.00403f80
lea ecx, [ebp - 0x50]
call fcn.00403f80
lea ecx, [ebp - 0x38]
call fcn.00403f80
push dword [0x62a360]
lea ecx, [ebp - 0x38]
call fcn.0040921d
push dword [0x62a310]
lea ecx, [ebp - 0x50]
call fcn.0040921d
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.00510d0a
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
push 1
lea ecx, [ebp - 4]
call fcn.0050d060
lea ecx, [ebp - 0x68]
call fcn.00403f80
lea ecx, [ebp - 0x50]
call fcn.00403f80
lea ecx, [ebp - 0x38]
call fcn.00403f80
mov esi, 0x5f9b84
lea ecx, [ebp - 0x38]
push esi
call fcn.0040921d
push esi
lea ecx, [ebp - 0x50]
call fcn.0040921d
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.00510d0a
mov ecx, ebx
mov esi, eax
call fcn.00505793
lea ecx, [ebp - 0x38]
movzx eax, al
push ecx
push esi
lea ecx, [ebp - 0x50]
push ecx
push 0
push eax
push 0x68
push 0x7d6
mov ecx, edi
call fcn.0050eebb
lea ecx, [ebp - 0x68]
call fcn.00403f80
lea ecx, [ebp - 0x50]
call fcn.00403f80
lea ecx, [ebp - 0x38]
call fcn.00403f80
mov ecx, ebx
call fcn.00505924
test al, al
je 0x511687
push dword [0x62a360]
lea ecx, [ebp - 0x38]
call fcn.0040921d
push dword [0x62a31c]
lea ecx, [ebp - 0x50]
call fcn.0040921d
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.00510d0a
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
lea ecx, [ebp - 4]
call fcn.0050d060
lea ecx, [ebp - 0x68]
call fcn.00403f80
lea ecx, [ebp - 0x50]
call fcn.00403f80
lea ecx, [ebp - 0x38]
call fcn.00403f80
lea ecx, [ebp - 0x20]
call fcn.00403f80
pop edi
pop esi
pop ebx
leave
ret
mov ecx, edi
call fcn.00510711
cmp eax, 1
je 0x5114e6
and dword [ebp - 8], 0
lea ecx, [ebp - 0x38]
push 0x607d68
call fcn.0040921d
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x38]
push eax
push 2
call fcn.005ab780
add esp, 0x10
lea ecx, [ebp - 0x38]
call fcn.00403f80
test esi, esi
je 0x51162a
cmp dword [ebp - 8], 5
jmp 0x5114e8