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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c8140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea edi, [ebp + 0x2e0]
mov ecx, edi
call fcn.004dfab0
add eax, 8
lea ecx, [esp + 0x18]
push eax
call sub.mfc42u.dll_CString::CString_1
lea eax, [ebp + 0x24]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x54], 0
call sub.mfc42u.dll_CString::CString_1
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x50], 1
mov eax, dword [ecx - 8]
test eax, eax
je 0x43b9bd
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43b9bd
mov edx, dword [ebp + 0x20]
mov eax, ecx
mov ecx, dword [edx - 8]
sub eax, ecx
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
call sub.mfc42u.dll_CString::Left
lea ecx, [esp + 0x18]
mov bl, 2
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], bl
call sub.mfc42u.dll_CString::operator_1
push 0x61a9a0
lea ecx, [esp + 0x20]
call sub.mfc42u.dll_CString::CString_2
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x54], 3
call sub.mfc42u.dll_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], bl
call sub.mfc42u.dll_CString::CString
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43b9af
lea ecx, [esp + 0x1c]
push ecx
push 0xd33
call dword [sym.imp.opengl32.dll_glGetIntegerv]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea esi, [ebp + 0xb98]
push 0x43b5e0
push esi
push edx
push eax
call fcn.004cfcf6
mov dword [ebp + 0xbe8], eax
xor eax, eax
add esp, 0x10
mov dword [esp + 0x34], 0x5e27c0
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov cl, byte [ebp + 0x338]
mov byte [esp + 0x50], 4
test cl, cl
je 0x43b81f
lea ecx, [esp + 0x34]
push ecx
push eax
push eax
push eax
jmp 0x43b919
mov ebx, dword [ebp + 0xbd8]
test ebx, ebx
je 0x43b90e
jne 0x43b83b
mov dword [esp + 0x40], 0
xor ebx, ebx
jmp 0x43b867
mov edi, ebx
shl edi, 4
push edi
call sub.mfc42u.dll_operatornew
mov edx, eax
mov ecx, edi
mov dword [esp + 0x3c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esp + 0x40], ebx
xor edx, edx
mov dword [esp + 0x3c], ebx
test ebx, ebx
jle 0x43b8fb
xor edi, edi
mov ecx, dword [esi + 0x3c]
lea eax, [edx*8]
add edi, 0x10
mov ebx, dword [ecx + eax]
mov dword [esp + 0x2c], ebx
fild dword [esp + 0x2c]
mov ecx, dword [ecx + eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x38]
fmul qword [esi + 0x18]
fidiv dword [esi + 0x10]
fstp qword [edi + ecx - 0x10]
add eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x24], ecx
sub ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x38]
fild dword [esp + 0x20]
inc edx
fmul qword [esi + 0x20]
fidiv dword [esp + 0x24]
fstp qword [edi + eax - 8]
mov eax, dword [esp + 0x3c]
cmp edx, eax
jl 0x43b877
test eax, eax
jle 0x43b8fb
mov edx, dword [ebp + 0xbb4]
mov eax, dword [ebp + 0xbb0]
lea ecx, [esp + 0x34]
lea edi, [ebp + 0x2e0]
push ecx
push edx
push eax
push 0
jmp 0x43b919
lea ecx, [esp + 0x34]
lea edi, [ebp + 0x2e0]
push ecx
push 0
push 0
push 0
jmp 0x43b919
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
mov ecx, edi
call fcn.004e0bf0
mov ecx, edi
call fcn.004deaf0
mov eax, dword [ebp + 0xbbc]
mov ecx, dword [ebp + 0xbb8]
push eax
push ecx
mov ecx, edi
call fcn.004df0a0
mov edx, dword [ebp + 0xbe8]
mov dword [esp + 0x34], 0x5e27c0
test edx, edx
setne bl
mov eax, dword [esp + 0x38]
mov byte [esp + 0x50], 5
test eax, eax
je 0x43b965
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0x5e262c
mov byte [esp + 0x50], 1
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 1
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0x48]
pop edi
xor al, al
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret