Function at 0x41f280
Capabilities:
Check for time delay via gettickcount
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x41f299
mov ecx, dword [ebp - 0x18]
call fcn.0041f630
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x48], eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x40], 0xffffffff
jne 0x41f327
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
je 0x41f320
push 0
call fcn.004260d0
add esp, 4
movzx eax, al
test eax, eax
jne 0x41f2f9
jmp 0x41f320
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x453e7c
push 0x7d
push 0x453e4c
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 0x10
xor eax, eax
jmp 0x41f61b
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x2c
mov ecx, dword [ebp - 0x18]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x10], 0x2c
je 0x41f395
push 0
call fcn.004260d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x41f363
jmp 0x41f390
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push 0x453ed4
push 0x87
push 0x453ea4
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 0x10
jmp 0x41f5d2
push 8
push str.GGDLBMP
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
call fcn.00431550
add esp, 0xc
test eax, eax
je 0x41f3ed
push 0
call fcn.004260d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x41f3c2
jmp 0x41f3e8
mov edx, dword [ebp + 8]
push edx
push 0x453f38
push 0x8c
push 0x453f08
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 0xc
jmp 0x41f5d2
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 1
je 0x41f434
push 0
call fcn.004260d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x41f409
jmp 0x41f42f
mov edx, dword [ebp + 8]
push edx
push 0x453f90
push 0x92
push 0x453f60
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 0xc
jmp 0x41f5d2
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], 0
jg 0x41f482
push 0
call fcn.004260d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x41f450
jmp 0x41f47d
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.CBitmapFile::Open__s__
push 0x98
push 0x453fb4
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 0x10
jmp 0x41f5d2
push 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x20], 0
jl 0x41f4c8
jg 0x41f4ae
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x1c], 0
jb 0x41f4c8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x20], 1
jl 0x41f511
jg 0x41f4c8
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x1c], 0
jbe 0x41f511
push 0
call fcn.004260d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x41f4db
jmp 0x41f50c
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [edx + 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x454040
push 0xa2
push 0x454010
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 0x14
jmp 0x41f5d2
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0041f9f0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 0x100
cmp eax, dword [ebp - 0xc]
je 0x41f5a2
push 0
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x100
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x41f5a2
push 0
call fcn.004260d0
add esp, 4
movzx eax, al
test eax, eax
jne 0x41f573
jmp 0x41f5a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.CBitmapFile::Open__s_
push 0xaf
push 0x45406c
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 0x10
jmp 0x41f5d2
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.00406e80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ecx + 0x2c]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x48], eax
mov dword [ebp - 4], 1
xor eax, eax
jne 0x41f2ac
cmp dword [ebp - 4], 0
jne 0x41f5f8
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x40], 0xffffffff
je 0x41f5f8
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x40], 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
call fcn.0041f6b0
mov ecx, dword [ebp - 0x18]
call fcn.0041fa40
mov ecx, dword [ebp - 0x18]
call fcn.0041fa90
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4