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

Disassembly:
mov eax, dword [0x57f1b0]
sub esp, 0x1c
test eax, eax
jne 0x448150
push str.Video_subsystem_has_not_been_initialized
call fcn.0041ad60
add esp, 4
or eax, 0xffffffff
add esp, 0x1c
ret
push edi
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4483bc
add eax, 0x198
cmp dword [edi], eax
jne 0x4483bc
cmp dword [edi + 0x78], 0
push ebx
push ebp
mov ebp, dword [esp + 0x30]
je 0x44817a
test ebp, ebp
jne 0x4481dc
push edi
call fcn.00444cb0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4481dc
test ebp, ebp
je 0x4481a1
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4481a1
cmp eax, edi
je 0x4481a1
push eax
call fcn.00446160
add esp, 4
xor eax, eax
cmp dword [ebx + 0x3c], edi
sete al
cmp eax, ebp
jne 0x4481e5
mov eax, dword [edi + 0x34]
xor eax, dword [edi + 0x30]
test eax, 0x1001
je 0x4481dc
test ebp, ebp
jne 0x4481e5
mov eax, dword [0x57f1b0]
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x4481d6
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 [0x57f1b0]
push esi
mov esi, dword [eax + 0x190]
test esi, esi
je 0x448255
cmp esi, edi
jne 0x4481ff
test ebp, ebp
je 0x44824b
jmp 0x44822b
mov eax, dword [esi + 0x30]
and eax, 0x45
cmp al, 5
jne 0x44824b
push esi
call fcn.00445290
add esp, 4
test eax, eax
js 0x44824b
lea ecx, [eax + eax*8]
mov eax, dword [0x57f1b0]
mov eax, dword [eax + 0x18c]
lea eax, [eax + ecx*8]
cmp eax, ebx
jne 0x44824b
push 0x14
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004588c0
lea eax, [esp + 0x24]
push eax
push esi
call fcn.004453d0
add esp, 0x14
test eax, eax
je 0x44828f
mov esi, dword [esi + 0xac]
test esi, esi
jne 0x4481f5
push 0
push ebx
call fcn.00446a70
mov eax, dword [0x57f1b0]
add esp, 8
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x44836b
push 0
push ebx
push edi
push eax
call ecx
push edi
mov dword [ebx + 0x3c], 0
call fcn.004464f0
add esp, 0x14
jmp 0x448383
mov eax, dword [esi + 0x18]
mov ebp, 1
cmp eax, dword [esp + 0x1c]
jne 0x4482a9
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 0x44832f
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00446a70
add esp, 8
test eax, eax
js 0x44833e
mov eax, dword [0x57f1b0]
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x4482e8
push 1
push ebx
push esi
push eax
call ecx
mov eax, dword [0x57f1b0]
add esp, 0x10
mov dword [ebx + 0x3c], esi
test ebp, ebp
je 0x448349
push str.Android
push dword [eax]
call fcn.0041c300
add esp, 8
test eax, eax
je 0x448352
mov eax, dword [0x57f1b0]
push 0x52074c
push dword [eax]
call fcn.0041c300
add esp, 8
test eax, eax
je 0x448352
push dword [esp + 0x20]
push dword [esp + 0x20]
push 5
push esi
call fcn.00475f70
add esp, 0x10
jmp 0x448352
push 0
push ebx
call fcn.00446a70
add esp, 8
test eax, eax
jns 0x4482ca
pop esi
pop ebp
pop ebx
or eax, 0xffffffff
pop edi
add esp, 0x1c
ret
push esi
call fcn.004464f0
add esp, 4
push esi
call fcn.00446990
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.00475f70
add esp, 0x10
call fcn.00449930
cmp edi, eax
jne 0x44835b
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00449940
push dword [esp + 0x18]
push dword [esp + 0x20]
push edi
call fcn.0044b220
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.0041ad60
add esp, 4
or eax, 0xffffffff
pop edi
add esp, 0x1c
ret