Function at 0x140040140
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.140031070
mov rax, qword [rsp + 0x60]
add rax, 0x68
mov rcx, rax
call fcn.140031070
mov rax, qword [rsp + 0x60]
add rax, 0xf0
mov rcx, rax
call fcn.140031070
mov rax, qword [rsp + 0x60]
add rax, 0xdf4
mov rcx, rax
call fcn.140031070
mov rax, qword [rsp + 0x60]
add rax, 0x36d8
mov rcx, rax
call fcn.140031070
mov rax, qword [rsp + 0x60]
add rax, 0x36e0
lea r9, [fcn.140031070]
mov r8d, 5
mov edx, 8
mov rcx, rax
call fcn.1400315f0
mov rax, qword [rsp + 0x60]
add rax, 0x37a8
mov rcx, rax
call fcn.140068820
nop
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov ecx, 0x37b8
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 [0x1400f1744]
movss xmm1, dword [0x1400f1744]
lea rcx, [rsp + 0x2c]
call fcn.1400310a0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400f13a8]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400f1588]
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 [0x1400f140c]
movss dword [rax + 0x28], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400f1594]
movss dword [rax + 0x2c], xmm0
mov dword [rsp + 0x28], 0
jmp 0x1400402a5
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x28c
jge 0x1400402c6
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
mov dword [rcx + rax*4 + 0xf8], 0xffffffff
jmp 0x14004029b
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400f1404]
movss dword [rax + 0x34], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400f13bc]
movss dword [rax + 0x38], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400f140c]
movss dword [rax + 0x3c], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400f13d0]
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 [0x1400f14a0]
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 [0x1400f14a0]
movss xmm1, dword [0x1400f14a0]
lea rcx, [rsp + 0x34]
call fcn.1400310a0
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 [0x1400f162c]
movss dword [rax + 0x78], xmm0
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
mov rax, qword [rsp + 0x60]
lea rcx, [0x1400677d0]
mov qword [rax + 0xa8], rcx
mov rax, qword [rsp + 0x60]
lea rcx, [0x140067910]
mov qword [rax + 0xb0], rcx
mov rax, qword [rsp + 0x60]
mov qword [rax + 0xb8], 0
mov rax, qword [rsp + 0x60]
lea rcx, [0x140067a10]
mov qword [rax + 0xc0], rcx
movss xmm2, dword [0x1400f177c]
movss xmm1, dword [0x1400f177c]
lea rcx, [rsp + 0x3c]
call fcn.1400310a0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0xdf4], rax
movss xmm2, dword [0x1400f177c]
movss xmm1, dword [0x1400f177c]
lea rcx, [rsp + 0x44]
call fcn.1400310a0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x36d8], rax
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400f1594]
movss dword [rax + 0x30], xmm0
mov dword [rsp + 0x20], 0
jmp 0x1400404e1
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jge 0x140040520
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x1400f1744]
movss dword [rcx + rax*4 + 0x3774], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x1400f1744]
movss dword [rcx + rax*4 + 0x3760], xmm0
jmp 0x1400404d7
mov dword [rsp + 0x24], 0
jmp 0x140040534
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x28c
jge 0x14004057e
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x1400f1744]
movss dword [rcx + rax + 0xe1c], xmm0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x1400f1744]
movss dword [rcx + rax + 0xe18], xmm0
jmp 0x14004052a
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x37a1], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x37a2], 0xff
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x37a3], 1
mov rax, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret