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

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x80
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edx, dword [0x1402cc344]
mov rbx, rcx
mov ecx, dword [rcx]
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov edi, dword [0x1402cc348]
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x28], r15
cmp edx, ecx
jle 0x140078b66
mov r8d, dword [rbx + 4]
cmp edi, r8d
jle 0x140078b66
add ecx, dword [rbx + 0x18]
cmp edx, ecx
jge 0x140078b66
mov ecx, dword [rbx + 0x58]
add ecx, r8d
cmp edi, ecx
jge 0x140078b66
mov r15b, 1
jmp 0x140078b69
xor r15b, r15b
mov ecx, dword [rbx + 0x48]
mov qword [rsp + 0x68], r14
cmp edx, ecx
jle 0x140078b94
mov r8d, dword [rbx + 0x4c]
cmp edi, r8d
jle 0x140078b94
add ecx, dword [rbx + 0x50]
cmp edx, ecx
jge 0x140078b94
mov ecx, dword [rbx + 0x54]
add ecx, r8d
cmp edi, ecx
jge 0x140078b94
mov r14b, 1
jmp 0x140078b97
xor r14b, r14b
movzx eax, byte [0x1402cc145]
mov byte [rsp + 0x21], al
test al, al
je 0x140078bb4
cmp byte [0x1402cc245], 0
mov byte [rsp + 0x20], 1
je 0x140078bb9
mov byte [rsp + 0x20], 0
lea rsi, [rbx + 0x68]
mov rbp, qword [rsi + 0x18]
mov rax, rsi
cmp rbp, 0x10
jb 0x140078bcd
mov rax, qword [rsi]
mov r12, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rsi + 0x10]
mov qword [rsp + 0x38], r12
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
call fcn.140074820
cmp dword [0x1402a9390], eax
mov rax, rsi
sete r13b
cmp rbp, 0x10
jb 0x140078c0f
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], r12
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140074820
mov ecx, dword [0x1402a938c]
cmp ecx, eax
sete r12b
xor ebp, ebp
test r15b, r15b
je 0x140078ccf
test r14b, r14b
movzx r14d, byte [rsp + 0x20]
jne 0x140078cd5
test r14b, r14b
je 0x140078cd5
test r13b, r13b
jne 0x140078cd5
cmp dword [0x1402a9388], ebp
jne 0x140078cd5
test ecx, ecx
jne 0x140078c8d
mov eax, dword [0x1402cc344]
mov dword [0x1402cc358], edi
mov dword [0x1402cc354], eax
mov eax, dword [rbx]
mov dword [rbx + 0x40], eax
mov eax, dword [rbx + 4]
mov dword [rbx + 0x44], eax
mov edi, dword [0x1402cc348]
cmp qword [rsi + 0x18], 0x10
mov rax, rsi
jb 0x140078c9a
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140074820
movzx r15d, byte [rsp + 0x21]
mov dword [0x1402a938c], eax
jmp 0x140078ce6
movzx r14d, byte [rsp + 0x20]
movzx r15d, byte [rsp + 0x21]
test r15b, r15b
jne 0x140078ce6
mov dword [0x1402a938c], ebp
test r12b, r12b
je 0x140078dac
test r13b, r13b
jne 0x140078dac
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8d, dword [rbx + 0x44]
mov r9d, r8d
sub r9d, dword [0x1402cc358]
mov r10d, eax
mov ecx, dword [rbx + 0x40]
add r9d, dword [0x1402cc348]
sub ecx, dword [0x1402cc354]
add ecx, dword [0x1402cc344]
js 0x140078d44
mov eax, edi
sub eax, dword [rbx + 0x18]
cmp ecx, eax
jg 0x140078d44
mov r11b, 1
jmp 0x140078d47
xor r11b, r11b
test r9d, r9d
js 0x140078d5e
lea rdx, [rbx + 0x1c]
mov eax, r10d
sub eax, dword [rdx]
cmp r9d, eax
jg 0x140078d5e
mov al, 1
jmp 0x140078d64
xor al, al
lea rdx, [rbx + 0x1c]
test r11b, r11b
jne 0x140078d7a
test ecx, ecx
jns 0x140078d75
mov ecx, ebp
lea rdx, [rbx + 0x1c]
jmp 0x140078d7a
mov ecx, edi
sub ecx, dword [rbx + 0x18]
mov dword [rbx + 0x10], ecx
test al, al
je 0x140078d95
sub r8d, dword [0x1402cc358]
add r8d, dword [0x1402cc348]
mov dword [rbx + 0x14], r8d
jmp 0x140078da6
test r9d, r9d
jns 0x140078d9f
mov dword [rbx + 0x14], ebp
jmp 0x140078da6
sub r10d, dword [rdx]
mov dword [rbx + 0x14], r10d
mov edi, dword [0x1402cc348]
mov r8d, dword [rbx]
add r8d, dword [rbx + 0x18]
mov edx, dword [rbx + 0x1c]
add edx, dword [rbx + 4]
mov ecx, dword [0x1402cc344]
lea eax, [r8 - 0xa]
cmp ecx, eax
jle 0x140078e72
lea eax, [rdx - 0xa]
cmp edi, eax
jle 0x140078e72
cmp ecx, r8d
jge 0x140078e72
cmp edi, edx
jge 0x140078e72
test r14b, r14b
je 0x140078e72
test r12b, r12b
jne 0x140078e72
cmp byte [rbx + 0x5c], bpl
je 0x140078e72
cmp dword [0x1402a9388], ebp
jne 0x140078e72
cmp dword [0x1402a9390], ebp
jne 0x140078e72
test r13b, r13b
jne 0x140078e39
mov dword [0x1402cc358], edi
mov dword [0x1402cc354], ecx
mov eax, dword [rbx + 0x18]
mov dword [rbx + 0x38], eax
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x3c], eax
mov eax, dword [rbx]
mov dword [rbx + 0x40], eax
mov eax, dword [rbx + 4]
mov dword [rbx + 0x44], eax
mov edi, dword [0x1402cc348]
cmp qword [rsi + 0x18], 0x10
jb 0x140078e43
mov rsi, qword [rsi]
mov rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rsi
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140074820
mov dword [0x1402a9390], eax
jmp 0x140078e7d
test r15b, r15b
jne 0x140078e7d
mov dword [0x1402a9390], ebp
test r13b, r13b
je 0x140078fe2
test r12b, r12b
jne 0x140078fe2
mov r10d, dword [0x1402cc344]
lea r12, [rbx + 0x28]
sub r10d, dword [0x1402cc354]
mov eax, ebp
mov r11d, dword [rbx + 0x10]
cmp r11d, 1
mov esi, dword [rbx + 0x38]
mov r15d, dword [r12]
setge al
lea ecx, [rax + 1]
imul ecx, r10d
add ecx, esi
mov dword [rsp + 0x48], ecx
cmp ecx, r15d
jle 0x140078ed4
cmp ecx, dword [rbx + 0x30]
lea r9, [rbx + 0x30]
jge 0x140078ed4
mov al, 1
jmp 0x140078eda
xor al, al
lea r9, [rbx + 0x30]
mov r14d, dword [rbx + 0x14]
lea r8, [rbx + 0x34]
mov edx, dword [rbx + 0x3c]
cmp r14d, 1
mov r13d, dword [rbx + 0x2c]
setge bpl
sub edi, dword [0x1402cc358]
inc ebp
imul ebp, edi
add ebp, edx
mov dword [rsp + 0x40], ebp
cmp ebp, r13d
jle 0x140078f11
cmp ebp, dword [r8]
jge 0x140078f11
mov dil, 1
jmp 0x140078f14
xor dil, dil
test al, al
je 0x140078f59
lea rcx, [rbx + 0x5d]
cmp r11d, 1
jl 0x140078f30
cmp byte [rcx], 0
jne 0x140078f30
lea eax, [rsi + r10*2]
mov dword [rbx + 0x20], eax
jmp 0x140078f3c
lea eax, [r10 + rsi]
mov dword [rbx + 0x20], eax
test r11d, r11d
jle 0x140078f53
cmp byte [rcx], 0
jne 0x140078f53
mov eax, dword [rbx + 0x40]
sub eax, dword [0x1402cc344]
add eax, dword [0x1402cc354]
mov dword [rbx + 0x10], eax
lea r8, [rbx + 0x34]
jmp 0x140078f75
cmp ecx, r15d
lea rax, [rsp + 0x48]
cmovl rax, r12
cmp dword [r9], ecx
lea rcx, [rbx + 0x5d]
cmovl rax, r9
mov eax, dword [rax]
mov dword [rbx + 0x20], eax
test dil, dil
je 0x140078fc6
cmp r14d, 1
jl 0x140078f99
cmp byte [rcx], 0
jne 0x140078f99
mov eax, dword [0x1402cc348]
sub eax, dword [0x1402cc358]
lea eax, [rdx + rax*2]
mov dword [rbx + 0x24], eax
jmp 0x140078fad
sub edx, dword [0x1402cc358]
add edx, dword [0x1402cc348]
mov dword [rbx + 0x24], edx
test r14d, r14d
jle 0x140078fe2
cmp byte [rcx], 0
jne 0x140078fe2
mov eax, dword [rbx + 0x44]
sub eax, dword [0x1402cc348]
add eax, dword [0x1402cc358]
mov dword [rbx + 0x14], eax
jmp 0x140078fe2
cmp ebp, r13d
lea rax, [rsp + 0x40]
lea rcx, [rbx + 0x2c]
cmovl rax, rcx
cmp dword [r8], ebp
cmovl rax, r8
mov eax, dword [rax]
mov dword [rbx + 0x24], eax
mov eax, dword [rbx]
lea rcx, [rbx + 0xc8]
movss xmm3, dword [0x140276298]
mov dword [rbx + 8], eax
mov eax, dword [rbx + 4]
mov dword [rbx + 0xc], eax
mov eax, dword [rbx + 0x10]
sub eax, dword [rbx]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm3
call fcn.140074750
cmp byte [0x1402a939c], 0
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
je 0x140079056
movd xmm0, dword [rbx + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe0], xmm0
cvttss2si eax, dword [rbx + 0xe0]
lea rcx, [rbx + 0xe8]
mov dword [rbx], eax
mov eax, dword [rbx + 0x14]
sub eax, dword [rbx + 4]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm3
call fcn.140074750
cmp byte [0x1402a939c], 0
je 0x140079096
movd xmm0, dword [rbx + 0x14]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x100], xmm0
cvttss2si eax, dword [rbx + 0x100]
lea rcx, [rbx + 0x88]
mov dword [rbx + 4], eax
mov eax, dword [rbx + 0x20]
sub eax, dword [rbx + 0x18]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm3
call fcn.140074750
cvttss2si r11d, dword [rbx + 0xa0]
mov ecx, 0x28
mov eax, 0x18
mov dword [rbx + 0x18], r11d
cmp r11d, dword [rbx + 0x28]
cmovl eax, ecx
cmp dword [rbx + 0x30], r11d
mov ecx, 0x30
cmovl eax, ecx
lea rcx, [rbx + 0xa8]
mov eax, dword [rax + rbx]
mov dword [rbx + 0x18], eax
mov eax, dword [rbx + 0x24]
sub eax, dword [rbx + 0x1c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm3
call fcn.140074750
cvttss2si r11d, dword [rbx + 0xc0]
mov ecx, 0x2c
mov eax, 0x1c
mov dword [rbx + 0x1c], r11d
cmp r11d, dword [rbx + 0x2c]
cmovl eax, ecx
cmp dword [rbx + 0x34], r11d
mov ecx, 0x34
cmovl eax, ecx
mov eax, dword [rax + rbx]
mov dword [rbx + 0x1c], eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140156510
add rsp, 0x80
pop rbx
ret