Function at 0x140040990
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.140009010
mov rax, qword [rsp + 0x60]
add rax, 0x68
mov rcx, rax
call fcn.140009010
mov rax, qword [rsp + 0x60]
add rax, 0xf0
mov rcx, rax
call fcn.140009010
mov rax, qword [rsp + 0x60]
add rax, 0xe00
mov rcx, rax
call fcn.140009010
mov rax, qword [rsp + 0x60]
add rax, 0x36e8
mov rcx, rax
call fcn.140009010
mov rax, qword [rsp + 0x60]
add rax, 0x36f0
lea r9, [fcn.140009010]
mov r8d, 5
mov edx, 8
mov rcx, rax
call fcn.140008fa0
mov rax, qword [rsp + 0x60]
add rax, 0x37b8
mov rcx, rax
call fcn.140069070
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 [0x14015df2c]
movss xmm1, dword [0x14015df2c]
lea rcx, [rsp + 0x2c]
call fcn.14000cd90
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x14015d9f0]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x14015dd30]
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 [0x14015daa0]
movss dword [rax + 0x28], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x14015dd38]
movss dword [rax + 0x2c], xmm0
mov dword [rsp + 0x28], 0
jmp 0x140040af5
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x28c
jge 0x140040b16
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
mov dword [rcx + rax*4 + 0xf8], 0xffffffff
jmp 0x140040aeb
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x14015da90]
movss dword [rax + 0x34], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x14015da00]
movss dword [rax + 0x38], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x14015daa0]
movss dword [rax + 0x3c], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x14015da34]
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 [0x14015dc1c]
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 [0x14015dc1c]
movss xmm1, dword [0x14015dc1c]
lea rcx, [rsp + 0x34]
call fcn.14000cd90
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 [0x14015dddc]
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 [0x14015df70]
movss xmm1, dword [0x14015df70]
lea rcx, [rsp + 0x3c]
call fcn.14000cd90
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0xe00], rax
movss xmm2, dword [0x14015df70]
movss xmm1, dword [0x14015df70]
lea rcx, [rsp + 0x44]
call fcn.14000cd90
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 [0x14015dd38]
movss dword [rax + 0x30], xmm0
mov dword [rsp + 0x20], 0
jmp 0x140040d09
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jge 0x140040d48
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14015df2c]
movss dword [rcx + rax*4 + 0x3784], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14015df2c]
movss dword [rcx + rax*4 + 0x3770], xmm0
jmp 0x140040cff
mov dword [rsp + 0x24], 0
jmp 0x140040d5c
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x28c
jge 0x140040da6
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14015df2c]
movss dword [rcx + rax + 0xe2c], xmm0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14015df2c]
movss dword [rcx + rax + 0xe28], xmm0
jmp 0x140040d52
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