Function at 0x100d8730
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push str.title
push edi
call fcn.1009c480
push 0
push 0x1fff0000
push 0x1014505c
push edi
mov dword [ebp - 0x28], eax
call fcn.1009c230
push 0
push 0x1fff0000
push 0x10145060
push edi
mov dword [ebp - 8], eax
call fcn.1009c230
push 0
push 0
push str.width
push edi
mov dword [ebp - 4], eax
call fcn.1009c230
push 0
push 0
push str.height
push edi
mov dword [ebp - 0xc], eax
call fcn.1009c230
add esp, 0x4c
mov dword [ebp - 0x10], eax
push 0
push str.parent
push edi
call fcn.1009c3e0
push 0
push 0
push str.flags
push edi
mov dword [ebp - 0x1c], eax
call fcn.1009c230
add esp, 0x1c
mov ebx, eax
xor esi, esi
jmp 0x100d87d0
cmp dword [esi + 0x1017b9b0], 0
mov eax, dword [esi + 0x1017b9a8]
je 0x100d87f1
push 1
push eax
push edi
call fcn.1009bf10
add esp, 0xc
test eax, eax
jne 0x100d8807
jmp 0x100d8801
push 0
push eax
push edi
call fcn.1009bf10
add esp, 0xc
test eax, eax
je 0x100d8807
or ebx, dword [esi + 0x1017b9ac]
add esi, 0xc
cmp esi, 0xcc
jb 0x100d87d0
push 0
push str.external_graphics_context
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.1009bf10
mov ecx, dword [0x10183114]
add esp, 0xc
mov dword [ebp - 0x24], eax
test ecx, ecx
jne 0x100d8855
push 0x20
call fcn.100017c0
add esp, 4
test eax, eax
js 0x100d8870
mov ecx, dword [0x10183114]
test ecx, ecx
je 0x100d8870
test ebx, 0xc0000
je 0x100d8890
test byte [ecx + 0x1b8], 2
jne 0x100d8879
push 4
call fcn.10067c90
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x100d88b6
lea eax, [ecx + 0x194]
cmp dword [edx], eax
jne 0x100d88b6
and ebx, 0xffffff2e
mov edx, ebx
and edx, 0xe0000
lea eax, [edx - 1]
test edx, eax
je 0x100d88cc
push edx
push str.Conflicting_window_type_flags_specified:_0x_.8x
call fcn.10067d40
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Tooltip_and_popup_menu_windows_must_specify_a_parent_window
call fcn.10067d40
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x100d88df
push ecx
call eax
mov ecx, dword [0x10183114]
add esp, 4
mov eax, dword [ebp - 0xc]
mov edx, 1
cmp eax, edx
cmovl eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
cmp eax, edx
cmovl eax, edx
mov edx, dword [ebp - 8]
and edx, 0xffff0000
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], edx
cmp edx, 0x1fff0000
je 0x100d893c
mov esi, dword [ebp - 4]
mov eax, esi
and eax, 0xffff0000
cmp eax, 0x1fff0000
je 0x100d8932
cmp edx, 0x2fff0000
je 0x100d8944
cmp eax, 0x2fff0000
jne 0x100d8a07
cmp edx, 0x2fff0000
jne 0x100d8951
jmp 0x100d8944
mov eax, dword [ebp - 4]
and eax, 0xffff0000
mov ecx, dword [ebp - 8]
movzx esi, cx
test esi, esi
jne 0x100d8966
mov esi, dword [ebp - 4]
cmp eax, 0x1fff0000
je 0x100d895f
cmp eax, 0x2fff0000
jne 0x100d8973
movzx esi, si
test esi, esi
je 0x100d8973
push esi
call fcn.100dab40
add esp, 4
test eax, eax
jns 0x100d897a
call fcn.100dafa0
mov esi, eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.100da820
mov ecx, dword [ebp - 0x20]
add esp, 8
cmp ecx, 0x2fff0000
je 0x100d89a8
cmp ecx, 0x1fff0000
jne 0x100d89c7
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
xor eax, eax
cmp ecx, 0x1fff0000
sete al
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
and ecx, 0xffff0000
cmp ecx, 0x2fff0000
je 0x100d89e0
cmp ecx, 0x1fff0000
jne 0x100d8a01
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x10]
cdq
sub eax, edx
mov esi, eax
xor eax, eax
sar esi, 1
add esi, dword [ebp - 0x34]
cmp ecx, 0x1fff0000
mov dword [ebp - 4], esi
sete al
mov dword [ebp - 0x18], eax
mov ecx, dword [0x10183114]
mov edx, ebx
and edx, 0x30000002
lea eax, [edx - 1]
test edx, eax
je 0x100d8a2d
push edx
push str.Conflicting_window_graphics_flags_specified:_0x_.8x
call fcn.10067d40
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, 2
je 0x100d8a70
cmp dword [ecx + 0xc0], 0
jne 0x100d8a58
push dword [ecx]
push str.OpenGL
push str._s_support_is_either_not_configured_in_SDL_or_not_available_in_current_SDL_video_driver___s__or_platform
call fcn.10067d40
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.100d9e00
add esp, 4
test eax, eax
js 0x100d8870
mov ecx, dword [0x10183114]
test ebx, 0x10000000
je 0x100d8ab6
cmp dword [ecx + 0xec], 0
jne 0x100d8a9e
push dword [ecx]
push str.Vulkan
push str._s_support_is_either_not_configured_in_SDL_or_not_available_in_current_SDL_video_driver___s__or_platform
call fcn.10067d40
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.100df880
add esp, 4
test eax, eax
js 0x100d8870
mov ecx, dword [0x10183114]
test ebx, 0x20000000
je 0x100d8ae4
cmp dword [ecx + 0xf0], 0
jne 0x100d8ae4
push dword [ecx]
push str.Metal
push str._s_support_is_either_not_configured_in_SDL_or_not_available_in_current_SDL_video_driver___s__or_platform
call fcn.10067d40
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x110
push 1
call fcn.10096650
mov esi, eax
add esp, 8
test esi, esi
je 0x100d8870
mov eax, dword [0x10183114]
add eax, 0x194
mov dword [esi], eax
call fcn.10001330
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x64], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x7c], eax
test bl, 1
je 0x100d8be0
mov eax, dword [0x10183114]
test eax, eax
jne 0x100d8b66
push str.Video_subsystem_has_not_been_initialized
jmp 0x100d8b8f
add eax, 0x194
cmp dword [esi], eax
jne 0x100d8b8a
test byte [esi + 0x38], 1
je 0x100d8b7f
mov eax, dword [esi + 0x9c]
test eax, eax
jne 0x100d8b99
push esi
call fcn.100daa30
add esp, 4
jmp 0x100d8b99
push str.Invalid_window
call fcn.10067d40
add esp, 4
xor eax, eax
push eax
call fcn.100dab40
mov ecx, eax
add esp, 4
test ecx, ecx
jns 0x100d8bac
xor eax, eax
jmp 0x100d8bba
mov eax, dword [0x10183114]
mov eax, dword [eax + 0x188]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x38]
push ecx
push dword [eax]
call fcn.100da820
mov eax, dword [ebp - 0x38]
add esp, 8
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, ebx
mov dword [esi + 0x40], 0x3f800000
and eax, 0xf00ea07a
mov dword [esi + 0xb8], 0x3f800000
or eax, 8
mov dword [esi + 0x38], eax
mov eax, dword [0x10183114]
push esi
mov eax, dword [eax + 0x18c]
mov dword [esi + 0xfc], eax
mov dword [esi + 0xd0], 0
call fcn.100daae0
mov ecx, dword [0x10183114]
add esp, 4
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x44], eax
mov eax, dword [ecx + 0x18c]
test eax, eax
je 0x100d8c41
mov dword [eax + 0xf8], esi
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x18c], esi
test edx, edx
je 0x100d8c76
mov dword [esi + 0x100], edx
mov eax, dword [edx + 0x104]
mov dword [esi + 0x10c], eax
mov eax, dword [edx + 0x104]
test eax, eax
je 0x100d8c70
mov dword [eax + 0x108], esi
mov dword [edx + 0x104], esi
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x100d8ca1
push edi
push esi
push ecx
call eax
add esp, 0xc
test eax, eax
jns 0x100d8c9b
push esi
call fcn.100d8fe0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10183114]
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x100d8d08
test ecx, ecx
jne 0x100d8cb3
push str.Video_subsystem_has_not_been_initialized
jmp 0x100d8d00
lea eax, [ecx + 0x194]
cmp dword [esi], eax
jne 0x100d8cfb
test dword [esi + 0x38], 0xc0000
je 0x100d8ccd
push str.Operation_invalid_on_popup_windows
jmp 0x100d8d00
mov eax, dword [esi + 8]
cmp edi, eax
je 0x100d8d08
push eax
call fcn.100966a0
push edi
call fcn.100cba10
mov dword [esi + 8], eax
add esp, 8
mov eax, dword [0x10183114]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x100d8d08
push esi
push eax
call ecx
add esp, 8
jmp 0x100d8d08
push str.Invalid_window
call fcn.10067d40
add esp, 4
push ebx
push esi
call fcn.100d94d0
push esi
call fcn.100d8250
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret