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

Disassembly:
push 0xffffffffffffffff
push 0x568fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x98], ebx
je 0x43fcf9
mov edi, dword [esp + 0x40]
cmp dword [esi + edi*4 + 0x20a0], ebx
mov ebp, 0x2000
je 0x43fad8
push ebx
push 1
push ebx
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
lea ecx, [esi + 0xd0]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebp
call fcn.004f17a0
push ebx
push edi
lea ecx, [esi + 0x78]
mov dword [esi + edi*4 + 0x20a0], ebx
call fcn.0049de60
mov dword [esi + 0x2588], ebx
mov dword [esi + 0x2590], ebx
mov dword [esi + 0x258c], ebx
mov dword [esi + 0x2594], ebx
cmp byte [edi + esi + 0x263c], bl
je 0x43fb06
push ebx
push edi
mov ecx, esi
call fcn.00437960
mov byte [edi + esi + 0x263c], bl
cmp byte [edi + esi + 0x25ac], bl
jne 0x43fb06
mov ecx, dword [0x5d95ac]
push ebx
call fcn.00408810
cmp byte [edi + esi + 0x275c], bl
je 0x43fb73
mov ecx, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebp
call fcn.004372a0
push ebx
push 1
push ebx
lea ecx, [esp + 0x2c]
push ecx
push ebx
push edi
lea ecx, [esi + 0xd0]
call fcn.004f17a0
push ebx
push edi
lea ecx, [esi + 0x78]
mov byte [edi + esi + 0x275c], bl
call fcn.0049de60
mov edx, edi
shl edx, 4
lea eax, [edx + esi]
lea ecx, [edi + 0x27f]
shl ecx, 4
mov dword [eax + 0x27ec], ebx
mov dword [eax + 0x27f4], ebp
mov dword [ecx + esi], ebx
mov dword [eax + 0x27f8], ebp
lea edx, [edi + edi*2]
cmp byte [esi + edx*4 + 0x19dc], bl
lea ebp, [esi + edx*4]
mov dword [esp + 0x1c], ebp
je 0x43fc39
push ebx
push edi
lea ecx, [esi + 0xd0]
call fcn.004f1880
test eax, eax
je 0x43fc2b
mov dword [ebp + 0x19e4], 2
lea eax, [esp + 0x40]
lea ebp, [esi + 0x19c4]
push eax
mov ecx, ebp
call fcn.0043c6d0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004016a0
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
push str..h264
push str..avi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
call fcn.00412ae0
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.0043c6d0
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.00402060
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43fc27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x1c]
push edi
mov ecx, esi
call fcn.0043e460
mov byte [ebp + 0x19dc], bl
push edi
mov ecx, esi
call fcn.00438f80
push str.Skin_
call fcn.00406b70
add eax, 4
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00402100
push str.video.bmp
push eax
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x50], 1
call fcn.00402100
add esp, 0x18
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43fc99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43fcb7
mov edx, dword [esp + 0x18]
push edx
push edi
lea ecx, [esi + 0x78]
call fcn.0049ded0
push 1
push edi
lea ecx, [esi + 0x78]
call fcn.0049dd70
mov eax, dword [esi + 0x20]
push ebx
push 0xa
push 4
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43fcf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4