Function at 0x43f3c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x49f1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c13e0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x54]
mov ebx, 2
cmp esi, 1
je 0x43f402
cmp esi, ebx
je 0x43f402
xor eax, eax
jmp 0x43f736
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x43f415
call fcn.0043fa40
mov dword [ebp + 8], 1
lea eax, [esp + 0x28]
push eax
mov dword [ebp], edi
mov dword [ebp + 4], edi
call fcn.00436940
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x4a7458
mov dword [esp + 0x50], edi
call fcn.004038d0
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x4a7458
mov byte [esp + 0x50], 1
call fcn.004038d0
mov byte [esp + 0x4c], bl
cmp esi, 1
jne 0x43f572
lea edi, [esp + 0x20]
call fcn.0043f330
lea edi, [esp + 0x18]
mov byte [esp + 0x4c], 3
call fcn.00403160
mov byte [esp + 0x4c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f494
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0043eff0
add esp, 4
push eax
lea edx, [esp + 0x24]
push edx
mov ebx, str.savapi_
mov byte [esp + 0x54], 4
call fcn.0040efb0
add esp, 8
lea edi, [esp + 0x1c]
mov byte [esp + 0x4c], 5
call fcn.00403160
mov byte [esp + 0x4c], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f4ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f511
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x14]
call fcn.0043f210
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, str.AviraImp.dll
mov byte [esp + 0x54], 6
call fcn.0040efb0
add esp, 8
mov byte [esp + 0x4c], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f557
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x24]
lea edi, [esp + 0x28]
call fcn.004140d0
mov byte [esp + 0x4c], 2
mov eax, dword [esp + 0x24]
jmp 0x43f616
cmp esi, ebx
jne 0x43f632
lea edi, [esp + 0x14]
call fcn.0043f2a0
lea edi, [esp + 0x18]
mov byte [esp + 0x4c], 9
call fcn.00403160
mov byte [esp + 0x4c], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f5b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0043eff0
add esp, 4
push eax
lea edx, [esp + 0x18]
push edx
mov ebx, 0x4aa488
mov byte [esp + 0x54], 0xa
call fcn.0040efb0
add esp, 8
lea edi, [esp + 0x1c]
mov byte [esp + 0x4c], 0xb
call fcn.00403160
mov byte [esp + 0x4c], 0xa
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f60d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f632
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
je 0x43f654
mov edx, dword [esp + 0x18]
push ebp
push 0
push 1
push edx
mov ecx, ebp
call fcn.0043f750
mov eax, dword [esp + 0x1c]
push eax
call esi
test eax, eax
je 0x43f670
mov ecx, dword [esp + 0x1c]
push ebp
push 1
push 1
push ecx
mov ecx, ebp
call fcn.0043f750
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
sar eax, 2
test eax, eax
jbe 0x43f6ae
xor edi, edi
test eax, eax
jbe 0x43f6ae
cmp edi, eax
jb 0x43f68e
call fcn.00477ad6
mov edx, dword [esp + 0x34]
mov esi, dword [edx + edi*4]
test esi, esi
je 0x43f69e
call fcn.0043fb60
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
inc edi
sar eax, 2
cmp edi, eax
jb 0x43f68e
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f6d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f6f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x43f716
mov edi, dword [esp + 0x38]
call fcn.00414ae0
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00476df2
add esp, 4
mov edx, dword [esp + 0x28]
xor eax, eax
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.00476df2
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4