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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
add rax, 8
mov rcx, rax
call fcn.140008f00
mov rax, qword [rsp + 0x60]
add rax, 0x48
mov rcx, rax
call fcn.140008f00
mov rax, qword [rsp + 0x60]
add rax, 0xe8
mov rcx, rax
call fcn.140008f00
mov rax, qword [rsp + 0x60]
add rax, 0xdf8
mov rcx, rax
call fcn.140008f00
mov rax, qword [rsp + 0x60]
add rax, 0x36e0
mov rcx, rax
call fcn.140008f00
mov rax, qword [rsp + 0x60]
add rax, 0x36e8
lea r9, [fcn.140008f00]
mov r8d, 5
mov edx, 8
mov rcx, rax
call fcn.140032410
mov rax, qword [rsp + 0x60]
add rax, 0x37b0
mov rcx, rax
call fcn.140031ac0
mov r8d, 0x37c0
xor edx, edx
mov rcx, qword [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x60]
mov dword [rax], 0
mov rax, qword [rsp + 0x60]
mov dword [rax + 4], 0
movss xmm2, dword [0x1400d070c]
movss xmm1, dword [0x1400d070c]
lea rcx, [rsp + 0x2c]
call fcn.140004160
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400dd4d8]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400e6bf8]
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 dword [rsp + 0x28], 0
jmp 0x1400468d3
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x28c
jge 0x1400468f4
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
mov dword [rcx + rax*4 + 0xf0], 0xffffffff
jmp 0x1400468c9
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400e6be8]
movss dword [rax + 0x38], xmm0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x40], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x3c], 0
movss xmm2, dword [0x1400e6be8]
movss xmm1, dword [0x1400e6be8]
lea rcx, [rsp + 0x34]
call fcn.140004160
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400d05fc]
movss dword [rax + 0x5c], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400dd520]
movss dword [rax + 0x60], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400dd520]
movss dword [rax + 0x64], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400dd4ec]
movss dword [rax + 0x68], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400dd4dc]
movss dword [rax + 0x6c], xmm0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x50], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x51], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x52], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x53], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x54], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x55], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x56], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x57], 0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1400dd548]
movss dword [rax + 0x58], xmm0
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 qword [rax + 0x80], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x78], 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]
mov qword [rax + 0x88], 0
movss xmm2, dword [0x1400e6c3c]
movss xmm1, dword [0x1400e6c3c]
lea rcx, [rsp + 0x3c]
call fcn.140004160
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0xdf8], rax
movss xmm2, dword [0x1400e6c3c]
movss xmm1, dword [0x1400e6c3c]
lea rcx, [rsp + 0x44]
call fcn.140004160
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x36e0], rax
mov rax, qword [rsp + 0x60]
mov dword [rax + 0xe10], 0
mov dword [rsp + 0x20], 0
jmp 0x140046ae4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jge 0x140046b23
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x1400d070c]
movss dword [rcx + rax*4 + 0x377c], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x1400d070c]
movss dword [rcx + rax*4 + 0x3768], xmm0
jmp 0x140046ada
mov dword [rsp + 0x24], 0
jmp 0x140046b37
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x28c
jge 0x140046b81
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x1400d070c]
movss dword [rcx + rax + 0xe24], xmm0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x1400d070c]
movss dword [rcx + rax + 0xe20], xmm0
jmp 0x140046b2d
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x37a9], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x37aa], 0xff
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x37ab], 1
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret