Function at 0x41b3b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eeb60
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x65bf90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 8]
call fcn.0041c350
mov dword [ebp + 8], eax
test eax, eax
js 0x41b6c5
cmp word [esi + eax*2 + 2], 0
lea ebx, [esi + eax*2]
je 0x41b6c5
lea edi, [ebp - 0x38]
call fcn.00417fb0
mov ebx, esi
lea edi, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00417fb0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x28]
jae 0x41b432
xor ecx, ecx
mov edx, edi
mov dword [ebp - 0x28], eax
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x34]
cmp eax, 6
jbe 0x41b44f
mov ecx, dword [ebp - 0x38]
lea eax, [ecx + eax*2 - 0xc]
mov edx, 0x62cad4
call fcn.004179b0
test al, al
jne 0x41b45c
push str.:_DATA
lea eax, [ebp - 0x38]
call fcn.004180d0
movzx eax, word [edi]
cmp eax, 0x61
jb 0x41b469
cmp eax, 0x7a
jbe 0x41b473
cmp eax, 0x41
jb 0x41b4ce
cmp eax, 0x5a
ja 0x41b4ce
cmp word [edi + 2], 0x3a
jne 0x41b4ce
mov ecx, dword [ebp + 8]
cmp ecx, 2
je 0x41b48e
cmp ecx, 3
jne 0x41b4ce
cmp word [edi + 4], 0x5c
jne 0x41b4ce
mov edi, dword [ebp - 0x18]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x20], eax
mov word [edi + 0x24], ax
mov edx, dword [edi + 0x28]
lea esi, [edi + 0x28]
xor ebx, ebx
mov dword [esi + 4], eax
mov word [edx], bx
cmp ecx, 2
jne 0x41b4e4
lea ebx, [ebp - 0x2c]
call fcn.00418070
jmp 0x41b4e2
mov ecx, dword [ebp - 0x18]
push edi
call fcn.0041b3b0
test al, al
je 0x41b6ad
mov edi, dword [ebp - 0x18]
xor eax, eax
and dword [edi + 0x20], 0xfffffbef
mov dword [edi], eax
mov dword [edi + 4], eax
lea eax, [ebp - 0x48]
push eax
lea ebx, [ebp - 0x2c]
call fcn.0041af00
mov byte [ebp - 4], 2
push 8
call fcn.004ba2ba
mov ecx, 3
xor edx, edx
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], ecx
mov word [eax], dx
or ebx, 0xffffffff
mov byte [ebp - 4], cl
cmp dword [ebp - 0x48], ebx
je 0x41b53a
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041b290
jmp 0x41b548
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x64]
lea esi, [ebp - 0x48]
call fcn.0041b1d0
test al, al
je 0x41b574
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x64]
push ecx
mov ecx, esi
call fcn.00417870
add esp, 4
test al, al
jne 0x41b620
push esi
mov byte [ebp - 4], 2
call fcn.004ba2af
add esp, 4
jmp 0x41b500
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
sete al
test al, al
jne 0x41b5ce
mov edx, dword [ebp - 0x64]
push edx
call fcn.004ba2af
mov eax, dword [ebp - 0x44]
add esp, 4
push eax
call fcn.004ba2af
mov eax, dword [ebp - 0x48]
add esp, 4
cmp eax, ebx
je 0x41b5b1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41b5b1
mov dword [ebp - 0x48], ebx
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004ba2af
mov edx, dword [ebp - 0x38]
add esp, 4
push edx
call fcn.004ba2af
add esp, 4
jmp 0x41b918
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x64]
push eax
call fcn.004ba2af
mov ecx, dword [ebp - 0x44]
add esp, 4
push ecx
call fcn.004ba2af
mov eax, dword [ebp - 0x48]
add esp, 4
cmp eax, ebx
je 0x41b603
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41b603
mov dword [ebp - 0x48], ebx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004ba2af
mov eax, dword [ebp - 0x38]
add esp, 4
push eax
call fcn.004ba2af
add esp, 4
jmp 0x41b918
mov ecx, dword [ebp - 0x60]
cmp ecx, 7
jbe 0x41b638
lea eax, [ecx - 6]
cmp eax, ecx
jae 0x41b638
xor ecx, ecx
mov dword [ebp - 0x60], eax
mov word [esi + eax*2], cx
lea eax, [edi + 0x28]
lea edi, [ebp - 0x64]
call fcn.00418130
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
push esi
mov dword [eax], edx
mov dword [eax + 4], ecx
mov byte [eax + 0x24], 1
call fcn.004ba2af
mov edx, dword [ebp - 0x44]
add esp, 4
push edx
call fcn.004ba2af
mov eax, dword [ebp - 0x48]
add esp, 4
cmp eax, ebx
je 0x41b67f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41b67f
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004ba2af
mov ecx, dword [ebp - 0x38]
add esp, 4
push ecx
call fcn.004ba2af
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.004ba2af
mov edx, dword [ebp - 0x38]
add esp, 4
push edx
call fcn.004ba2af
mov edi, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x14], 0xffffffff
push edi
mov edx, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 4
call fcn.0041b0a0
test al, al
je 0x41b707
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x41b6f1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp eax, 2
je 0x41b72f
cmp eax, 0x35
je 0x41b72f
cmp eax, 0x43
je 0x41b72f
cmp eax, 0x7b
je 0x41b72f
cmp eax, 0xa1
jne 0x41b909
movzx eax, word [esi]
xor edx, edx
cmp eax, 0x5c
je 0x41b73e
cmp eax, 0x2f
jne 0x41b766
movzx ecx, word [esi + 2]
cmp ecx, 0x5c
je 0x41b74c
cmp ecx, 0x2f
jne 0x41b766
cmp word [esi + 4], 0x3f
jne 0x41b766
movzx ecx, word [esi + 6]
cmp ecx, 0x5c
je 0x41b761
cmp ecx, 0x2f
jne 0x41b766
mov edx, 4
cmp eax, 0x5c
je 0x41b770
cmp eax, 0x2f
jne 0x41b7c9
cmp word [esi + 2], 0
jne 0x41b7c9
mov eax, esi
call fcn.0041b350
mov edx, eax
cmp edx, 0xffffffff
je 0x41b909
test dl, 0x10
je 0x41b909
mov eax, edi
call fcn.0041b320
mov eax, dword [edi + 0x28]
mov dword [edi + 0x2c], 0
xor ecx, ecx
mov word [eax], cx
lea esi, [ebp - 0x14]
mov dword [edi + 0x20], edx
call fcn.0041af90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, word [esi + edx*2]
lea ebx, [esi + edx*2]
cmp eax, 0x61
jb 0x41b7da
cmp eax, 0x7a
jbe 0x41b7e8
cmp eax, 0x41
jb 0x41b865
cmp eax, 0x5a
ja 0x41b865
cmp word [ebx + 2], 0x3a
jne 0x41b865
movzx eax, word [ebx + 4]
cmp eax, 0x5c
je 0x41b7fd
cmp eax, 0x2f
jne 0x41b865
cmp word [esi + edx*2 + 6], 0
jne 0x41b865
mov eax, esi
call fcn.0041b350
mov edx, eax
cmp edx, 0xffffffff
je 0x41b909
test dl, 0x10
je 0x41b909
mov eax, edi
call fcn.0041b320
mov dword [edi + 0x20], edx
add edi, 0x28
call fcn.00418000
mov eax, 2
cmp dword [edi + 4], eax
jbe 0x41b847
mov edx, dword [edi]
mov dword [edi + 4], eax
xor eax, eax
mov word [edx + 4], ax
lea esi, [ebp - 0x14]
call fcn.0041af90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, esi
call fcn.0041c280
test eax, eax
je 0x41b909
cmp word [esi + eax*2], 0
lea edx, [esi + eax*2]
mov dword [ebp - 0x1c], edx
je 0x41b909
call fcn.0041c1c0
test eax, eax
jns 0x41b909
mov ebx, esi
lea edi, [ebp - 0x38]
call fcn.00417fb0
mov eax, edi
mov byte [ebp - 4], 5
call fcn.0041ae90
push 0x2a
mov eax, edi
call fcn.00417760
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
push ebx
lea ecx, [ebp - 0x14]
mov byte [ebp + 0xb], 0
call fcn.0041b0a0
test al, al
je 0x41b8da
lea edi, [ebx + 0x28]
mov ecx, 0x62caec
mov eax, edi
call fcn.0041aec0
test al, al
jne 0x41b949
mov byte [ebp + 0xb], 1
mov eax, esi
call fcn.0041b350
cmp byte [ebp + 0xb], 0
mov edx, eax
jne 0x41b92e
cmp edx, 0xffffffff
je 0x41b8f3
test dl, 0x10
jne 0x41b92e
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x38]
push eax
call fcn.004ba2af
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x41b918
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ebx
call fcn.0041b320
cmp edx, 0xffffffff
je 0x41b93f
mov dword [ebx + 0x20], edx
jmp 0x41b946
mov dword [ebx + 0x20], 0x10
lea edi, [ebx + 0x28]
mov ebx, dword [ebp - 0x1c]
call fcn.00418000
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004ba2af
add esp, 4
lea esi, [ebp - 0x14]
call fcn.0041af90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4