Function at 0x140039240
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rsp + 0x160], xmm6
mov rax, qword [0x1400a5060]
xor rax, rsp
mov qword [rbp + 0x50], rax
cmp byte [rcx], 0
movaps xmm6, xmm2
mov r15, qword [rbp + 0xc0]
mov r14, rcx
je 0x140039296
mov r8d, 0x770
lea rdx, str.D:Source_Codeprovided_by_githubADMADM_Communityimguiimgui_draw.cpp
lea rcx, str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call fcn.140054320
lea r12, str.c:WindowsFontsArial.ttf
mov qword [rsp + 0x1a8], rsi
mov rcx, r12
mov qword [rsp + 0x1b8], rdi
lea rdx, [0x140094320]
call fcn.140007df0
mov rbx, rax
test rax, rax
je 0x140039587
mov rcx, rax
call fcn.140054e6c
mov esi, eax
cmp eax, 0xffffffff
je 0x14003957f
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.140053b00
test eax, eax
jne 0x14003957f
mov rcx, rbx
call fcn.140054e6c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14003957f
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140053b00
test eax, eax
jne 0x14003957f
cmp rdi, 0xffffffffffffffff
je 0x14003957f
mov rax, qword [0x1400a7c88]
test rax, rax
je 0x140039336
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.14005fad0
mov rsi, rax
test rax, rax
je 0x14003957f
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140053750
mov rcx, rbx
cmp rax, rdi
je 0x140039389
call fcn.14005274c
mov rax, qword [0x1400a7c88]
test rax, rax
je 0x14003937c
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.14005332c
jmp 0x140039587
call fcn.14005274c
movss xmm3, dword [0x140099748]
xor ecx, ecx
movss xmm2, dword [0x1400997f4]
xorps xmm4, xmm4
movups xmmword [rbp - 0x7a], xmm4
mov qword [rsp + 0x5c], rcx
mov eax, 0xffff
mov word [rbp - 0x7c], ax
xor eax, eax
mov dword [rsp + 0x70], ecx
mov byte [rsp + 0x78], cl
mov dword [rsp + 0x7c], ecx
movups xmmword [rbp - 0x6a], xmm4
mov qword [rbp - 0x5a], rax
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 1
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
mov byte [rsp + 0x50], cl
mov qword [rsp + 0x54], rcx
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm1, xmmword [rsp + 0x70]
shufps xmm1, xmm1, 0xe1
movss xmm1, xmm2
mov qword [rsp + 0x68], rcx
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm0, xmmword [rbp - 0x80]
movss xmm0, xmm3
shufps xmm1, xmm1, 0xe1
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [rbp - 0x70]
movd eax, xmm4
movaps xmmword [rbp + 0x20], xmm0
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x38], ecx
mov byte [rsp + 0x3c], 1
movaps xmm5, xmmword [rsp + 0x30]
mov qword [rbp - 0x50], rcx
movsd xmm0, qword [rbp - 0x50]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rbp], xmm1
movaps xmm1, xmmword [rbp - 0x60]
movsd qword [rbp + 0x40], xmm0
movaps xmmword [rbp - 0x40], xmm5
movaps xmmword [rbp + 0x30], xmm1
test al, al
jne 0x1400394bf
lea r9, [0x14008bc52]
nop word [rax + rax]
movzx eax, byte [r9 - 1]
lea rcx, [r9 - 1]
cmp al, 0x2f
je 0x140039499
cmp al, 0x5c
je 0x140039499
mov r9, rcx
cmp rcx, r12
ja 0x140039480
xorps xmm0, xmm0
lea r8, str._s___.0fpx
cvtss2sd xmm0, xmm6
mov edx, 0x28
lea rcx, [rbp + 0x16]
movsd qword [rsp + 0x20], xmm0
call fcn.140007cc0
movaps xmm5, xmmword [rbp - 0x40]
cmp byte [r14], 0
je 0x1400394e2
mov r8d, 0x786
lea rdx, str.D:Source_Codeprovided_by_githubADMADM_Communityimguiimgui_draw.cpp
lea rcx, str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call fcn.140054320
movaps xmm5, xmmword [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x30]
movq rax, xmm5
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [rbp]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm1, qword [rbp + 0x40]
movaps xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x50], xmm1
movaps xmmword [rsp + 0x30], xmm5
test rax, rax
je 0x140039550
mov r8d, 0x788
lea rdx, str.D:Source_Codeprovided_by_githubADMADM_Communityimguiimgui_draw.cpp
lea rcx, str.font_cfg.FontData__0
call fcn.140054320
mov rax, qword [rsp + 0x68]
lea rdx, [rsp + 0x30]
test r15, r15
movss dword [rsp + 0x44], xmm6
mov rcx, r14
mov qword [rsp + 0x30], rsi
cmovne rax, r15
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x68], rax
call fcn.140038f10
jmp 0x1400395a2
mov rcx, rbx
call fcn.14005274c
mov r8d, 0x775
lea rdx, str.D:Source_Codeprovided_by_githubADMADM_Communityimguiimgui_draw.cpp
lea rcx, str._0____Could_not_load_font_file__
call fcn.140054320
xor eax, eax
mov rdi, qword [rsp + 0x1b8]
mov rsi, qword [rsp + 0x1a8]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14004b500
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x170
pop r15
pop r14
pop r12
pop rbx
pop rbp
ret