Function at 0x423ec4
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x5a6544
call fcn.0056e45f
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], ebx
call fcn.00404c17
mov ecx, dword [edi]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x423f85
lea eax, [ebp - 0x1c]
push eax
call fcn.0042cd4a
mov ecx, eax
call fcn.00427594
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov esi, dword [eax - 0xc]
call fcn.00405472
mov ecx, dword [edi]
test esi, esi
je 0x423f55
lea eax, [ebp + 8]
push eax
call fcn.0042cd4a
mov ecx, eax
call fcn.00427594
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00405aef
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00405472
mov ecx, dword [edi]
call fcn.0042cd4a
mov ecx, eax
call fcn.00427590
mov esi, dword [ebp - 0x10]
mov ebx, eax
jmp 0x4241ab
lea eax, [ebp - 0x1c]
push eax
call fcn.0042cd4a
mov ecx, eax
call fcn.0042764a
push 0x5c0920
push eax
call fcn.0040bc2d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov bl, al
add ecx, 0xfffffff0
call fcn.00405472
test bl, bl
jne 0x423f9d
xor ebx, ebx
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x34]
test al, al
je 0x423fa5
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 0x424250
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004244d2
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00405aef
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00405472
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x4241a8
push dword [ebp + 8]
call fcn.00419bb7
pop ecx
test al, al
jne 0x424250
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00424683
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00405aef
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00405472
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x4241a8
push dword [ebp + 8]
call fcn.00419bb7
pop ecx
test al, al
jne 0x424250
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
je 0x42406d
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0042458e
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00405aef
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00405472
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x4241a8
push dword [ebp + 8]
call fcn.00419bb7
pop ecx
test al, al
jne 0x424250
cmp dword [edi + 0x14], ebx
je 0x424158
push ebx
lea ecx, [edi + 0x18]
push 0x5c1bb4
call fcn.0041a32d
or ebx, 0xffffffff
cmp eax, ebx
je 0x424156
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.00405d05
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.00572821
add esp, 0xc
test eax, eax
je 0x4240d1
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.00424d09
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00405aef
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00405472
push ecx
mov esi, esp
mov dword [ebp - 0x28], esi
mov ebx, dword [ebp - 0x1c]
add ebx, 0xfffffff0
push ebx
call fcn.00405d05
add eax, 0x10
pop ecx
mov dword [esi], eax
mov ecx, edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042392e
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.00405aef
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00405472
mov esi, dword [ebp - 0x10]
mov ecx, ebx
mov byte [ebp - 4], 0
cmp dword [esi - 0xc], 0
je 0x424151
call fcn.00405472
jmp 0x4241a8
call fcn.00405472
xor ebx, ebx
push dword [ebp + 8]
call fcn.00419bb7
pop ecx
test al, al
jne 0x424250
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00424260
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00405aef
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00405472
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
jne 0x4241a8
push dword [ebp + 8]
call fcn.00419bb7
pop ecx
test al, al
jne 0x424250
mov ebx, dword [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
dec eax
neg eax
sbb al, al
inc al
cmp dword [esi - 0xc], 0
je 0x42421a
test al, al
je 0x42421e
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 0x4241f5
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
call edi
test eax, eax
je 0x424237
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x424237
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x424210
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 0x424241
test al, al
jne 0x424237
mov esi, 0x5bbe20
push esi
call fcn.00574cc3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.004054b5
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.00405aef
mov dword [edi + 0xc], ebx
lea ecx, [esi - 0x10]
call fcn.00405472
call fcn.0056e42d
ret 8