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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x43dc24]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov dword [ebp - 0x430], 0
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408e40
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x403c1a
mov eax, dword [ebp - 0x430]
jmp 0x403e92
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.0041df80
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.0041df80
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
call fcn.00408dd0
add esp, 4
push 0x43922c
push 0x104
lea ecx, [ebp - 0x418]
push ecx
call fcn.0041bb22
add esp, 0xc
mov byte [ebp - 0x42c], 0
xor edx, edx
mov dword [ebp - 0x42b], edx
mov dword [ebp - 0x427], edx
mov dword [ebp - 0x423], edx
mov dword [ebp - 0x41f], edx
mov word [ebp - 0x41b], dx
mov byte [ebp - 0x419], dl
mov dword [ebp - 4], 0
mov dword [ebp - 0x434], 0
jmp 0x403cd0
mov eax, dword [ebp - 0x434]
add eax, 1
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 5
jge 0x403d9d
mov ecx, dword [ebp - 0x434]
imul ecx, ecx, 0x118
movzx edx, word [ecx + 0x442208]
test edx, edx
jne 0x403cf6
jmp 0x403cc1
lea eax, [ebp - 0x418]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041bb9f
add esp, 0xc
mov edx, dword [ebp - 0x434]
imul edx, edx, 0x118
add edx, 0x442208
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.0041bb22
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x42c]
push edx
call fcn.00408040
add esp, 8
test eax, eax
je 0x403d8f
mov ecx, 5
mov edi, dword [ebp - 0x434]
imul edi, edi, 0x118
add edi, 0x44230c
lea esi, [ebp - 0x42c]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x403d8f
mov ecx, dword [ebp - 0x434]
imul ecx, ecx, 0x118
xor edx, edx
mov word [ecx + 0x442208], dx
jmp 0x403cc1
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x403cc1
mov dword [ebp - 0x438], 0
jmp 0x403db8
mov ecx, dword [ebp - 0x438]
add ecx, 1
mov dword [ebp - 0x438], ecx
cmp dword [ebp - 0x438], 5
jge 0x403ddc
mov edx, dword [ebp - 0x438]
imul edx, edx, 0x118
movzx eax, word [edx + 0x442208]
test eax, eax
jne 0x403dda
jmp 0x403da9
jmp 0x403da9
mov dword [ebp - 0x43c], 0
jmp 0x403df7
mov ecx, dword [ebp - 0x43c]
add ecx, 1
mov dword [ebp - 0x43c], ecx
cmp dword [ebp - 0x43c], 5
jge 0x403e57
mov edx, dword [ebp - 0x43c]
imul edx, edx, 0x118
movzx eax, word [edx + 0x442208]
test eax, eax
jne 0x403e19
jmp 0x403de8
mov ecx, dword [ebp - 0x43c]
imul ecx, ecx, 0x118
mov edx, dword [ecx + 0x442308]
mov dword [0x4421fc], edx
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x43c]
imul edx, edx, 0x118
add edx, 0x442208
push edx
call fcn.004090d0
add esp, 0xc
jmp 0x403de8
push 0x442e40
push 0x104
lea eax, [ebp - 0x418]
push eax
call fcn.0041bb22
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x403e8c
mov dword [ebp - 0x430], 2
mov eax, dword [ebp - 0x430]
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041b92a
mov esp, ebp
pop ebp
ret