Function at 0x423330
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x555fd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x120]
lea edx, [esp + 0x220]
mov eax, dword [ebp + 0x80]
push ecx
push edx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x24]
push ecx
push edx
push eax
call fcn.0052776a
mov eax, dword [0x5c2a74]
add esp, 0x14
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x5a4b44
push eax
mov dword [esp + 0x338], 0
call fcn.0053afda
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4233d0
mov edx, dword [esp + 0xc]
push 1
push edx
call fcn.0044fd10
add esp, 8
test eax, eax
jne 0x4234f9
mov eax, dword [0x5c2a74]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [0x5c8008]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x334], 1
call fcn.0053afda
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 4
push str.Internet_Download_Manager
push ecx
mov ecx, ebp
call fcn.005401b5
cmp eax, 6
jne 0x4235a6
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
mov cl, byte [ecx + edx - 1]
cmp cl, 0x5c
je 0x42343c
push 0x5c
lea ecx, [esp + 0x10]
call fcn.005425c1
push 3
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00542693
mov esi, eax
cmp esi, 0xffffffff
je 0x4234e8
lea edx, [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0x14]
call fcn.0053abba
mov eax, dword [eax]
push 1
push eax
mov byte [esp + 0x330], 2
call fcn.0044fd10
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
mov byte [esp + 0x328], 1
call fcn.005421be
test bl, bl
je 0x4234d0
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x14]
call fcn.0053abba
mov eax, dword [eax]
push 1
push eax
mov byte [esp + 0x330], 3
call fcn.0044fe10
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
mov byte [esp + 0x328], 1
call fcn.005421be
test bl, bl
jne 0x42352a
inc esi
lea ecx, [esp + 0xc]
push esi
push 0x5c
call fcn.00542693
mov esi, eax
cmp esi, 0xffffffff
jne 0x423454
lea ecx, [esp + 0x14]
mov byte [esp + 0x328], 0
call fcn.005421be
lea ecx, [esp + 0xc]
mov dword [esp + 0x328], 0xffffffff
call fcn.005421be
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x314]
mov dword fs:[0], ecx
add esp, 0x320
ret
mov ecx, dword [0x5c2a74]
mov dword [esp + 0x10], ecx
push 0
lea edx, [esp + 0x1c]
push 0
push edx
push 0x400
mov byte [esp + 0x338], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x5c8004]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0053afda
mov eax, dword [esp + 0x24]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x10]
push 0x30
push str.Internet_Download_Manager
push ecx
mov ecx, ebp
call fcn.005401b5
lea ecx, [esp + 0x10]
mov byte [esp + 0x328], 1
call fcn.005421be
lea ecx, [esp + 0x14]
mov byte [esp + 0x328], 0
call fcn.005421be
lea ecx, [esp + 0xc]
mov dword [esp + 0x328], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 0x320]
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x320
ret