Function at 0x448b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x57e198]
sub esp, 0x1c
test eax, eax
jne 0x448b70
push str.Video_subsystem_has_not_been_initialized
call fcn.0041b670
add esp, 4
or eax, 0xffffffff
add esp, 0x1c
ret
push edi
mov edi, dword [esp + 0x24]
test edi, edi
je 0x448ddc
add eax, 0x198
cmp dword [edi], eax
jne 0x448ddc
cmp dword [edi + 0x78], 0
push ebx
push ebp
mov ebp, dword [esp + 0x30]
je 0x448b9a
test ebp, ebp
jne 0x448bfc
push edi
call fcn.004456d0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x448bfc
test ebp, ebp
je 0x448bc1
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x448bc1
cmp eax, edi
je 0x448bc1
push eax
call fcn.00446b90
add esp, 4
xor eax, eax
cmp dword [ebx + 0x3c], edi
sete al
cmp eax, ebp
jne 0x448c05
mov eax, dword [edi + 0x34]
xor eax, dword [edi + 0x30]
test eax, 0x1001
je 0x448bfc
test ebp, ebp
jne 0x448c05
mov eax, dword [0x57e198]
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x448bf6
push ebp
push ebx
push edi
push eax
call ecx
add esp, 0x10
mov eax, dword [edi + 0x30]
mov dword [edi + 0x34], eax
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x1c
ret
mov eax, dword [0x57e198]
push esi
mov esi, dword [eax + 0x190]
test esi, esi
je 0x448c75
cmp esi, edi
jne 0x448c1f
test ebp, ebp
je 0x448c6b
jmp 0x448c4b
mov eax, dword [esi + 0x30]
and eax, 0x45
cmp al, 5
jne 0x448c6b
push esi
call fcn.00445cb0
add esp, 4
test eax, eax
js 0x448c6b
lea ecx, [eax + eax*8]
mov eax, dword [0x57e198]
mov eax, dword [eax + 0x18c]
lea eax, [eax + ecx*8]
cmp eax, ebx
jne 0x448c6b
push 0x14
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00459450
lea eax, [esp + 0x24]
push eax
push esi
call fcn.00445df0
add esp, 0x14
test eax, eax
je 0x448caf
mov esi, dword [esi + 0xac]
test esi, esi
jne 0x448c15
push 0
push ebx
call fcn.00447480
mov eax, dword [0x57e198]
add esp, 8
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x448d8b
push 0
push ebx
push edi
push eax
call ecx
push edi
mov dword [ebx + 0x3c], 0
call fcn.00446f20
add esp, 0x14
jmp 0x448da3
mov eax, dword [esi + 0x18]
mov ebp, 1
cmp eax, dword [esp + 0x1c]
jne 0x448cc9
mov eax, dword [esi + 0x1c]
xor ecx, ecx
cmp eax, dword [esp + 0x20]
cmove ebp, ecx
mov eax, dword [esi + 0x30]
and eax, 0x1001
cmp eax, 0x1001
je 0x448d4f
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00447480
add esp, 8
test eax, eax
js 0x448d5e
mov eax, dword [0x57e198]
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x448d08
push 1
push ebx
push esi
push eax
call ecx
mov eax, dword [0x57e198]
add esp, 0x10
mov dword [ebx + 0x3c], esi
test ebp, ebp
je 0x448d69
push str.Android
push dword [eax]
call fcn.0041cc30
add esp, 8
test eax, eax
je 0x448d72
mov eax, dword [0x57e198]
push 0x51f84c
push dword [eax]
call fcn.0041cc30
add esp, 8
test eax, eax
je 0x448d72
push dword [esp + 0x20]
push dword [esp + 0x20]
push 5
push esi
call fcn.00476b60
add esp, 0x10
jmp 0x448d72
push 0
push ebx
call fcn.00447480
add esp, 8
test eax, eax
jns 0x448cea
pop esi
pop ebp
pop ebx
or eax, 0xffffffff
pop edi
add esp, 0x1c
ret
push esi
call fcn.00446f20
add esp, 4
push esi
call fcn.004473a0
add esp, 4
mov eax, dword [edi + 0x30]
pop esi
pop ebp
mov dword [edi + 0x34], eax
xor eax, eax
pop ebx
pop edi
add esp, 0x1c
ret
mov dword [ebx + 0x3c], 0
push dword [edi + 0x48]
push dword [edi + 0x44]
push 5
push edi
call fcn.00476b60
add esp, 0x10
call fcn.0044a370
cmp edi, eax
jne 0x448d7b
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0044a380
push dword [esp + 0x18]
push dword [esp + 0x20]
push edi
call fcn.0044bce0
mov eax, dword [edi + 0x30]
add esp, 0x14
mov dword [edi + 0x34], eax
xor eax, eax
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x1c
ret
push str.Invalid_window
call fcn.0041b670
add esp, 4
or eax, 0xffffffff
pop edi
add esp, 0x1c
ret