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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov edi, r9d
mov esi, r8d
movzx ebp, dl
mov rbx, rcx
test rcx, rcx
je 0x140075840
movzx eax, dl
xor r14d, r14d
dec eax
cmp eax, 0xc
ja case.0x14007540b.3
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x75858]
add rcx, rdx
jmp rcx
mov eax, dword [rbx + 0x40]
test al, 4
jne 0x140075840
and eax, 0xffffffb7
or eax, 4
mov dword [rbx + 0x40], eax
and eax, 0x45
cmp al, 5
jne case.0x14007540b.3
mov edx, 1
mov rcx, rbx
call fcn.140031310
jmp case.0x14007540b.3
mov eax, dword [rbx + 0x40]
test al, 4
je 0x140075840
and eax, 0xfffffffb
xor edx, edx
or eax, 8
mov rcx, rbx
mov dword [rbx + 0x40], eax
call fcn.140031310
jmp case.0x14007540b.3
mov eax, esi
and eax, 0xffff0000
cmp eax, 0x1fff0000
je 0x140075840
mov eax, edi
and eax, 0xffff0000
cmp eax, 0x1fff0000
je 0x140075840
test byte [rbx + 0x40], 1
jne 0x140075491
mov dword [rbx + 0x4c], esi
mov dword [rbx + 0x50], edi
cmp esi, dword [rbx + 0x20]
jne 0x14007549f
cmp edi, dword [rbx + 0x24]
je 0x140075840
mov rcx, rbx
mov dword [rbx + 0x20], esi
mov dword [rbx + 0x24], edi
call fcn.140030c20
cmp dword [rbx + 0xa0], r14d
jne case.0x14007540b.3
cmp eax, dword [rbx + 0x48]
je case.0x14007540b.3
cmp eax, 0xffffffff
je case.0x14007540b.3
xor r9d, r9d
mov dword [rbx + 0x48], eax
mov r8d, eax
mov dl, 0x12
mov rcx, rbx
call fcn.1400753c0
jmp case.0x14007540b.3
test byte [rbx + 0x40], 1
jne 0x1400754f0
mov dword [rbx + 0x54], esi
mov dword [rbx + 0x58], edi
cmp esi, dword [rbx + 0x28]
jne 0x1400754fe
cmp edi, dword [rbx + 0x2c]
je 0x140075840
mov rcx, rbx
mov dword [rbx + 0x28], esi
mov dword [rbx + 0x2c], edi
call fcn.1400345d0
jmp case.0x14007540b.3
mov eax, dword [rbx + 0x40]
test al, 0x40
jne 0x140075840
btr eax, 7
xor edx, edx
or eax, 0x40
mov rcx, rbx
mov dword [rbx + 0x40], eax
call fcn.140031310
jmp case.0x14007540b.3
mov eax, dword [rbx + 0x40]
test al, al
js 0x140075840
and eax, 0xffffffbf
bts eax, 7
mov dword [rbx + 0x40], eax
jmp case.0x14007540b.3
mov eax, dword [rbx + 0x40]
test al, 0xc0
je 0x140075840
and eax, 0xffffff3f
jmp 0x14007541e
mov eax, dword [rbx + 0x40]
bt eax, 0xa
jb 0x140075840
mov rcx, qword [0x140183f00]
bts eax, 0xa
mov dword [rbx + 0x40], eax
mov rax, qword [rcx + 0x148]
test rax, rax
je case.0x14007540b.3
mov rdx, rbx
call rax
jmp case.0x14007540b.3
mov eax, dword [rbx + 0x40]
bt eax, 0xa
jae 0x140075840
btr eax, 0xa
mov dword [rbx + 0x40], eax
jmp case.0x14007540b.3
mov eax, dword [rbx + 0x40]
bt eax, 9
jb 0x140075840
mov r8, qword [rbx + 0x80]
bts eax, 9
mov dword [rbx + 0x40], eax
test r8, r8
je 0x1400755ea
mov rcx, qword [0x140183f00]
mov rax, qword [rcx + 0xf8]
test rax, rax
je 0x1400755ea
mov rdx, rbx
call rax
cmp dword [0x140183bc4], r14d
je 0x14007565f
mov rcx, rbx
call fcn.140016b10
cmp dword [0x140183bc8], r14d
je 0x14007565f
mov eax, dword [rbx + 0x2c]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [rbx + 0x28]
cdq
sub eax, edx
sar eax, 1
test byte [rbx + 0x40], 0x40
jne 0x14007565f
mov r9, qword [0x140183b68]
mov dword [0x140183bc0], r14d
test r9, r9
je 0x140075647
mov r8d, ecx
mov edx, eax
mov rcx, rbx
call r9
mov rcx, rbx
call fcn.140034000
jmp case.0x14007540b.3
mov edx, dword [0x140183b90]
mov r9d, eax
mov dword [rsp + 0x20], ecx
xor r8d, r8d
mov rcx, rbx
call fcn.140016d50
mov rcx, rbx
call fcn.140034000
jmp case.0x14007540b.3
mov eax, dword [rbx + 0x40]
bt eax, 9
jae 0x140075840
btr eax, 9
mov dword [rbx + 0x40], eax
cmp qword [rbx + 0x80], r14
je 0x1400756a8
mov rcx, qword [0x140183f00]
mov rax, qword [rcx + 0xf8]
test rax, rax
je 0x1400756a8
mov r8, qword [rbx + 0x88]
mov rdx, rbx
call rax
mov rcx, rbx
call fcn.140034000
test byte [rbx + 0x40], 1
je case.0x14007540b.3
cmp dword [rbx + 0xa0], r14d
jne case.0x14007540b.3
lea rcx, str.SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS
call fcn.140048f70
mov r8, rax
test rax, rax
je 0x140075744
movzx eax, byte [rax]
test al, al
je 0x140075744
lea r9, str.auto
nop dword [rax]
movzx edx, byte [r9]
movzx ecx, al
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea r10d, [rcx - 0x20]
lea eax, [rdx - 0x61]
cmova r10d, ecx
cmp eax, 0x19
lea ecx, [rdx - 0x20]
mov eax, r10d
cmova ecx, edx
sub eax, ecx
jne 0x14007572a
test r10d, r10d
je 0x140075744
movzx eax, byte [r8 + 1]
inc r8
inc r9
jmp 0x1400756f0
lea rcx, str.SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS
call fcn.140048f70
xor edx, edx
mov rcx, rax
call fcn.140049010
test eax, eax
jmp 0x140075761
mov eax, dword [rbx + 0x40]
and eax, 0x1001
cmp eax, 0x1001
je case.0x14007540b.3
mov rax, qword [0x140183f00]
cmp dword [rax + 0x304], 1
je case.0x14007540b.3
mov rcx, rbx
call fcn.140033350
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.140040090
cmp al, 1
jne 0x1400757df
mov eax, dword [rbx + 8]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0x200
mov byte [rsp + 0x3c], bpl
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
cmp bpl, 6
jne 0x1400757a9
lea rcx, [0x140075350]
jmp 0x1400757c5
cmp bpl, 4
jne 0x1400757b8
lea rcx, [0x140075380]
jmp 0x1400757c5
cmp bpl, 3
jne 0x1400757cf
lea rcx, [0x1400753a0]
lea rdx, [rsp + 0x30]
call fcn.14003ff70
lea rcx, [rsp + 0x30]
call fcn.14003fa70
test eax, eax
setg r14b
cmp bpl, 0xe
jne 0x14007583b
cmp qword [rbx + 0xe0], 0
jne 0x14007583b
cmp qword [rbx + 0xe8], 0
jne 0x14007583b
lea rcx, str.SDL_QUIT_ON_LAST_WINDOW_CLOSE
call fcn.140048f70
mov edx, 1
mov rcx, rax
call fcn.140049010
test eax, eax
je 0x14007583b
mov edx, 0xffffffff
mov ecx, 0x100
call fcn.140040090
cmp al, 1
jne 0x14007583b
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x100
call fcn.14003fa70
mov eax, r14d
jmp 0x140075842
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret