Function at 0x1400510f0
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.14004c3e0
mov rax, qword [rsp + 0x60]
add rax, 0x48
mov rcx, rax
call fcn.14004c3e0
mov rax, qword [rsp + 0x60]
add rax, 0xe0
mov rcx, rax
call fcn.14004c3e0
mov rax, qword [rsp + 0x60]
add rax, 0xe38
mov rcx, rax
call fcn.14004c3e0
mov rax, qword [rsp + 0x60]
add rax, 0x3800
mov rcx, rax
call fcn.14004c3e0
mov rax, qword [rsp + 0x60]
add rax, 0x3808
lea r9, [fcn.14004c3e0]
mov r8d, 5
mov edx, 8
mov rcx, rax
call fcn.140002f20
mov rax, qword [rsp + 0x60]
add rax, 0x38d0
mov rcx, rax
call fcn.140078ac0
nop
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov ecx, 0x38e0
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 [0x14019778c]
movss xmm1, dword [0x14019778c]
lea rcx, [rsp + 0x2c]
call fcn.140002df0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1401974cc]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x14019767c]
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 0x140051231
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x29a
jge 0x140051252
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
mov dword [rcx + rax*4 + 0xe8], 0xffffffff
jmp 0x140051227
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 [0x140197604]
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 [0x140197604]
movss xmm1, dword [0x140197604]
lea rcx, [rsp + 0x34]
call fcn.140002df0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140197524]
movss dword [rax + 0x5c], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140197684]
movss dword [rax + 0x60], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x140197684]
movss dword [rax + 0x64], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x14019751c]
movss dword [rax + 0x68], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [0x1401974e0]
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 [0x1401976e0]
movss dword [rax + 0x58], xmm0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x71], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x72], 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
mov eax, reloc.WLDAP32.dll_Ordinal_46
mov rcx, qword [rsp + 0x60]
mov word [rcx + 0xc0], ax
movss xmm2, dword [0x1401977c0]
movss xmm1, dword [0x1401977c0]
lea rcx, [rsp + 0x3c]
call fcn.140002df0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0xe38], rax
movss xmm2, dword [0x1401977c0]
movss xmm1, dword [0x1401977c0]
lea rcx, [rsp + 0x44]
call fcn.140002df0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x3800], rax
mov rax, qword [rsp + 0x60]
mov dword [rax + 0xe50], 0
mov dword [rsp + 0x20], 0
jmp 0x140051453
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jge 0x140051492
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14019778c]
movss dword [rcx + rax*4 + 0x389c], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14019778c]
movss dword [rcx + rax*4 + 0x3888], xmm0
jmp 0x140051449
mov dword [rsp + 0x24], 0
jmp 0x1400514a6
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x29a
jge 0x1400514f0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14019778c]
movss dword [rcx + rax + 0xe64], xmm0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x60]
movss xmm0, dword [0x14019778c]
movss dword [rcx + rax + 0xe60], xmm0
jmp 0x14005149c
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x38c9], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x38ca], 0xff
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x38cb], 1
mov rax, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret