Function at 0x42968b
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x5b40d9
call fcn.0057b6ec
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], ebx
call fcn.00404b89
mov ecx, dword [edi]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x429747
call fcn.00432c78
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.0042d064
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov esi, dword [eax - 0xc]
call fcn.004055b1
mov ecx, dword [edi]
call fcn.00432c78
test esi, esi
je 0x42971c
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call fcn.0042d064
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00405ccf
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.004055b1
mov ecx, dword [edi]
call fcn.00432c78
mov ecx, eax
call fcn.0042d060
mov esi, dword [ebp - 0x10]
mov ebx, eax
jmp 0x42996a
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.0042d11a
push 0x5cceb8
push eax
call fcn.0040f02b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov bl, al
add ecx, 0xfffffff0
call fcn.004055b1
test bl, bl
jne 0x42975f
xor ebx, ebx
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x34]
test al, al
je 0x429767
mov ecx, dword [edi]
push dword [ebp + 8]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov esi, dword [ebp - 0x10]
jmp 0x429a0e
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00429ce7
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00405ccf
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.004055b1
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
jne 0x429967
push dword [ebp + 8]
call fcn.0041e00c
pop ecx
test al, al
jne 0x429a0e
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00429e98
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00405ccf
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.004055b1
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
jne 0x429967
push dword [ebp + 8]
call fcn.0041e00c
pop ecx
test al, al
jne 0x429a0e
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
je 0x42982c
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00429da3
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00405ccf
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.004055b1
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
jne 0x429967
push dword [ebp + 8]
call fcn.0041e00c
pop ecx
test al, al
jne 0x429a0e
cmp dword [edi + 0x14], ebx
je 0x429917
push ebx
lea ecx, [edi + 0x18]
push 0x5ce128
call fcn.0041e723
or ebx, 0xffffffff
cmp eax, ebx
je 0x429915
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.00405ecf
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi - 0xc]
push 0x5c
push esi
mov byte [ebp - 4], 5
mov dword [ebp - 0x24], eax
call fcn.00580031
add esp, 0xc
test eax, eax
je 0x429890
mov ebx, eax
sub ebx, esi
sar ebx, 1
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
sub eax, ebx
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042a5b0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00405ccf
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.004055b1
push ecx
mov esi, esp
mov dword [ebp - 0x28], esi
mov ebx, dword [ebp - 0x1c]
add ebx, 0xfffffff0
push ebx
call fcn.00405ecf
add eax, 0x10
pop ecx
mov dword [esi], eax
mov ecx, edi
lea eax, [ebp - 0x28]
push eax
call fcn.004290f5
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.00405ccf
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.004055b1
mov esi, dword [ebp - 0x10]
xor eax, eax
mov byte [ebp - 4], al
mov ecx, ebx
cmp dword [esi - 0xc], eax
je 0x429910
call fcn.004055b1
jmp 0x429967
call fcn.004055b1
xor ebx, ebx
push dword [ebp + 8]
call fcn.0041e00c
pop ecx
test al, al
jne 0x429a0e
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00429a1e
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00405ccf
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.004055b1
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
jne 0x429967
push dword [ebp + 8]
call fcn.0041e00c
pop ecx
test al, al
jne 0x429a0e
mov ebx, dword [ebp - 0x20]
xor edi, edi
push esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
dec eax
neg eax
sbb al, al
inc al
cmp dword [esi - 0xc], edi
je 0x4299d8
test al, al
je 0x4299dc
mov edi, dword [sym.imp.SHELL32.dll_ExtractIconExW]
lea eax, [ebp - 0x14]
push 1
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
call edi
test eax, eax
jne 0x4299b3
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
call edi
test eax, eax
je 0x4299f5
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4299f5
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4299ce
push ecx
call dword [sym.imp.USER32.dll_CopyIcon]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x4299ff
test al, al
jne 0x4299f5
mov esi, 0x5ca050
push esi
call fcn.00582796
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.004055f4
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 8]
call fcn.00405ccf
mov dword [edi + 0xc], ebx
lea ecx, [esi - 0x10]
call fcn.004055b1
call fcn.0057b6ba
ret 8