Function at 0x4925a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xe4], 0
push 0
lea ecx, [ebp - 4]
call fcn.0041d970
push str.360conf.dll
push 0
lea eax, [ebp - 0x94]
push eax
call fcn.0040d0e0
add esp, 8
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.004123a0
add esp, 0xc
lea ecx, [ebp - 0x94]
call fcn.00413a40
lea ecx, [ebp - 8]
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x492652
push 0x5024fc
lea ecx, [ebp - 0x14]
call fcn.00413a00
push 0x502500
lea ecx, [ebp - 0x14]
call fcn.0041fe40
lea ecx, [ebp - 0x14]
call fcn.00413b20
push eax
lea edx, [ebp - 0x98]
push edx
call fcn.0040d000
add esp, 8
push eax
lea ecx, [ebp - 8]
call fcn.004121a0
lea ecx, [ebp - 0x98]
call fcn.00413a40
lea ecx, [ebp - 0x14]
call fcn.00413a40
lea ecx, [ebp - 8]
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x492682
lea ecx, [ebp - 8]
call fcn.00413a40
lea ecx, [ebp - 4]
call fcn.0041d650
lea ecx, [ebp + 8]
call fcn.00413a40
jmp 0x492cd5
lea ecx, [ebp - 8]
call fcn.00413b20
push eax
call fcn.0041fca0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4926b9
lea ecx, [ebp - 8]
call fcn.00413a40
lea ecx, [ebp - 4]
call fcn.0041d650
lea ecx, [ebp + 8]
call fcn.00413a40
jmp 0x492cd5
lea ecx, [ebp - 4]
call fcn.0041d9d0
push eax
call fcn.0041f180
add esp, 4
xor ecx, ecx
test eax, eax
setge cl
test ecx, ecx
jne 0x4926f2
lea ecx, [ebp - 8]
call fcn.00413a40
lea ecx, [ebp - 4]
call fcn.0041d650
lea ecx, [ebp + 8]
call fcn.00413a40
jmp 0x492cd5
xor edx, edx
mov word [ebp - 0xc], dx
lea ecx, [ebp - 4]
call fcn.0041d9c0
test eax, eax
je 0x4927af
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
lea ecx, [ebp - 0xc0]
call fcn.0049b400
or dword [ebp - 0xe4], 1
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xac], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xa8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xa4], edx
lea ecx, [ebp - 4]
call fcn.0041d9e0
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xc]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0xb0]
mov dword [ecx], edx
mov eax, dword [ebp - 0xac]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xa8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xa4]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0xec]
mov eax, dword [edx]
mov ecx, dword [eax + 0x8c]
call ecx
test eax, eax
jl 0x4927af
movsx edx, word [ebp - 0xc]
test edx, edx
je 0x4927af
mov dword [ebp - 0xf0], 1
jmp 0x4927b9
mov dword [ebp - 0xf0], 0
mov al, byte [ebp - 0xf0]
mov byte [ebp - 0x99], al
mov ecx, dword [ebp - 0xe4]
and ecx, 1
je 0x4927e2
and dword [ebp - 0xe4], 0xfffffffe
lea ecx, [ebp - 0xc0]
call fcn.004660b0
movzx edx, byte [ebp - 0x99]
test edx, edx
je 0x492cbd
lea ecx, [ebp - 0x1c]
call fcn.0041da70
lea ecx, [ebp - 4]
call fcn.0041d9e0
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x1c]
call fcn.0041dad0
push eax
push str.ADItems
lea ecx, [ebp - 0xc8]
call fcn.0041d4f0
or dword [ebp - 0xe4], 2
mov ecx, eax
call fcn.0041d4d0
push eax
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
jl 0x49285f
lea ecx, [ebp - 0x1c]
call fcn.0041dac0
test eax, eax
je 0x49285f
mov dword [ebp - 0xf8], 1
jmp 0x492869
mov dword [ebp - 0xf8], 0
mov cl, byte [ebp - 0xf8]
mov byte [ebp - 0xc1], cl
mov edx, dword [ebp - 0xe4]
and edx, 2
je 0x492892
and dword [ebp - 0xe4], 0xfffffffd
lea ecx, [ebp - 0xc8]
call fcn.0041d630
movzx eax, byte [ebp - 0xc1]
test eax, eax
je 0x492a4a
lea ecx, [ebp - 0x20]
call fcn.0041daf0
lea ecx, [ebp - 0x1c]
call fcn.0041dae0
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x20]
call fcn.0041db50
push eax
push str.ADItem
lea ecx, [ebp - 0xd0]
call fcn.0041d4f0
or dword [ebp - 0xe4], 4
mov ecx, eax
call fcn.0041d4d0
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x68]
call ecx
test eax, eax
jl 0x49290f
lea ecx, [ebp - 0x20]
call fcn.0041db40
test eax, eax
je 0x49290f
mov dword [ebp - 0x100], 1
jmp 0x492919
mov dword [ebp - 0x100], 0
mov dl, byte [ebp - 0x100]
mov byte [ebp - 0xc9], dl
mov eax, dword [ebp - 0xe4]
and eax, 4
je 0x492942
and dword [ebp - 0xe4], 0xfffffffb
lea ecx, [ebp - 0xd0]
call fcn.0041d630
movzx ecx, byte [ebp - 0xc9]
test ecx, ecx
je 0x492a42
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x20]
call fcn.0041db60
mov dword [ebp - 0x104], eax
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jl 0x492a42
cmp dword [ebp - 0x24], 0
jle 0x492a42
mov dword [ebp - 0x28], 0
jmp 0x4929a2
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x24]
jge 0x492a42
lea ecx, [ebp - 0x2c]
call fcn.0041da70
lea ecx, [ebp - 0x20]
call fcn.0041db60
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0x2c]
call fcn.0041dad0
push eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x108]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
test eax, eax
jl 0x492a35
lea ecx, [ebp - 0x2c]
call fcn.0041dac0
test eax, eax
je 0x492a35
lea ecx, [ebp - 0x60]
call fcn.00495190
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0041dac0
push eax
mov ecx, dword [ebp - 0xe8]
call fcn.00492fe0
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x492a2d
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0xe8]
call fcn.004954b0
lea ecx, [ebp - 0x60]
call fcn.00460000
lea ecx, [ebp - 0x2c]
call fcn.0041d690
jmp 0x492999
lea ecx, [ebp - 0x20]
call fcn.0041d6b0
lea ecx, [ebp - 0x18]
call fcn.0041da70
lea ecx, [ebp - 4]
call fcn.0041d9e0
mov dword [ebp - 0x10c], eax
lea ecx, [ebp - 0x18]
call fcn.0041dad0
push eax
push str.BubbleItems
lea ecx, [ebp - 0xd8]
call fcn.0041d4f0
or dword [ebp - 0xe4], 8
mov ecx, eax
call fcn.0041d4d0
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x6c]
call ecx
test eax, eax
jl 0x492ab8
lea ecx, [ebp - 0x18]
call fcn.0041dac0
test eax, eax
je 0x492ab8
mov dword [ebp - 0x110], 1
jmp 0x492ac2
mov dword [ebp - 0x110], 0
mov dl, byte [ebp - 0x110]
mov byte [ebp - 0xd1], dl
mov eax, dword [ebp - 0xe4]
and eax, 8
je 0x492aeb
and dword [ebp - 0xe4], 0xfffffff7
lea ecx, [ebp - 0xd8]
call fcn.0041d630
movzx ecx, byte [ebp - 0xd1]
test ecx, ecx
je 0x492cad
lea ecx, [ebp - 0x68]
call fcn.0041daf0
lea ecx, [ebp - 0x18]
call fcn.0041dae0
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x68]
call fcn.0041db50
push eax
push str.BubbleItem
lea ecx, [ebp - 0xe0]
call fcn.0041d4f0
or dword [ebp - 0xe4], 0x10
mov ecx, eax
call fcn.0041d4d0
push eax
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x68]
call edx
test eax, eax
jl 0x492b68
lea ecx, [ebp - 0x68]
call fcn.0041db40
test eax, eax
je 0x492b68
mov dword [ebp - 0x118], 1
jmp 0x492b72
mov dword [ebp - 0x118], 0
mov al, byte [ebp - 0x118]
mov byte [ebp - 0xd9], al
mov ecx, dword [ebp - 0xe4]
and ecx, 0x10
je 0x492b9b
and dword [ebp - 0xe4], 0xffffffef
lea ecx, [ebp - 0xe0]
call fcn.0041d630
movzx edx, byte [ebp - 0xd9]
test edx, edx
je 0x492ca5
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x68]
call fcn.0041db60
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
call ecx
test eax, eax
jl 0x492ca5
cmp dword [ebp - 0x6c], 0
jle 0x492ca5
mov dword [ebp - 0x70], 0
jmp 0x492bfb
mov edx, dword [ebp - 0x70]
add edx, 1
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x6c]
jge 0x492ca5
lea ecx, [ebp - 0x74]
call fcn.0041da70
lea ecx, [ebp - 0x68]
call fcn.0041db60
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x74]
call fcn.0041dad0
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
test eax, eax
jl 0x492c98
lea ecx, [ebp - 0x74]
call fcn.0041dac0
test eax, eax
je 0x492c98
lea ecx, [ebp - 0x90]
call fcn.004951c0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041dac0
push eax
mov ecx, dword [ebp - 0xe8]
call fcn.00493cf0
test eax, eax
je 0x492c8d
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0xe8]
add ecx, 0x18
call fcn.00495600
lea ecx, [ebp - 0x90]
call fcn.004951e0
lea ecx, [ebp - 0x74]
call fcn.0041d690
jmp 0x492bf2
lea ecx, [ebp - 0x68]
call fcn.0041d6b0
lea ecx, [ebp - 0x18]
call fcn.0041d690
lea ecx, [ebp - 0x1c]
call fcn.0041d690
lea ecx, [ebp - 8]
call fcn.00413a40
lea ecx, [ebp - 4]
call fcn.0041d650
lea ecx, [ebp + 8]
call fcn.00413a40
mov esp, ebp
pop ebp
ret 4