Function at 0x54564c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
push ebx
push esi
push edi
push 0x5e2d34
xor ebx, ebx
mov edi, ecx
push 2
mov dword [ebp - 8], ebx
call fcn.004f46c0
push eax
call fcn.004f6ae0
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.004e3870
cmp dword [edi + 0x810], ebx
je 0x545762
xor esi, esi
lea ecx, [ebp - 0x88]
lea eax, [edi + 0x800]
push ecx
push eax
call fcn.004e03a0
pop ecx
pop ecx
test eax, eax
je 0x545704
push 0x208
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.005713c0
add esp, 0xc
lea eax, [ebp - 0x2a8]
lea ecx, [ebp - 0x88]
push eax
call fcn.004e0090
push eax
lea ecx, [ebp - 0x88]
call fcn.004e0080
push eax
call fcn.0045ba68
lea eax, [edi + 0x818]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x5456f1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00592981
pop ecx
pop ecx
test eax, eax
je 0x545722
inc esi
cmp esi, 3
jl 0x54568d
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x758], 0xc
mov dword [edi + 0x75c], eax
jmp 0x5458e3
push 0
lea eax, [ebp - 0x20]
push 4
push eax
lea esi, [edi + 0x88]
call fcn.004ca580
add esp, 0xc
lea ecx, [ebp - 0x88]
push eax
call fcn.004e0090
push eax
lea ecx, [ebp - 0x88]
call fcn.004e0080
push eax
mov ecx, esi
call fcn.005523aa
lea ecx, [ebp - 0x20]
call fcn.00403730
jmp 0x545768
lea esi, [edi + 0x88]
mov ecx, esi
call fcn.005522f5
and dword [ebp - 8], ebx
mov dword [ebp - 4], eax
xor esi, esi
inc esi
cmp eax, 2
jle 0x5457ee
push 0x60b2ac
lea ecx, [ebp - 0x20]
call fcn.00408981
lea eax, [ebp - 0x20]
or ebx, esi
push eax
push esi
lea ecx, [edi + 0x88]
call fcn.0055244a
neg eax
lea ecx, [ebp - 0x20]
sbb esi, esi
and ebx, 0xfffffffe
call fcn.00403730
neg esi
je 0x5457d9
push str.appdata
lea ecx, [ebp - 0x20]
call fcn.00408981
lea eax, [ebp - 0x20]
or ebx, 2
push eax
push 2
lea ecx, [edi + 0x88]
call fcn.0055244a
test eax, eax
je 0x5457d9
xor esi, esi
inc esi
jmp 0x5457db
xor esi, esi
test bl, 2
je 0x5457eb
lea ecx, [ebp - 0x20]
and ebx, 0xfffffffd
call fcn.00403730
mov eax, dword [ebp - 4]
cmp eax, 3
jle 0x545833
test esi, esi
je 0x545821
push 0x5e2d5c
lea ecx, [ebp - 0x20]
call fcn.00408981
lea eax, [ebp - 0x20]
or ebx, 4
push eax
push 3
lea ecx, [edi + 0x88]
call fcn.0055244a
test eax, eax
je 0x545821
xor esi, esi
inc esi
jmp 0x545823
xor esi, esi
test bl, 4
je 0x545833
lea ecx, [ebp - 0x20]
and ebx, 0xfffffffb
call fcn.00403730
test esi, esi
je 0x54589e
push 1
sub esp, 0x18
mov ecx, esp
push str.QQBrowser.exe
call fcn.00408981
lea eax, [ebp - 0xa0]
push eax
call fcn.00538737
mov ecx, eax
call fcn.00538767
push eax
lea eax, [ebp - 0x20]
push 5
push eax
call fcn.004ca5a0
add esp, 0x10
lea ecx, [ebp - 0xa0]
call fcn.00403730
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
jne 0x5458b2
push 0xc8
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [ebp - 0x20]
call fcn.00403730
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 3
jge 0x5458ba
mov eax, dword [ebp - 4]
jmp 0x545775
lea ecx, [ebp - 0x20]
call fcn.00403730
push 0x5e2d68
push 2
call fcn.004f46c0
push eax
call fcn.004f6ae0
add esp, 0xc
test esi, esi
jne 0x5458e3
and dword [edi + 0x75c], esi
mov dword [edi + 0x758], 8
lea ecx, [ebp - 0x2c]
call fcn.0040faf9
lea ecx, [ebp - 0x7c]
call fcn.004e4ec0
pop edi
pop esi
pop ebx
leave
ret