Function at 0x402b20
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x426ec1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
mov eax, dword [0x434120]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x16c], eax
mov edi, ecx
call fcn.0041aeca
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x178], ebx
call fcn.0041ee04
mov esi, dword [esp + 0x180]
push ebx
push ebx
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 1
call fcn.0041f09c
lea ecx, [esp + 0x14]
call fcn.0041ecfc
cmp eax, 0x7fff
jbe 0x402bf7
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push pe_nt_image_headers32
lea eax, [esp + 0x70]
push eax
push 6
push ebx
call esi
push 0x40
lea ecx, [esp + 0x30]
push ecx
push 3
push ebx
call esi
lea ecx, [esp + 0x14]
call fcn.0041eda2
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], bl
call fcn.0041ee43
lea eax, [ebp - 0x10]
mov dword [esp + 0x178], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x402cb0
lea ecx, [esp + 0x14]
call fcn.0041eda2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402c21
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], bl
call fcn.0041ee43
lea eax, [ebp - 0x10]
jmp 0x402c98
push 0x20
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.00402590
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x17c], 2
call fcn.00401de0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x178], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
push 0x428680
push esi
call fcn.0040da64
add esp, 8
test eax, eax
jne 0x402cc4
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], bl
call fcn.0041ee43
lea eax, [esi - 0x10]
mov dword [esp + 0x178], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402cba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0xfffffffb
jmp 0x402d82
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebp, esp
push esi
call fcn.00401370
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebp], eax
call fcn.004016d0
cmp eax, ebx
jne 0x402d21
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], bl
call fcn.0041ee43
mov dword [esp + 0x178], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402d1a
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, 0xfffffffb
jmp 0x402d82
cmp eax, 0xffffffff
jne 0x402d46
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], bl
call fcn.0041ee43
lea ecx, [esp + 0x10]
call fcn.00401680
mov eax, 0xfffffffb
jmp 0x402d82
push eax
mov eax, dword [esp + 0x188]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00401660
mov ecx, edi
call fcn.004020c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], bl
call fcn.0041ee43
lea ecx, [esp + 0x10]
call fcn.00401680
xor eax, eax
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x16c]
call fcn.0040d73e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 8