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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [rsp + 0x60]
add rax, 8
mov rcx, rax
call fcn.1400090b0
mov rax, qword [rsp + 0x60]
add rax, 0x68
mov rcx, rax
call fcn.1400090b0
mov rax, qword [rsp + 0x60]
add rax, 0xf0
mov rcx, rax
call fcn.1400090b0
mov rax, qword [rsp + 0x60]
add rax, 0xe00
mov rcx, rax
call fcn.1400090b0
mov rax, qword [rsp + 0x60]
add rax, 0x36e8
mov rcx, rax
call fcn.1400090b0
mov rax, qword [rsp + 0x60]
add rax, 0x36f0
lea r9, [fcn.1400090b0]
mov r8d, 5
mov edx, 8
mov rcx, rax
call fcn.140009040
mov rax, qword [rsp + 0x60]
add rax, 0x37b8
mov rcx, rax
call fcn.140068d20
nop
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov ecx, 0x37c8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x60]
mov dword [rax], 0
mov rax, qword [rsp + 0x60]
mov dword [rax + 4], 0
movss xmm2, dword [0x14016203c]
movss xmm1, dword [0x14016203c]
lea rcx, [rsp + 0x2c]
call fcn.14000ce30
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140161a00]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140161e40]
movss dword [rax + 0x14], xmm0
mov rax, qword [rsp + 0x60]
lea rcx, str.imgui.ini
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x60]
lea rcx, str.imgui_log.txt
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140161ae8]
movss dword [rax + 0x28], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140161e48]
movss dword [rax + 0x2c], xmm0
mov dword [rsp + 0x28], 0
jmp 0x1400407a5
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x28c
jge 0x1400407c6
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
mov dword [rcx + rax*4 + 0xf8], 0xffffffff
jmp 0x14004079b
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140161ad4]
movss dword [rax + 0x34], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140161a10]
movss dword [rax + 0x38], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140161ae8]
movss dword [rax + 0x3c], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140161a50]
movss dword [rax + 0x40], xmm0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x48], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x50], 0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140161d20]
movss dword [rax + 0x58], xmm0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x5c], 0
movss xmm2, dword [0x140161d20]
movss xmm1, dword [0x140161d20]
lea rcx, [rsp + 0x34]
call fcn.14000ce30
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x68], rax
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x70], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x71], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x72], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x73], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x74], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x75], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x76], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x77], 0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140161eec]
movss dword [rax + 0x78], xmm0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x7c], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x7d], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x88], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x80], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0xa0], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x98], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x90], 0
movss xmm2, dword [0x140162080]
movss xmm1, dword [0x140162080]
lea rcx, [rsp + 0x3c]
call fcn.14000ce30
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0xe00], rax
movss xmm2, dword [0x140162080]
movss xmm1, dword [0x140162080]
lea rcx, [rsp + 0x44]
call fcn.14000ce30
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x36e8], rax
mov rax, qword [rsp + 0x60]
mov dword [rax + 0xe18], 0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140161e48]
movss dword [rax + 0x30], xmm0
mov dword [rsp + 0x20], 0
jmp 0x1400409b9
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jge 0x1400409f8
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14016203c]
movss dword [rcx + rax*4 + 0x3784], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14016203c]
movss dword [rcx + rax*4 + 0x3770], xmm0
jmp 0x1400409af
mov dword [rsp + 0x24], 0
jmp 0x140040a0c
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x28c
jge 0x140040a56
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14016203c]
movss dword [rcx + rax + 0xe2c], xmm0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14016203c]
movss dword [rcx + rax + 0xe28], xmm0
jmp 0x140040a02
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x37b1], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x37b2], 0xff
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x37b3], 1
mov rax, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret