Function at 0x4266d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be328
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4e9688]
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 0x426725
cmp esi, 2
je 0x426725
cmp esi, 3
je 0x426725
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 0x426738
call fcn.00426dc0
mov dword [ebx + 8], 1
lea eax, [ebp - 0x40]
push eax
mov dword [ebx], edi
mov dword [ebx + 4], edi
call fcn.00432fb0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x4c4348
mov dword [ebp - 4], edi
call fcn.00424e40
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x4c4348
mov byte [ebp - 4], 1
call fcn.00424e40
mov byte [ebp - 4], 2
cmp esi, 1
jne 0x42688a
lea edi, [ebp - 0x1c]
call fcn.004265d0
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004146d0
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 0x4267ad
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.004262b0
add esp, 4
push str.savapi_
push eax
lea edx, [ebp - 0x1c]
mov bl, 4
push edx
mov byte [ebp - 4], bl
call fcn.00411090
add esp, 0xc
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.004146d0
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 0x4267fe
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 0x426821
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x14]
call fcn.004264c0
push str.AviraImp.dll
push eax
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 6
call fcn.00411090
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 0x426862
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.004121d0
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 0x4269b0
cmp esi, 3
jne 0x426908
lea edi, [ebp - 0x14]
call fcn.004261d0
push str.AVEkpb.def
push eax
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 9
call fcn.00411090
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 0x4268d0
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.004121d0
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 0x4269bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4269bf
cmp esi, 2
jne 0x4269bf
lea edi, [ebp - 0x14]
call fcn.00426540
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.004146d0
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 0x426948
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.004262b0
add esp, 4
push 0x4cd950
push eax
lea edx, [ebp - 0x14]
mov bl, 0xd
push edx
mov byte [ebp - 4], bl
call fcn.00411090
add esp, 0xc
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.004146d0
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 0x426999
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 0x4269bc
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 0x4269e5
push eax
call esi
test eax, eax
je 0x4269e5
mov ecx, dword [ebp - 0x20]
push ebx
push 0
push 1
push ecx
mov ecx, ebx
call fcn.00426ad0
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
je 0x426a05
push eax
call esi
test eax, eax
je 0x426a05
mov edx, dword [ebp - 0x24]
push ebx
push 1
push 1
push edx
mov ecx, ebx
call fcn.00426ad0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
sar eax, 2
test eax, eax
jbe 0x426a3e
xor esi, esi
test eax, eax
jbe 0x426a3e
cmp esi, eax
jb 0x426a21
call fcn.00492f40
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x426a30
call fcn.00426ef0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
inc esi
sar eax, 2
cmp esi, eax
jb 0x426a21
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 0x426a61
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 0x426a84
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 0x426a9f
mov edi, dword [ebp - 0x30]
call fcn.00417de0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00491276
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.00491276
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