Function at 0x426fe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4beec8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4ea688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], ebx
cmp esi, 1
je 0x427035
cmp esi, 2
je 0x427035
cmp esi, 3
je 0x427035
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor edi, edi
cmp dword [ebx + 8], edi
jne 0x427048
call fcn.004276d0
mov dword [ebx + 8], 1
lea eax, [ebp - 0x40]
push eax
mov dword [ebx], edi
mov dword [ebx + 4], edi
call fcn.004439c0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x4c561c
mov dword [ebp - 4], edi
call fcn.00425750
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x4c561c
mov byte [ebp - 4], 1
call fcn.00425750
mov byte [ebp - 4], 2
cmp esi, 1
jne 0x42719a
lea edi, [ebp - 0x1c]
call fcn.00426ee0
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00414fb0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4270bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00426bc0
add esp, 4
push str.savapi_
push eax
lea edx, [ebp - 0x1c]
mov bl, 4
push edx
mov byte [ebp - 4], bl
call fcn.00411960
add esp, 0xc
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00414fb0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42710e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427131
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x14]
call fcn.00426dd0
push str.AviraImp.dll
push eax
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 6
call fcn.00411960
add esp, 0xc
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x427172
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
lea edi, [ebp - 0x40]
call fcn.00412b00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4272c0
cmp esi, 3
jne 0x427218
lea edi, [ebp - 0x14]
call fcn.00426ae0
push str.AVEkpb.def
push eax
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 9
call fcn.00411960
add esp, 0xc
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4271e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
lea edi, [ebp - 0x40]
call fcn.00412b00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4272cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4272cf
cmp esi, 2
jne 0x4272cf
lea edi, [ebp - 0x14]
call fcn.00426e50
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.00414fb0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427258
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00426bc0
add esp, 4
push 0x4ced50
push eax
lea edx, [ebp - 0x14]
mov bl, 0xd
push edx
mov byte [ebp - 4], bl
call fcn.00411960
add esp, 0xc
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00414fb0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4272a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4272cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
je 0x4272f5
push eax
call esi
test eax, eax
je 0x4272f5
mov ecx, dword [ebp - 0x20]
push ebx
push 0
push 1
push ecx
mov ecx, ebx
call fcn.004273e0
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
je 0x427315
push eax
call esi
test eax, eax
je 0x427315
mov edx, dword [ebp - 0x24]
push ebx
push 1
push 1
push edx
mov ecx, ebx
call fcn.004273e0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
sar eax, 2
test eax, eax
jbe 0x42734e
xor esi, esi
test eax, eax
jbe 0x42734e
cmp esi, eax
jb 0x427331
call fcn.00493a81
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x427340
call fcn.00427800
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
inc esi
sar eax, 2
cmp esi, eax
jb 0x427331
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427371
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427394
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4273af
mov edi, dword [ebp - 0x30]
call fcn.00418850
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00491da6
add esp, 4
mov edx, dword [ebp - 0x40]
xor eax, eax
push edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.00491da6
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4