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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x42b044]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x430], 0
mov ax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041d8a0
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x41ba58
mov eax, dword [ebp - 0x430]
jmp 0x41bcd2
mov word [ebp - 0x418], 0
push 0x206
push 0
lea edx, [ebp - 0x416]
push edx
call fcn.004012f0
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004012f0
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
call fcn.0041acf0
add esp, 4
push 0x429794
push 0x104
lea edx, [ebp - 0x418]
push edx
call fcn.00401412
add esp, 0xc
mov byte [ebp - 0x42c], 0
xor eax, eax
mov dword [ebp - 0x42b], eax
mov dword [ebp - 0x427], eax
mov dword [ebp - 0x423], eax
mov dword [ebp - 0x41f], eax
mov word [ebp - 0x41b], ax
mov byte [ebp - 0x419], al
mov dword [ebp - 4], 0
mov dword [ebp - 0x434], 0
jmp 0x41bb0e
mov ecx, dword [ebp - 0x434]
add ecx, 1
mov dword [ebp - 0x434], ecx
cmp dword [ebp - 0x434], 5
jge 0x41bbdf
mov edx, dword [ebp - 0x434]
imul edx, edx, 0x118
movzx eax, word [edx + 0x42d788]
test eax, eax
jne 0x41bb34
jmp 0x41baff
lea ecx, [ebp - 0x418]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.00401825
add esp, 0xc
mov eax, dword [ebp - 0x434]
imul eax, eax, 0x118
add eax, 0x42d788
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00401412
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x42c]
push eax
call fcn.00419dc0
add esp, 8
test eax, eax
je 0x41bbd1
push 0x14
mov ecx, dword [ebp - 0x434]
imul ecx, ecx, 0x118
add ecx, 0x42d88c
push ecx
lea edx, [ebp - 0x42c]
push edx
call fcn.004023fb
add esp, 0xc
test eax, eax
jne 0x41bbd1
mov eax, dword [ebp - 0x434]
imul eax, eax, 0x118
mov word [eax + 0x42d788], 0
jmp 0x41baff
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x41baff
mov dword [ebp - 0x438], 0
jmp 0x41bbfa
mov edx, dword [ebp - 0x438]
add edx, 1
mov dword [ebp - 0x438], edx
cmp dword [ebp - 0x438], 5
jge 0x41bc1e
mov eax, dword [ebp - 0x438]
imul eax, eax, 0x118
movzx ecx, word [eax + 0x42d788]
test ecx, ecx
jne 0x41bc1c
jmp 0x41bbeb
jmp 0x41bbeb
mov dword [ebp - 0x43c], 0
jmp 0x41bc39
mov edx, dword [ebp - 0x43c]
add edx, 1
mov dword [ebp - 0x43c], edx
cmp dword [ebp - 0x43c], 5
jge 0x41bc97
mov eax, dword [ebp - 0x43c]
imul eax, eax, 0x118
movzx ecx, word [eax + 0x42d788]
test ecx, ecx
jne 0x41bc5b
jmp 0x41bc2a
mov edx, dword [ebp - 0x43c]
imul edx, edx, 0x118
mov eax, dword [edx + 0x42d888]
mov dword [0x42d77c], eax
mov cx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x43c]
imul eax, eax, 0x118
add eax, 0x42d788
push eax
call fcn.0041d620
add esp, 0xc
jmp 0x41bc2a
push 0x42e3c8
push 0x104
lea ecx, [ebp - 0x418]
push ecx
call fcn.00401412
add esp, 0xc
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41bccc
mov dword [ebp - 0x430], 2
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004012d2
mov esp, ebp
pop ebp
ret