Function at 0x41b9d0
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.0041d6c0
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x41ba18
mov eax, dword [ebp - 0x430]
jmp 0x41bc92
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.0041ac30
add esp, 4
push 0x42976c
push 0x104
lea edx, [ebp - 0x418]
push edx
call fcn.004013e0
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 0x41bace
mov ecx, dword [ebp - 0x434]
add ecx, 1
mov dword [ebp - 0x434], ecx
cmp dword [ebp - 0x434], 5
jge 0x41bb9f
mov edx, dword [ebp - 0x434]
imul edx, edx, 0x118
movzx eax, word [edx + 0x42d788]
test eax, eax
jne 0x41baf4
jmp 0x41babf
lea ecx, [ebp - 0x418]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.004017c5
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.004013e0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x42c]
push eax
call fcn.00419d80
add esp, 8
test eax, eax
je 0x41bb91
push 0x14
mov ecx, dword [ebp - 0x434]
imul ecx, ecx, 0x118
add ecx, 0x42d88c
push ecx
lea edx, [ebp - 0x42c]
push edx
call fcn.004023bb
add esp, 0xc
test eax, eax
jne 0x41bb91
mov eax, dword [ebp - 0x434]
imul eax, eax, 0x118
mov word [eax + 0x42d788], 0
jmp 0x41babf
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x41babf
mov dword [ebp - 0x438], 0
jmp 0x41bbba
mov edx, dword [ebp - 0x438]
add edx, 1
mov dword [ebp - 0x438], edx
cmp dword [ebp - 0x438], 5
jge 0x41bbde
mov eax, dword [ebp - 0x438]
imul eax, eax, 0x118
movzx ecx, word [eax + 0x42d788]
test ecx, ecx
jne 0x41bbdc
jmp 0x41bbab
jmp 0x41bbab
mov dword [ebp - 0x43c], 0
jmp 0x41bbf9
mov edx, dword [ebp - 0x43c]
add edx, 1
mov dword [ebp - 0x43c], edx
cmp dword [ebp - 0x43c], 5
jge 0x41bc57
mov eax, dword [ebp - 0x43c]
imul eax, eax, 0x118
movzx ecx, word [eax + 0x42d788]
test ecx, ecx
jne 0x41bc1b
jmp 0x41bbea
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.0041d440
add esp, 0xc
jmp 0x41bbea
push 0x42e3c8
push 0x104
lea ecx, [ebp - 0x418]
push ecx
call fcn.004013e0
add esp, 0xc
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41bc8c
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