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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x278
mov rax, qword [0x14032b320]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x140]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xd0], 0x50
mov dword [rsp + 0xd4], 0x1a5
mov rax, qword [rsp + 0x290]
mov rax, qword [rax + 0x138]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x140]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x298]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x138], eax
mov rax, qword [rsp + 0x298]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x13c], eax
mov dword [rsp + 0x120], 4
mov dword [rsp + 0x124], 1
mov dword [rsp + 0x128], 4
mov dword [rsp + 0x12c], 1
lea r9, [rsp + 0xd0]
mov r8d, 1
mov edx, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x1401e1548
mov eax, dword [rsp + 0xd8]
and eax, 0x800
test eax, eax
je 0x1401e0c0d
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 0x1a4]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
shr rax, 8
and rax, 0xff
movzx eax, al
mov ecx, dword [rsp + 0x12c]
mov edx, dword [rsp + 0x124]
add edx, ecx
mov ecx, edx
sub eax, ecx
cvtsi2ss xmm0, eax
call fcn.1401ad020
cvttss2si eax, xmm0
mov dword [rsp + 0x88], eax
cvtsi2ss xmm0, dword [rsp + 0x120]
call fcn.1401ad020
cvttss2si eax, xmm0
mov dword [rsp + 0x130], eax
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x13c]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x134], eax
cvtsi2ss xmm0, dword [rsp + 0x138]
movss dword [rsp + 0x98], xmm0
cvtsi2ss xmm1, dword [rsp + 0x128]
movaps xmm0, xmm1
call fcn.1401ad020
movss xmm1, dword [rsp + 0x98]
subss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x138], eax
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x134]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x13c], eax
mov dword [rsp + 0x160], 0
mov dword [rsp + 0x164], 0x11
mov dword [rsp + 0x168], 0x10
mov dword [rsp + 0x16c], 0x14
cvtsi2ss xmm0, dword [rsp + 0x130]
movss dword [rsp + 0x150], xmm0
cvtsi2ss xmm0, dword [rsp + 0x134]
movss dword [rsp + 0x154], xmm0
cvtsi2ss xmm0, dword [rsp + 0x138]
movss dword [rsp + 0x158], xmm0
cvtsi2ss xmm0, dword [rsp + 0x13c]
movss dword [rsp + 0x15c], xmm0
lea rax, [rsp + 0x150]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0xff
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x14033cd28]
mov rax, qword [rsp + 0x298]
mov ecx, dword [rax]
call fcn.1401c8da0
nop
jmp 0x1401e1548
mov rax, qword [rsp + 0x298]
mov eax, dword [rax + 0x10]
and eax, 0x80
test eax, eax
je 0x1401e0c2f
mov eax, dword [rsp + 0xdc]
and eax, 3
test eax, eax
je 0x1401e0c57
mov eax, dword [rsp + 0xdc]
and eax, 0x80
test eax, eax
je 0x1401e0c4a
cmp qword [rsp + 0xe8], 0
jne 0x1401e0c57
mov dword [rsp + 0x8c], 0
jmp 0x1401e0c62
mov dword [rsp + 0x8c], 1
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x7c], eax
mov byte [rsp + 0x70], 0xff
cmp dword [rsp + 0x7c], 0
je 0x1401e0c99
mov rax, qword [rsp + 0x290]
mov eax, dword [rax + 0xf8]
bts eax, 7
mov rcx, qword [rsp + 0x290]
mov dword [rcx + 0xf8], eax
mov eax, dword [rsp + 0xdc]
and eax, 3
test eax, eax
jne 0x1401e0db4
cmp dword [rsp + 0x7c], 0
je 0x1401e0db2
mov dword [rsp + 0x190], 4
mov dword [rsp + 0x194], 4
mov dword [rsp + 0x198], 4
mov dword [rsp + 0x19c], 4
mov dword [rsp + 0x180], 0
mov dword [rsp + 0x184], 0
mov dword [rsp + 0x188], 0x10
mov dword [rsp + 0x18c], 0x10
cvtsi2ss xmm0, dword [rsp + 0x130]
movss dword [rsp + 0x170], xmm0
cvtsi2ss xmm0, dword [rsp + 0x134]
movss dword [rsp + 0x174], xmm0
cvtsi2ss xmm0, dword [rsp + 0x138]
movss dword [rsp + 0x178], xmm0
cvtsi2ss xmm0, dword [rsp + 0x13c]
movss dword [rsp + 0x17c], xmm0
movsx eax, byte [rsp + 0x70]
lea rcx, [rsp + 0x170]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x180]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x190]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x14033cd28]
mov rax, qword [rsp + 0x298]
mov ecx, dword [rax]
call fcn.1401c8da0
nop
jmp 0x1401e0dde
mov byte [rsp + 0x70], 0x80
mov edx, 2
mov rcx, qword [rsp + 0x290]
call fcn.1401a6bc0
mov dword [rsp + 0x2a0], eax
movzx eax, byte [rsp + 0x70]
mov byte [rsp + 0x2a3], al
cmp qword [rsp + 0xe8], 0
je 0x1401e0fd4
mov dword [rsp + 0x1a0], 0
mov dword [rsp + 0x1a4], 0x37
mov dword [rsp + 0x1a8], 0x10
mov dword [rsp + 0x1ac], 0x47
lea rax, [rsp + 0x120]
lea rcx, [rsp + 0x1a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x120]
mov ecx, dword [rsp + 0x128]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x128], eax
mov eax, dword [rsp + 0x124]
mov ecx, dword [rsp + 0x12c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x12c], eax
cvtsi2ss xmm0, dword [rsp + 0x138]
movss dword [rsp + 0x9c], xmm0
cvtsi2ss xmm1, dword [rsp + 0x128]
movaps xmm0, xmm1
call fcn.1401ad020
movss xmm1, dword [rsp + 0x9c]
subss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x140], eax
mov eax, dword [rsp + 0x134]
mov ecx, dword [rsp + 0x13c]
sub ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x12c]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [rsp + 0x134]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x144], eax
mov eax, dword [rsp + 0x128]
mov ecx, dword [rsp + 0x140]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0x12c]
mov ecx, dword [rsp + 0x144]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x14c], eax
mov dword [rsp + 0x1c0], 0
mov dword [rsp + 0x1c4], 0x37
mov dword [rsp + 0x1c8], 0x10
mov dword [rsp + 0x1cc], 0x47
cvtsi2ss xmm0, dword [rsp + 0x140]
movss dword [rsp + 0x1b0], xmm0
cvtsi2ss xmm0, dword [rsp + 0x144]
movss dword [rsp + 0x1b4], xmm0
cvtsi2ss xmm0, dword [rsp + 0x148]
movss dword [rsp + 0x1b8], xmm0
cvtsi2ss xmm0, dword [rsp + 0x14c]
movss dword [rsp + 0x1bc], xmm0
movsx eax, byte [rsp + 0x70]
lea rcx, [rsp + 0x1b0]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x1c0]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x14033cd28]
mov rax, qword [rsp + 0x298]
mov ecx, dword [rax]
call fcn.1401c8da0
nop
mov dword [rsp + 0x1d0], 0
mov dword [rsp + 0x1d4], 0x15
mov dword [rsp + 0x1d8], 0x10
mov dword [rsp + 0x1dc], 0x25
mov dword [rsp + 0x1e0], 0
mov dword [rsp + 0x1e4], 0x26
mov dword [rsp + 0x1e8], 0x10
mov dword [rsp + 0x1ec], 0x36
mov qword [rsp + 0x80], 0
mov eax, dword [rsp + 0xdc]
and eax, 8
test eax, eax
je 0x1401e1058
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x80], rax
jmp 0x1401e1078
mov eax, dword [rsp + 0xdc]
and eax, 0x200
test eax, eax
je 0x1401e1078
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x1401e109f
mov r8d, 0x10
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x120]
call fcn.14023df70
nop
mov rax, qword [rsp + 0x290]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x120]
mov ecx, dword [rsp + 0x128]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xa0]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [rsp + 0x130]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x140], eax
mov eax, dword [rsp + 0x128]
mov ecx, dword [rsp + 0x140]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x120]
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0x134]
mov ecx, dword [rsp + 0x13c]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x124]
mov edx, dword [rsp + 0x12c]
sub edx, ecx
mov ecx, edx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [rsp + 0x134]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x144], eax
mov eax, dword [rsp + 0x12c]
mov ecx, dword [rsp + 0x144]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x124]
mov dword [rsp + 0x14c], eax
cmp qword [rsp + 0x80], 0
je 0x1401e1211
cvtsi2ss xmm0, dword [rsp + 0x140]
movss dword [rsp + 0x1f0], xmm0
cvtsi2ss xmm0, dword [rsp + 0x144]
movss dword [rsp + 0x1f4], xmm0
cvtsi2ss xmm0, dword [rsp + 0x148]
movss dword [rsp + 0x1f8], xmm0
cvtsi2ss xmm0, dword [rsp + 0x14c]
movss dword [rsp + 0x1fc], xmm0
movsx eax, byte [rsp + 0x70]
lea rcx, [rsp + 0x1f0]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x14033cd28]
mov rax, qword [rsp + 0x298]
mov ecx, dword [rax]
call fcn.1401c8da0
nop
cmp qword [rsp + 0x2a8], 0
je 0x1401e1548
mov rax, qword [rsp + 0x290]
mov eax, dword [rax + 0x110]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0xdc]
and eax, 0x1000
test eax, eax
je 0x1401e128c
lea rax, [rsp + 0x200]
mov rdi, rax
xor eax, eax
mov ecx, 0x5c
rep stosb byte [rdi], al
lea rdx, [rsp + 0x200]
mov ecx, dword [rsp + 0x78]
call fcn.1401cd9f0
test eax, eax
je 0x1401e128c
mov dword [rsp + 0x210], 0x2bc
mov edx, 1
lea rcx, [rsp + 0x200]
call fcn.1401cd710
mov dword [rsp + 0x78], eax
cmp qword [rsp + 0x118], 0
je 0x1401e1383
mov dword [rsp + 0x74], 0
lea r9, [rsp + 0x74]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x118]
call fcn.1401cea80
nop
cmp dword [rsp + 0x74], 0
je 0x1401e1383
lea r8, [rsp + 0xa4]
lea rdx, [rsp + 0xa8]
mov ecx, dword [rsp + 0x74]
call fcn.1401cf270
cvtsi2ss xmm0, dword [rsp + 0xa4]
cvtsi2ss xmm1, dword [rsp + 0xa8]
mov rax, qword [rsp + 0x298]
mov eax, dword [rax + 0x34]
sub eax, 3
cvtsi2ss xmm2, eax
mov rax, qword [rsp + 0x298]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x298]
mov ecx, dword [rcx + 0x34]
lea eax, [rax + rcx - 1]
cvtsi2ss xmm3, eax
mov dword [rsp + 0x50], 0xff
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x40], xmm1
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x20], xmm3
movss xmm3, dword [0x1402c7a88]
movss xmm2, dword [0x1402c7b50]
mov edx, dword [rsp + 0x74]
mov rax, qword [rsp + 0x298]
mov ecx, dword [rax]
call fcn.1401c9e30
mov ecx, dword [rsp + 0x74]
call fcn.1401cef00
nop
mov dx, 9
mov rcx, qword [rsp + 0x2a8]
call fcn.14023dbfc
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x1401e13b4
xor eax, eax
mov rcx, qword [rsp + 0x90]
mov word [rcx], ax
mov rax, qword [rsp + 0x298]
cvtsi2ss xmm0, dword [rax + 0x44]
mov rax, qword [rsp + 0x298]
cvtsi2ss xmm1, dword [rax + 0x40]
mov rax, qword [rsp + 0x298]
cvtsi2ss xmm2, dword [rax + 0x3c]
mov rax, qword [rsp + 0x298]
cvtsi2ss xmm3, dword [rax + 0x38]
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x40], xmm1
movss dword [rsp + 0x38], xmm2
movss dword [rsp + 0x30], xmm3
mov rax, qword [rsp + 0x298]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r9, qword [rsp + 0x2a8]
mov r8d, dword [rsp + 0x2a0]
mov edx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x298]
mov ecx, dword [rax]
call fcn.1401cad50
nop
cmp qword [rsp + 0x90], 0
je 0x1401e152e
mov eax, 9
mov rcx, qword [rsp + 0x90]
mov word [rcx], ax
cmp dword [rsp + 0x7c], 0
jne 0x1401e1483
mov byte [rsp + 0x2a3], 0x80
mov rax, qword [rsp + 0x298]
cvtsi2ss xmm0, dword [rax + 0x44]
mov rax, qword [rsp + 0x298]
cvtsi2ss xmm1, dword [rax + 0x40]
mov rax, qword [rsp + 0x298]
cvtsi2ss xmm2, dword [rax + 0x3c]
mov rax, qword [rsp + 0x298]
cvtsi2ss xmm3, dword [rax + 0x38]
mov rax, qword [rsp + 0x298]
mov eax, dword [rax + 0xc]
or eax, 2
mov rcx, qword [rsp + 0x90]
add rcx, 2
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x40], xmm1
movss dword [rsp + 0x38], xmm2
movss dword [rsp + 0x30], xmm3
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r9, rcx
mov r8d, dword [rsp + 0x2a0]
mov edx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x298]
mov ecx, dword [rax]
call fcn.1401cad50
nop
mov eax, dword [rsp + 0xdc]
and eax, 0x1000
test eax, eax
je 0x1401e1548
mov ecx, dword [rsp + 0x78]
call fcn.1401cd8f0
nop
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14023ba10
add rsp, 0x278
pop rdi
pop rsi
ret