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

Disassembly:
sub esp, 0x40
push ebp
push edi
mov edi, ecx
mov dword [esp + 0x24], edi
mov ebp, dword [edi + 0x290]
test ebp, ebp
je 0x43a63b
mov eax, dword [0x547570]
push ebx
push esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0
jle 0x43a471
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add edi, 0x284
mov ecx, dword [0x547570]
mov edx, 0x5476d0
test edx, edx
mov dword [esp + 0x14], ecx
je 0x43a37b
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x43a37b
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x43a37b
mov eax, dword [esp + 0x14]
inc esi
push esi
push 0x5476d0
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [0x547570]
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
mov dword [esp + 0x28], ecx
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.004333f0
lea ecx, [esp + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.00433250
mov esi, dword [eax]
lea ecx, [esp + 0x34]
call fcn.00405700
lea ecx, [esp + 0x28]
call fcn.00405700
mov edx, dword [0x547570]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], edx
push ecx
mov ecx, dword [ecx - 8]
mov edx, dword [eax - 8]
push ecx
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.004059f0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
call fcn.00405440
lea ecx, [esp + 0x20]
call fcn.00405700
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405a90
mov eax, dword [esp + 0x24]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43a431
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x43a431
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a45c
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x43a45c
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ebp
mov dword [esp + 0x10], eax
jl 0x43a32e
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0043aab0
mov eax, dword [0x547570]
mov dword [esp + 0x10], 0
test ebp, ebp
mov dword [esp + 0x18], eax
jle 0x43a5ed
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add edi, 0x284
mov ecx, dword [0x547570]
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
mov dword [esp + 0x28], ecx
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.004333f0
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, edi
call fcn.00433250
mov esi, dword [eax]
lea ecx, [esp + 0x34]
call fcn.00405700
lea ecx, [esp + 0x28]
call fcn.00405700
mov esi, dword [esi + 0x10]
push esi
call ebx
cmp eax, 0xffffffff
je 0x43a5d4
mov edx, dword [0x547570]
mov eax, 0x5476d0
test eax, eax
mov dword [esp + 0x14], edx
je 0x43a53c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x43a53c
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x43a53c
mov ecx, dword [esp + 0x14]
inc esi
push esi
push 0x5476d0
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [0x547570]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], edx
call fcn.004333f0
lea edx, [esp + 0x48]
push eax
push edx
mov ecx, edi
call fcn.00433250
mov esi, dword [eax]
lea ecx, [esp + 0x3c]
call fcn.00405700
lea ecx, [esp + 0x28]
call fcn.00405700
mov eax, dword [0x547570]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [ecx - 8]
mov edx, dword [eax - 8]
push ecx
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.004059f0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
call fcn.00405440
lea ecx, [esp + 0x24]
call fcn.00405700
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00413070
lea ecx, [esp + 0x20]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ebp
mov dword [esp + 0x10], eax
jl 0x43a4a2
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
mov ecx, dword [eax - 8]
pop esi
test ecx, ecx
pop ebx
jle 0x43a60c
mov edx, dword [edi + 4]
push 0
push 0x554e08
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
lea ecx, [esp + 0x10]
jle 0x43a62d
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
pop edi
xor eax, eax
pop ebp
add esp, 0x40
ret
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
pop edi
mov eax, 1
pop ebp
add esp, 0x40
ret