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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x1e8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov rsi, r8
mov rdi, rcx
mov r13, qword [0x14017d238]
mov rax, qword [r13 + 0x4038]
mov byte [rax + 0xc0], 1
mov r14, qword [r13 + 0x4038]
mov qword [rbp - 0x48], r14
cmp byte [r14 + 0xc3], 0
jne 0x14003beff
test r8, r8
jne 0x1400390fc
mov r8d, 0x10e7
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui_widgets.cpp
lea rcx, str.buf___0__buf_size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r13, qword [0x14017d238]
mov rdx, rdi
mov rcx, r14
call fcn.140007520
mov ebx, eax
mov dword [rsp + 0x54], eax
mov r8, qword [0x14017d238]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x14003913d
nop dword [rax]
movzx edx, byte [rcx]
test dl, dl
je 0x14003913d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140039134
cmp byte [rax], dl
je 0x14003913d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140039120
mov rax, qword [r8 + 0x3d58]
movss xmm4, dword [r8 + 0x3d60]
movss xmm0, dword [0x140054c00]
movss xmm12, dword [0x140054bf4]
movss xmm10, dword [0x140054b04]
xorps xmm15, xmm15
cmp rdi, rcx
jne 0x140039175
xorps xmm6, xmm6
jmp 0x1400391c2
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm12
movaps xmm2, xmm4
lea rdx, [rbp + 0x160]
mov rcx, rax
call fcn.14002c680
movss xmm0, dword [rbp + 0x160]
addss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm4, dword [rbp + 0x164]
mov r8, qword [0x14017d238]
mov rax, qword [r8 + 0x4038]
test byte [r8 + 0x4988], 1
je 0x1400391de
movss xmm1, dword [r8 + 0x4990]
jmp 0x1400391e6
movss xmm1, dword [rax + 0x1cc]
movss xmm8, dword [0x140054b0c]
comiss xmm15, xmm1
jbe 0x14003922f
cmp qword [rax + 0x1b8], 0
jne 0x140039210
cmp qword [r8 + 0x4dd8], 0
lea rcx, [rax + 0x260]
je 0x140039217
lea rcx, [rax + 0x230]
movss xmm0, dword [rcx]
subss xmm0, dword [rax + 0x110]
addss xmm0, xmm1
movaps xmm1, xmm8
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm3, xmm4
mov rax, qword [rbp + 0x150]
mov rdx, qword [rax]
lea rcx, [rbp + 0x160]
call fcn.140016d90
comiss xmm6, xmm15
jbe 0x140039264
addss xmm6, dword [r13 + 0x3944]
jmp 0x140039267
xorps xmm6, xmm6
movss xmm4, dword [r14 + 0x114]
movaps xmm1, xmm4
movss xmm11, dword [rbp + 0x164]
addss xmm1, xmm11
movss xmm3, dword [r14 + 0x110]
movaps xmm0, xmm3
movss xmm5, dword [rbp + 0x160]
movss dword [rbp - 0x28], xmm5
addss xmm0, xmm5
movss dword [rbp - 0x70], xmm3
movss dword [rbp - 0x6c], xmm4
movss dword [rbp - 0x68], xmm0
movss dword [rbp - 0x64], xmm1
movaps xmm2, xmm4
addss xmm2, xmm11
addss xmm6, xmm5
addss xmm6, xmm3
movss dword [rbp - 0x38], xmm3
movss dword [rbp - 0x34], xmm4
movss dword [rbp - 0x30], xmm6
movss dword [rbp - 0x2c], xmm2
subss xmm2, xmm4
subss xmm6, xmm3
movss dword [rbp + 0x160], xmm6
movss dword [rbp + 0x164], xmm2
movss xmm1, dword [r13 + 0x3930]
lea rcx, [rbp + 0x160]
call fcn.140016910
mov r9d, 0x400
lea r8, [rbp - 0x70]
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140016a80
test al, al
je 0x14003beff
mov r12d, dword [r13 + 0x49b0]
mov r8d, dword [r13 + 0x49ac]
mov edx, ebx
lea rcx, [rbp - 0x70]
call fcn.140007ef0
movzx ecx, al
mov byte [rsp + 0x5f], al
test al, al
je 0x14003934f
mov dword [r13 + 0x4ea8], 1
mov rdi, qword [0x14017d238]
xor edx, edx
test ebx, ebx
je 0x14003936d
cmp dword [rdi + 0x4ec0], ebx
jne 0x14003936d
add rdi, 0x4eb8
jmp 0x140039370
mov rdi, rdx
mov qword [rbp - 0x40], rdi
shr r12d, 8
and r12b, 1
cmp dword [r13 + 0x409c], ebx
je 0x1400393a6
cmp dword [r13 + 0x4b18], ebx
jne 0x1400393a6
test byte [r13 + 0x4b24], 1
jne 0x1400393a2
cmp dword [r13 + 0x4b3c], 2
jne 0x1400393a6
mov al, 1
jmp 0x1400393a8
xor al, al
mov byte [rbp + 0x160], al
test cl, cl
je 0x1400393bf
cmp byte [r13 + 0x3868], dl
je 0x1400393bf
mov bl, 1
jmp 0x1400393c1
xor bl, bl
mov byte [rbp + 0x158], bl
mov byte [rbp - 0x58], dl
xor r14b, r14b
test rdi, rdi
je 0x1400393dd
cmp byte [rdi + 0x6b], 1
je 0x1400393dd
mov r15b, 1
jmp 0x1400393e0
xor r15b, r15b
test bl, bl
jne 0x1400393f5
test al, al
jne 0x1400393f5
test r12b, r12b
jne 0x1400393f5
mov byte [rbp + 0x168], dl
jmp 0x140039409
mov byte [rbp + 0x168], 1
mov eax, dword [rsp + 0x54]
cmp dword [r13 + 0x409c], eax
jne 0x140039412
test r15b, r15b
je 0x140039633
lea rdi, [r13 + 0x4eb8]
mov qword [rbp - 0x40], rdi
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, dword [rdi + 8]
call fcn.140038f20
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rsi + rbx], r14b
jne 0x140039436
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x14003946d
test ecx, ecx
je 0x140039458
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003945d
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.140020680
mov dword [rdi + 0x38], esi
movsxd r8, esi
mov r14, qword [rbp + 0x140]
mov rdx, r14
mov rcx, qword [rdi + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [rsp + 0x54]
cmp dword [rdi + 8], esi
jne 0x1400394ba
test r15b, r15b
jne 0x1400394ba
mov byte [rbp + 0x148], 1
cmp dword [rdi + 0x10], ebx
jne 0x1400394ba
cmp byte [rdi + 0x48], r15b
je 0x1400394c1
movsxd r8, ebx
mov rdx, r14
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400394c1
mov byte [rbp + 0x148], 0
mov dword [rdi + 8], esi
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x1a
jge 0x1400394f3
test ecx, ecx
je 0x1400394db
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400394e0
mov eax, 8
mov edx, 0x1a
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.140020760
mov dword [rdi + 0x18], 0x1a
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x14003951e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor r9d, r9d
mov edx, r9d
test eax, eax
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.140020680
xor edx, edx
mov dword [rdi + 0x28], edx
mov byte [rdi + 0x48], dl
mov rsi, r14
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x30]
cmp r15, r14
jae 0x14003956c
nop dword [rax]
cmp byte [rsi], 0
je 0x14003956a
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.140003ae0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x60]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x140039540
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub esi, dword [rbp + 0x140]
mov dword [rdi + 0x10], esi
movzx eax, byte [rbp + 0x148]
test al, al
je 0x1400395b0
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmp dword [rdi + 0x58], ebx
cmovl ecx, dword [rdi + 0x58]
mov dword [rdi + 0x58], ecx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
jmp 0x1400395f2
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], edx
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], edx
mov byte [rdi + 0x68], 0
mov byte [rdi + 0x6b], 1
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], edx
movzx r15d, byte [rbp + 0x160]
test r15b, r15b
je 0x140039612
test al, al
je 0x14003960d
test byte [r13 + 0x4b24], 4
jne 0x140039612
mov r14b, 1
jmp 0x140039615
xor r14b, r14b
movzx ebx, byte [rbp + 0x158]
test r12b, r12b
jne 0x14003962e
test bl, bl
je 0x14003963b
cmp byte [r13 + 0xe64], r12b
je 0x14003963b
mov r14b, 1
jmp 0x14003963b
movzx r15d, byte [rbp + 0x160]
movzx r12d, byte [r13 + 0x59]
mov byte [rbp - 0x80], r12b
mov eax, dword [rsp + 0x54]
movzx esi, byte [rbp + 0x168]
cmp dword [r13 + 0x409c], eax
je 0x1400396b9
test sil, sil
je 0x1400396ac
test rdi, rdi
je 0x140039667
cmp dword [rdi + 8], eax
je 0x140039685
mov r8d, 0x1185
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui_widgets.cpp
lea rcx, str.state__state__ID__id
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rsp + 0x54]
mov rdx, qword [rbp - 0x48]
mov ecx, eax
call fcn.140007a80
mov rdx, qword [rbp - 0x48]
mov ecx, dword [rsp + 0x54]
call fcn.140018f00
xor edx, edx
mov rcx, qword [rbp - 0x48]
call fcn.1400128b0
mov eax, dword [rsp + 0x54]
cmp dword [r13 + 0x409c], eax
jne 0x1400397b8
test bl, bl
mov ebx, dword [rsp + 0x54]
je 0x1400396fb
test ebx, ebx
jne 0x1400396df
mov r8d, 0x2453
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui.cpp
lea rcx, str.IsNamedKeyOrModKey_key____owner_id_____ImGuiID_0____flags___ImGuiInputFlags_LockThisFrame__ImGuiInputFlags_LockUntilRelease___
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, 0x28f
mov rcx, qword [0x14017d238]
call fcn.140002770
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
or dword [r13 + 0x4970], 3
test ebx, ebx
jne 0x140039721
mov r8d, 0x2453
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui.cpp
lea rcx, str.IsNamedKeyOrModKey_key____owner_id_____ImGuiID_0____flags___ImGuiInputFlags_LockThisFrame__ImGuiInputFlags_LockUntilRelease___
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, 0x207
mov rcx, qword [0x14017d238]
call fcn.140002770
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
test ebx, ebx
jne 0x14003975b
mov r8d, 0x2453
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui.cpp
lea rcx, str.IsNamedKeyOrModKey_key____owner_id_____ImGuiID_0____flags___ImGuiInputFlags_LockThisFrame__ImGuiInputFlags_LockUntilRelease___
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, 0x208
mov rcx, qword [0x14017d238]
call fcn.140002770
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
test r12b, r12b
je 0x1400397bc
test ebx, ebx
jne 0x14003979a
mov r8d, 0x2453
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui.cpp
lea rcx, str.IsNamedKeyOrModKey_key____owner_id_____ImGuiID_0____flags___ImGuiInputFlags_LockThisFrame__ImGuiInputFlags_LockUntilRelease___
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, 0x4000
mov rcx, qword [0x14017d238]
call fcn.140002770
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
jmp 0x1400397bc
mov ebx, dword [rsp + 0x54]
cmp dword [r13 + 0x409c], ebx
jne 0x140039800
test rdi, rdi
jne 0x1400397d3
xor edx, edx
xor ecx, ecx
call fcn.140007a80
cmp dword [r13 + 0x409c], ebx
jne 0x140039800
cmp byte [r13 + 0x3868], 0
je 0x1400397fc
mov eax, dword [rbp - 0x58]
movzx eax, al
test sil, sil
mov r8d, 1
cmove eax, r8d
mov dword [rbp - 0x58], eax
mov cl, 1
jmp 0x140039802
xor cl, cl
mov byte [rbp + 0x158], cl
test rdi, rdi
je 0x14003982e
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003981a
test r14b, r14b
je 0x14003982e
test cl, cl
je 0x14003982e
mov byte [rbp + 0x148], 1
mov byte [rbp + 0x160], 0
jmp 0x140039854
mov byte [rbp + 0x160], 0
mov byte [rbp + 0x148], 0
test cl, cl
jne 0x14003984f
mov byte [rbp + 0x148], cl
cmp dword [r13 + 0x409c], ebx
jne 0x14003985e
test rdi, rdi
je 0x14003985e
cmp byte [rdi + 0x48], 0
je 0x14003985e
mov al, 1
jmp 0x140039860
xor al, al
mov byte [rsp + 0x60], al
cmp qword [rbp + 0x138], 0
je 0x14003988b
test al, al
je 0x140039878
mov rax, qword [rdi + 0x30]
jmp 0x14003987f
mov rax, qword [rbp + 0x140]
cmp byte [rax], 0
jne 0x14003988b
mov byte [rsp + 0x59], 1
jmp 0x140039891
xor dl, dl
mov byte [rsp + 0x59], dl
movss xmm7, dword [rbp - 0x70]
movss dword [rbp - 0x60], xmm7
movss xmm14, dword [0x140054ad8]
cmp dword [r13 + 0x409c], ebx
jne 0x140039da8
test rdi, rdi
jne 0x1400398d0
mov r8d, 0x11d1
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui_widgets.cpp
lea rcx, str.state___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov byte [rdi + 0xe86], 0
mov dword [rdi + 0x4c], 0x19
xor r9d, r9d
mov dword [rdi + 0xe88], r9d
cmp byte [r13 + 0xe50], r9b
sete al
mov byte [r13 + 0x40a9], al
movss xmm6, dword [r13 + 0xe48]
subss xmm6, xmm7
subss xmm6, dword [r13 + 0x392c]
addss xmm6, dword [rdi + 0x50]
movss xmm2, dword [r13 + 0x3d60]
mulss xmm2, xmm14
test r14b, r14b
je 0x140039947
xor r14d, r14d
mov dword [rdi + 0x58], r14d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r9b
mov byte [rdi + 0xe85], 1
jmp 0x140039c9e
movzx eax, byte [rsp + 0x5f]
test al, al
je 0x140039b6b
cmp word [r13 + 0x3872], 2
jb 0x140039b6b
cmp byte [r13 + 0xe65], r9b
jne 0x140039b6b
cmp byte [rdi + 0x6b], r9b
je 0x14003998a
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140036810
movss xmm2, dword [rbp - 0x14]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140036f80
movsxd rbx, eax
mov dword [rdi + 0x54], ebx
mov dword [rdi + 0x58], ebx
mov dword [rdi + 0x5c], ebx
mov byte [rdi + 0x6a], 0
movzx ecx, word [r13 + 0x3872]
sub ecx, 2
test cl, 1
jne 0x140039ac5
test eax, eax
je 0x140039a12
lea esi, [rbx - 1]
cmp esi, dword [rdi + 0xc]
jle 0x1400399df
mov r8d, 0xf67
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui_widgets.cpp
lea rcx, str.idx___obj__CurLenW
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test esi, esi
js 0x1400399e8
cmp esi, dword [rdi + 0x18]
jl 0x140039a02
mov r8d, 0x76c
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x20]
cmp word [rax + rbx*2 - 2], 0xa
je 0x140039a12
xor cl, cl
jmp 0x140039a14
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140039a20
test cl, cl
jne 0x140039a43
lea rdx, [rdi + 0x54]
mov r8d, 0x20000c
mov rcx, rdi
call fcn.140037590
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140039a5e
cmp dword [rdi + 0x58], eax
jne 0x140039a5b
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x140039a5e
mov dword [rdi + 0x54], eax
mov ebx, dword [rdi + 0x54]
inc ebx
mov esi, dword [rdi + 0xc]
cmp ebx, esi
jge 0x140039a86
nop word [rax + rax]
mov edx, ebx
mov rcx, rdi
call fcn.140036ae0
test eax, eax
jne 0x140039a84
inc ebx
cmp ebx, esi
jl 0x140039a70
cmp ebx, esi
cmovg ebx, esi
mov dword [rdi + 0x54], ebx
mov dword [rdi + 0x5c], ebx
mov eax, dword [rdi + 0xc]
mov edx, ebx
mov ecx, dword [rdi + 0x58]
cmp ecx, ebx
je 0x140039ab4
cmp ecx, eax
jle 0x140039aa4
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp ebx, eax
jle 0x140039aad
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x140039ab4
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x140039c91
mov dword [rdi + 0x54], eax
jmp 0x140039c91
cmp ebx, dword [rdi + 0xc]
jle 0x140039ae4
mov r8d, 0xf67
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui_widgets.cpp
lea rcx, str.idx___obj__CurLenW
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test ebx, ebx
js 0x140039aed
cmp ebx, dword [rdi + 0x18]
jl 0x140039b07
mov r8d, 0x76c
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rdx, [rdi + 0x54]
mov r8d, 0x200004
mov rcx, rdi
call fcn.140037590
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
lea rdx, [rdi + 0x54]
mov r8d, 0x600005
mov rcx, rdi
call fcn.140037590
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
lea rdx, [rdi + 0x54]
mov r8d, 0x600001
mov rcx, rdi
call fcn.140037590
mov byte [rdi + 0xe84], 0
jmp 0x140039c91
cmp byte [r13 + 0x3868], r9b
je 0x140039c1d
cmp byte [rdi + 0xe85], r9b
jne 0x140039c1d
test al, al
je 0x140039c9b
cmp byte [r13 + 0xe65], r9b
je 0x140039bde
cmp byte [rdi + 0x6b], r9b
je 0x140039bb0
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140036810
movss xmm2, dword [rbp - 0x14]
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x140039bc1
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140036f80
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x140039c91
cmp byte [rdi + 0x6b], r9b
je 0x140039bf8
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140036810
movss xmm2, dword [rbp - 0x14]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140036f80
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], 0
lea rbx, [rdi + 0x5c]
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x140039c91
cmp byte [r13 + 0xe50], r9b
je 0x140039c9b
cmp byte [rdi + 0xe85], r9b
jne 0x140039c9b
movss xmm0, dword [r13 + 0xe8]
ucomiss xmm0, xmm15
jp 0x140039c51
jne 0x140039c51
movss xmm0, dword [r13 + 0xec]
ucomiss xmm0, xmm15
jp 0x140039c51
je 0x140039c9b
cmp byte [rdi + 0x6b], r9b
je 0x140039c6b
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140036810
movss xmm2, dword [rbp - 0x14]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140039c79
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140036f80
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
xor r14d, r14d
cmp byte [rdi + 0xe85], 0
je 0x140039cb8
cmp byte [r13 + 0xe50], 0
jne 0x140039cb8
mov byte [rdi + 0xe85], 0
cmp byte [r13 + 0xe64], 0
je 0x140039ccc
cmp byte [r13 + 0xe66], 0
je 0x140039cdb
test r12b, r12b
je 0x140039cdf
cmp byte [r13 + 0xe67], 0
je 0x140039cdf
mov cl, 1
jmp 0x140039ce1
xor cl, cl
mov eax, dword [r13 + 0x38e0]
test eax, eax
jle 0x140039da8
test cl, cl
jne 0x140039d79
test r15b, r15b
jne 0x140039d79
mov esi, r14d
mov rbx, r14
test rbx, rbx
js 0x140039d0c
cmp esi, eax
jl 0x140039d26
mov r8d, 0x76b
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r13 + 0x38e8]
movzx r8d, word [rax + rbx*2]
cmp r8d, 0x1f
jbe 0x140039d69
cmp r8d, 0x7f
je 0x140039d69
lea eax, [r8 - 0xe000]
cmp eax, 0x18ff
jbe 0x140039d69
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.140037590
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
inc rbx
mov eax, dword [r13 + 0x38e0]
cmp esi, eax
jl 0x140039d03
mov ecx, dword [r13 + 0x38e4]
test ecx, ecx
jns 0x140039da1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r14d
test eax, eax
cmovg edx, eax
lea rcx, [r13 + 0x38e0]
call fcn.140020760
mov dword [r13 + 0x38e0], r14d
xor bl, bl
mov byte [rsp + 0x5e], bl
mov r15d, dword [rsp + 0x54]
cmp dword [r13 + 0x409c], r15d
jne 0x14003a87d
cmp byte [r13 + 0x40a8], bl
jne 0x14003a87d
cmp byte [rbp - 0x58], bl
jne 0x14003a87d
test rdi, rdi
jne 0x140039df5
mov r8d, 0x123d
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui_widgets.cpp
lea rcx, str.state___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movaps xmm0, xmm11
subss xmm0, dword [r13 + 0x3930]
divss xmm0, dword [r13 + 0x3d60]
cvttss2si eax, xmm0
mov r14d, 1
mov ecx, r14d
cmp eax, r14d
cmovge ecx, eax
mov dword [rdi + 0x64], ecx
movzx eax, byte [r13 + 0xe65]
neg al
sbb ebx, ebx
and ebx, 0x400000
test r12b, r12b
je 0x140039e65
movzx eax, byte [r13 + 0xe66]
mov byte [rbp + 0x168], al
cmp byte [r13 + 0xe67], 0
je 0x140039e73
cmp byte [r13 + 0xe64], 0
jne 0x140039e73
test al, al
jne 0x140039e73
mov byte [rsp + 0x58], r14b
jmp 0x140039e78
movzx eax, byte [r13 + 0xe64]
mov byte [rbp + 0x168], al
mov byte [rsp + 0x58], 0
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa39
call fcn.140013990
test al, al
je 0x140039ea6
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa39
call fcn.140016530
test al, al
jne 0x140039ed4
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x220a
call fcn.140013990
test al, al
je 0x140039edb
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x220a
call fcn.140016530
test al, al
je 0x140039edb
mov byte [rsp + 0x50], r14b
jmp 0x140039ee0
mov byte [rsp + 0x50], 0
mov r8d, pe_nt_image_headers64
mov edx, r15d
mov ecx, 0xa24
call fcn.140013990
test al, al
je 0x140039f0e
mov r8d, pe_nt_image_headers64
mov edx, r15d
mov ecx, 0xa24
call fcn.140016530
test al, al
jne 0x140039f3c
mov r8d, pe_nt_image_headers64
mov edx, r15d
mov ecx, 0x1209
call fcn.140013990
test al, al
je 0x140039f43
mov r8d, pe_nt_image_headers64
mov edx, r15d
mov ecx, 0x1209
call fcn.140016530
test al, al
je 0x140039f43
mov byte [rsp + 0x5c], r14b
jmp 0x140039f48
mov byte [rsp + 0x5c], 0
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa37
call fcn.140013990
test al, al
je 0x140039f76
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa37
call fcn.140016530
test al, al
jne 0x140039fa4
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x2209
call fcn.140013990
test al, al
je 0x140039fab
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x2209
call fcn.140016530
test al, al
je 0x140039fab
mov byte [rsp + 0x5d], r14b
jmp 0x140039fb0
mov byte [rsp + 0x5d], 0
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa3b
call fcn.140013990
test al, al
je 0x140039fe3
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa3b
call fcn.140016530
test al, al
mov byte [rsp + 0x5a], r14b
jne 0x140039fe8
mov byte [rsp + 0x5a], 0
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa3a
call fcn.140013990
test al, al
je 0x14003a016
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa3a
call fcn.140016530
test al, al
jne 0x14003a049
test r12b, r12b
je 0x14003a050
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x2a3b
call fcn.140013990
test al, al
je 0x14003a050
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x2a3b
call fcn.140016530
test al, al
je 0x14003a050
mov byte [rsp + 0x5b], r14b
jmp 0x14003a055
mov byte [rsp + 0x5b], 0
mov r8d, pe_nt_image_headers64
mov edx, r15d
mov ecx, 0xa22
call fcn.140013990
test al, al
jne 0x14003a071
xor r12b, r12b
jmp 0x14003a08a
mov r8d, pe_nt_image_headers64
mov edx, r15d
mov ecx, 0xa22
call fcn.140016530
test al, al
setne r12b
test byte [r13 + 8], 2
je 0x14003a09d
test byte [r13 + 0xc], r14b
je 0x14003a09d
movzx esi, r14b
jmp 0x14003a0a0
xor sil, sil
mov r8d, r14d
xor edx, edx
mov ecx, 0x20d
call fcn.140013b10
test al, al
jne 0x14003a0cb
mov r8d, r14d
xor edx, edx
mov ecx, 0x273
call fcn.140013b10
test al, al
jne 0x14003a0cb
xor r15b, r15b
jmp 0x14003a0cf
movzx r15d, r14b
test sil, sil
je 0x14003a0fa
xor r8d, r8d
xor edx, edx
mov ecx, 0x27c
call fcn.140013b10
test al, al
jne 0x14003a0fd
xor r8d, r8d
xor edx, edx
mov ecx, 0x27b
call fcn.140013b10
test al, al
jne 0x14003a0fd
xor r14b, r14b
mov r8d, 0x101
mov edx, dword [rsp + 0x54]
mov ecx, 0x20e
call fcn.140013990
test al, al
je 0x14003a12d
mov r8d, 0x101
mov edx, dword [rsp + 0x54]
mov ecx, 0x20e
call fcn.140016530
test al, al
jne 0x14003a162
test sil, sil
je 0x14003a167
mov r8d, 0x101
mov esi, dword [rsp + 0x54]
mov edx, esi
mov ecx, 0x27a
call fcn.140013990
test al, al
je 0x14003a167
mov r8d, 0x101
mov edx, esi
mov ecx, 0x27a
call fcn.140016530
test al, al
je 0x14003a167
mov sil, 1
jmp 0x14003a16a
xor sil, sil
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.140013b10
test al, al
je 0x14003a1ed
cmp byte [rsp + 0x58], 0
je 0x14003a18c
mov eax, 0x200004
jmp 0x14003a1a0
mov eax, 0x200000
cmp byte [rbp + 0x168], 0
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
mov r8d, ebx
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.140037590
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movzx edx, byte [rbp + 0x158]
movzx ecx, byte [rbp + 0x148]
xor bl, bl
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x14003a86e
test dl, dl
je 0x14003a86e
mov al, 1
jmp 0x14003a870
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.140013b10
test al, al
je 0x14003a22c
cmp byte [rsp + 0x58], 0
je 0x14003a211
mov ecx, 0x200005
or ebx, ecx
jmp 0x14003a1a2
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rbp + 0x168], 0
cmovne ecx, eax
or ebx, ecx
jmp 0x14003a1a2
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.140013b10
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.140013b10
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.140013b10
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.140013b10
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.140013b10
test al, al
je 0x14003a29d
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
cmp byte [r13 + 0xe64], 0
cmovne ebx, eax
jmp 0x14003a1a2
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.140013b10
test al, al
je 0x14003a2d2
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
cmp byte [r13 + 0xe64], 0
cmovne r8d, eax
jmp 0x14003a1a5
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.140013b10
test al, al
je 0x14003a32c
cmp byte [rsp + 0x50], 0
jne 0x14003a32c
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003a321
cmp byte [rbp + 0x168], 0
je 0x14003a321
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.140037590
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200008
jmp 0x14003a1a2
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.140013b10
test al, al
je 0x14003a3ab
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003a3a0
cmp byte [rbp + 0x168], 0
je 0x14003a359
mov r8d, 0x60000c
jmp 0x14003a383
cmp byte [rbp - 0x80], 0
je 0x14003a3a0
cmp byte [r13 + 0xe67], 0
je 0x14003a3a0
cmp byte [r13 + 0xe66], 0
jne 0x14003a3a0
cmp byte [r13 + 0xe64], 0
jne 0x14003a3a0
mov r8d, 0x600004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.140037590
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe84], 1
or ebx, 0x200009
jmp 0x14003a1a2
test r15b, r15b
jne 0x14003a839
test r14b, r14b
jne 0x14003a839
test sil, sil
je 0x14003a3da
mov bl, 1
mov byte [rsp + 0x5e], bl
mov byte [rbp - 0x58], bl
xor cl, cl
xor dl, dl
mov byte [rbp + 0x158], dl
jmp 0x14003a1d2
movzx eax, byte [rsp + 0x5a]
test al, al
jne 0x14003a800
cmp byte [rsp + 0x5b], al
jne 0x14003a800
test r12b, r12b
je 0x14003a416
xor r9d, r9d
mov dword [rdi + 0x58], r9d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r9b
mov byte [rdi + 0xe84], 1
jmp 0x14003a1c2
movzx r12d, byte [rsp + 0x50]
test r12b, r12b
jne 0x14003a5e9
cmp byte [rsp + 0x5c], r12b
jne 0x14003a5e9
cmp byte [rsp + 0x5d], r12b
je 0x14003a1c2
mov rcx, qword [0x14017d238]
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x14003a465
mov rcx, qword [rcx + 0xb8]
call rax
mov rbx, rax
test rax, rax
je 0x14003a1c2
jmp 0x14003a46c
lea rbx, [0x140047d8a]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x14003a473
movsxd rcx, eax
lea rcx, [rcx*2 + 2]
call fcn.140008100
mov r15, rax
xor r12d, r12d
mov r14d, r12d
cmp byte [rbx], r12b
je 0x14003a4d7
mov rsi, rax
nop dword [rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x168]
call fcn.140003ae0
movsxd rcx, eax
add rbx, rcx
mov ecx, dword [rbp + 0x168]
lea eax, [rcx - 0x20]
cmp eax, 0xffdf
ja 0x14003a4d2
mov word [rsi], cx
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x14003a4a0
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x14003a56a
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x14003a50e
cmp ecx, eax
jle 0x14003a4fe
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x14003a507
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x14003a50e
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x14003a516
mov dword [rdi + 0x54], eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.1400374f0
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.140036d90
test al, al
je 0x14003a563
mov esi, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.140038870
test rax, rax
je 0x14003a55b
mov dword [rax], esi
mov dword [rax + 4], r12d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], 0xffffffff
add dword [rdi + 0x54], r14d
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe84], 1
test r15, r15
je 0x14003a5db
mov r8, qword [0x14017d238]
test r8, r8
je 0x14003a5db
mov r9d, dword [r8 + 0x3f90]
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14003a5d0
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14003a1c2
cmp qword [r13 + 0xb0], 0
je 0x14003a7b5
mov esi, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, esi
je 0x14003a627
mov r14d, esi
cmovl r14d, eax
cmovge esi, eax
movzx eax, byte [rbp + 0x148]
mov byte [rbp + 0x148], al
xor r9b, r9b
mov byte [rbp + 0x160], r9b
xor r9d, r9d
jmp 0x14003a645
xor r9d, r9d
mov r14d, r9d
mov esi, dword [rdi + 0xc]
movzx eax, byte [rbp + 0x148]
mov byte [rbp + 0x148], al
xor al, al
mov byte [rbp + 0x160], al
mov rcx, qword [rdi + 0x20]
movsxd rax, esi
lea r8, [rcx + rax*2]
movsxd rax, r14d
lea rdx, [rcx + rax*2]
mov ecx, r9d
mov r9d, 0x800
mov r10d, 0x80
test r8, r8
je 0x14003a670
cmp rdx, r8
jae 0x14003a693
movzx eax, word [rdx]
test ax, ax
je 0x14003a693
add rdx, 2
cmp ax, r10w
jae 0x14003a686
inc ecx
jmp 0x14003a666
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x14003a666
lea eax, [rcx + 1]
movsxd rbx, eax
mov rcx, rbx
call fcn.140008100
mov r15, rax
mov rdx, qword [rdi + 0x20]
movsxd rcx, esi
lea r11, [rdx + rcx*2]
movsxd rcx, r14d
lea r10, [rdx + rcx*2]
mov r9, rax
lea rsi, [rax + rbx]
lea rbx, [rsi - 1]
cmp rax, rbx
jae 0x14003a717
mov r12d, 0x80
nop dword [rax]
test r11, r11
je 0x14003a6da
cmp r10, r11
jae 0x14003a711
movzx eax, word [r10]
test ax, ax
je 0x14003a711
mov r8d, eax
add r10, 2
cmp eax, r12d
jae 0x14003a6f7
mov byte [r9], r8b
inc r9
jmp 0x14003a70c
mov edx, esi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.140003c90
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x14003a6d0
movzx r12d, byte [rsp + 0x50]
mov byte [r9], 0
mov r8, qword [0x14017d238]
mov rax, qword [r8 + 0xb0]
test rax, rax
je 0x14003a741
mov rdx, r15
mov rcx, qword [r8 + 0xb8]
call rax
mov r8, qword [0x14017d238]
test r15, r15
je 0x14003a7ac
test r8, r8
je 0x14003a7ac
mov r9d, dword [r8 + 0x3f90]
movsx rdx, word [r8 + 0x6078]
lea rcx, [rdx*8 + 0x607c]
add rcx, r8
cmp dword [rcx], r9d
je 0x14003a7a1
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [rax*8 + 0x607c]
add rcx, r8
mov dword [rcx], r9d
xor eax, eax
mov dword [rcx + 4], eax
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12b, r12b
je 0x14003a1c2
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003a7d8
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
mov byte [rdi + 0xe84], 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x14003a1c2
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.1400374f0
mov byte [rdi + 0x6a], 0
jmp 0x14003a1c2
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.140037590
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x14003a1c2
movzx ecx, byte [rbp + 0x148]
movzx edx, byte [rbp + 0x158]
cmp byte [r13 + 0x5c], 0
je 0x14003a865
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
jmp 0x14003a1d0
mov byte [rbp - 0x58], 1
jmp 0x14003a1d0
xor al, al
or cl, al
mov byte [rbp + 0x148], cl
mov r15d, dword [rsp + 0x54]
xor r12d, r12d
mov r10d, r12d
mov qword [rbp - 0x78], r12
mov r14d, r12d
cmp dword [r13 + 0x409c], r15d
jne 0x14003ab82
test rdi, rdi
jne 0x14003a8b6
mov r8d, 0x12dd
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui_widgets.cpp
lea rcx, str.state___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test bl, bl
je 0x14003aa9c
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp + 0x140]
mov r8, r9
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003a8e3
inc rax
test ecx, ecx
jne 0x14003a8d0
test edx, edx
je 0x14003aa9c
mov rax, r9
mov qword [rbp - 0x78], rax
mov r14d, dword [rdi + 0x38]
dec r14d
mov dword [rbp + 0x168], r14d
mov byte [rbp + 0x160], 1
mov qword [rsp + 0x70], r12
mov r15d, r12d
mov qword [rsp + 0x78], r12
test r14d, r14d
jle 0x14003a9f8
movsxd rsi, r14d
add rsi, rax
mov rbx, rax
xor eax, eax
mov r14d, eax
nop dword [rax + rax]
test rsi, rsi
je 0x14003a93a
cmp rbx, rsi
jae 0x14003a959
cmp byte [rbx], 0
je 0x14003a959
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.140003ae0
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x14003a930
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x14003a98c
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x14003a98c
movsxd rcx, ebx
add rcx, rcx
call fcn.140008100
mov r12, rax
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x74], ebx
mov dword [rsp + 0x70], r15d
movsxd r14, dword [rbp + 0x168]
mov rbx, qword [rbp - 0x78]
add r14, rbx
mov rsi, r12
movsxd r12, r15d
dec r12
lea r12, [rsi + r12*2]
cmp rsi, r12
jae 0x14003a9e5
test r14, r14
je 0x14003a9bb
cmp rbx, r14
jae 0x14003a9e5
cmp byte [rbx], 0
je 0x14003a9e5
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.140003ae0
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x50]
mov word [rsi], ax
add rsi, 2
cmp rsi, r12
jb 0x14003a9b1
xor ebx, ebx
mov word [rsi], bx
mov r12, qword [rsp + 0x78]
mov r14d, dword [rbp + 0x168]
jmp 0x14003a9fa
xor ebx, ebx
lea r9d, [r15 - 1]
test r14d, r14d
cmovle r9d, ebx
lea rdx, [rdi + 0x54]
mov r8, r12
mov rcx, rdi
call fcn.140038e80
nop
test r12, r12
je 0x14003aa94
mov r8, qword [0x14017d238]
test r8, r8
je 0x14003aa8a
mov r9d, dword [r8 + 0x3f90]
movsx r10, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14003aa7f
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], 0
inc word [rdx + 6]
inc dword [r8 + 0x6074]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r15d, dword [rsp + 0x54]
xor r12d, r12d
mov byte [rdi + 0x48], 1
mov eax, dword [rdi + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x2c]
cmp ebx, ecx
jle 0x14003aad5
test ecx, ecx
je 0x14003aac0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003aac5
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.140020680
mov dword [rdi + 0x28], ebx
mov r10, qword [rdi + 0x20]
mov r9, qword [rdi + 0x30]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x14003ab32
mov r15d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x14003ab2d
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x14003ab12
mov byte [r9], r8b
inc r9
jmp 0x14003ab28
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.140003c90
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x14003aaf5
mov r15d, dword [rsp + 0x54]
mov byte [r9], 0
mov rsi, qword [rbp + 0x140]
cmp byte [rsp + 0x5e], 0
jne 0x14003ab7c
mov r9, qword [rdi + 0x30]
mov rax, r9
mov r8, rsi
sub r8, r9
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003ab64
inc rax
test ecx, ecx
jne 0x14003ab51
test edx, edx
je 0x14003ab7c
mov r10, r9
mov qword [rbp - 0x78], r9
mov r14d, dword [rdi + 0x10]
mov byte [rbp + 0x160], 1
jmp 0x14003ab89
mov r10, qword [rbp - 0x78]
jmp 0x14003ab89
mov rsi, qword [rbp + 0x140]
cmp dword [r13 + 0x5d48], r15d
jne 0x14003ac3a
cmp dword [r13 + 0x409c], r15d
je 0x14003ac33
mov rax, qword [0x14017d238]
mov ecx, dword [rax + 0x49b0]
test cl, 0x20
je 0x14003abbd
shr ecx, 6
test cl, 1
jmp 0x14003abd7
mov edx, dword [rax + 0x49a8]
mov ecx, dword [rax + 0x40c8]
cmp ecx, edx
jne 0x14003ac33
test ecx, ecx
je 0x14003ac33
cmp dword [rax + 0x409c], edx
je 0x14003ac33
cmp byte [rax + 0x40cd], 0
jne 0x14003abf4
cmp dword [rax + 0x409c], 0
jne 0x14003ac33
cmp byte [rax + 0x40ac], 0
je 0x14003ac33
mov r9, qword [r13 + 0x5d58]
mov rax, r9
mov r8, rsi
sub r8, r9
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003ac17
inc rax
test ecx, ecx
jne 0x14003ac04
test edx, edx
je 0x14003ac33
mov r10, r9
mov qword [rbp - 0x78], r9
mov r14d, dword [r13 + 0x5d50]
dec r14d
mov byte [rbp + 0x160], 1
mov dword [r13 + 0x5d48], r12d
test r10, r10
je 0x14003ac91
test r14d, r14d
jns 0x14003ac62
mov r8d, 0x137d
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui_widgets.cpp
lea rcx, str.apply_new_text_length___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r10, qword [rbp - 0x78]
lea eax, [r14 + 1]
cmp eax, 0x19
mov ecx, 0x19
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x14003ac91
jbe 0x14003ac8c
lea r8, [rbx - 1]
mov rdx, r10
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + rsi - 1], 0
cmp dword [r13 + 0x409c], r15d
jne 0x14003acad
cmp byte [rbp - 0x58], 0
je 0x14003ad51
xor edx, edx
xor ecx, ecx
call fcn.140007a80
mov r14d, 1
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14017d4c0], eax
jle 0x14003ad2d
lea rcx, [0x14017d4c0]
call fcn.140044fd8
cmp dword [0x14017d4c0], 0xffffffff
jne 0x14003ad2d
mov qword [0x14017d4e0], r12
mov qword [0x14017d4e8], r12
mov ecx, 0x48
call fcn.140045050
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14017d4e0], rax
lea rcx, [0x140046560]
call fcn.1400452b4
nop
lea rcx, [0x14017d4c0]
call fcn.140044f6c
mov rsi, qword [0x14017d4e0]
mov rax, qword [rsi + 8]
mov rbx, rsi
mov qword [rbp - 0x78], rbx
cmp byte [rax + 0x19], 0
jne 0x14003ad73
cmp dword [rax + 0x1c], r15d
jae 0x14003ad63
mov rax, qword [rax + 0x10]
jmp 0x14003ad69
mov r14d, 1
mov dword [r13 + 0x61b0], r14d
jmp 0x14003acb3
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003ad45
mov qword [rbp - 0x78], rbx
cmp byte [rbx + 0x19], 0
jne 0x14003ad7f
cmp r15d, dword [rbx + 0x1c]
jae 0x14003ad86
mov rbx, rsi
mov qword [rbp - 0x78], rbx
cmp rbx, rsi
jne 0x14003aebf
mov qword [rbp], r12
xorps xmm0, xmm0
xorps xmm1, xmm1
mov dword [rbp + 8], r15d
movups xmmword [rbp + 0xc], xmm0
movups xmmword [rbp + 0x1c], xmm1
movsd xmm0, qword [rbp]
movsd qword [rbp + 0x2c], xmm0
mov rax, qword [rsi + 8]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], r12d
mov rcx, rsi
cmp byte [rax + 0x19], 0
jne 0x14003ade8
mov qword [rbp - 0x20], rax
cmp dword [rax + 0x1c], r15d
jae 0x14003add8
mov dword [rbp - 0x18], r12d
mov rax, qword [rax + 0x10]
jmp 0x14003ade2
mov dword [rbp - 0x18], r14d
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003adc4
cmp byte [rcx + 0x19], 0
jne 0x14003adf8
cmp r15d, dword [rcx + 0x1c]
jae 0x14003ae7d
movabs rax, 0x38e38e38e38e38e
cmp qword [0x14017d4e8], rax
je 0x14003bf54
lea rbx, [0x14017d4e0]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r12
mov ecx, 0x48
call fcn.140045050
mov r8, rax
movups xmm0, xmmword [rbp + 8]
movups xmmword [rax + 0x1c], xmm0
movups xmm1, xmmword [rbp + 0x18]
movups xmmword [rax + 0x2c], xmm1
movsd xmm0, qword [rbp + 0x28]
movsd qword [rax + 0x3c], xmm0
mov eax, dword [rbp + 0x30]
mov dword [r8 + 0x44], eax
mov qword [r8], rsi
mov qword [r8 + 8], rsi
mov qword [r8 + 0x10], rsi
mov word [r8 + 0x18], 0
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400216b0
mov rsi, qword [0x14017d4e0]
mov rax, qword [rsi + 8]
mov rbx, rsi
mov qword [rbp - 0x78], rbx
cmp byte [rax + 0x19], 0
jne 0x14003aeac
nop
cmp dword [rax + 0x1c], r15d
jae 0x14003ae9c
mov rax, qword [rax + 0x10]
jmp 0x14003aea2
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003ae90
mov qword [rbp - 0x78], rbx
cmp byte [rbx + 0x19], 0
jne 0x14003aeb8
cmp r15d, dword [rbx + 0x1c]
jae 0x14003aebf
mov rbx, rsi
mov qword [rbp - 0x78], rbx
movss xmm1, dword [r13 + 0x18]
movss xmm6, dword [0x140054b44]
mulss xmm1, xmm6
mov r8, qword [0x14017d238]
mov eax, dword [r8 + 0x409c]
test eax, eax
je 0x14003aeec
cmp eax, dword [r8 + 0x49a8]
je 0x14003aef9
cmp byte [rsp + 0x5f], 0
jne 0x14003aef9
movaps xmm2, xmm15
jmp 0x14003aefd
movaps xmm2, xmm8
subss xmm2, dword [rbx + 0x44]
mulss xmm2, xmm1
addss xmm2, dword [rbx + 0x44]
movss dword [rbx + 0x44], xmm2
mov rax, qword [r8 + 0x4038]
mov byte [rax + 0xc0], 1
movss xmm0, dword [0x14017d480]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [0x14017d484]
movss dword [rsp + 0x74], xmm1
movss xmm0, dword [0x14017d488]
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [0x14017d48c]
mulss xmm1, dword [r8 + 0x38f0]
movss dword [rsp + 0x7c], xmm1
lea rcx, [rsp + 0x70]
call fcn.140003d50
mov r9d, eax
mov rcx, qword [r8 + 0x4038]
mov dword [rsp + 0x28], r12d
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x70]
mov rcx, qword [rcx + 0x2a8]
call fcn.140025500
mov r8, qword [0x14017d238]
mov rax, qword [r8 + 0x4038]
mov byte [rax + 0xc0], 1
movss xmm0, dword [0x14017d450]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [0x14017d454]
movss dword [rsp + 0x74], xmm1
movss xmm0, dword [0x14017d458]
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [r8 + 0x38f0]
mulss xmm1, dword [rbx + 0x44]
mulss xmm1, dword [0x14017d45c]
movss dword [rsp + 0x7c], xmm1
mov r12, qword [rbp + 0x150]
movss xmm2, dword [r12]
divss xmm2, dword [0x140054b28]
movss xmm8, dword [rbp - 0x68]
movaps xmm0, xmm8
subss xmm0, xmm2
movss dword [rbp + 0x168], xmm0
movss xmm9, dword [rbp - 0x64]
movaps xmm1, xmm9
subss xmm1, xmm15
movss dword [rbp + 0x16c], xmm1
lea rsi, [r12 + 4]
movaps xmm0, xmm7
addss xmm0, xmm2
movss dword [rbp - 0x50], xmm0
movss xmm1, dword [rsi]
subss xmm1, dword [0x140054b2c]
movss xmm13, dword [rbp - 0x6c]
addss xmm1, xmm13
movss dword [rbp - 0x4c], xmm1
lea rcx, [rsp + 0x70]
call fcn.140003d50
mov r9d, eax
mov rcx, qword [r8 + 0x4038]
mov dword [rsp + 0x28], 0x30
movss xmm0, dword [0x140054b44]
movss dword [rsp + 0x20], xmm0
lea r8, [rbp + 0x168]
lea rdx, [rbp - 0x50]
mov rcx, qword [rcx + 0x2a8]
call fcn.140025500
mov rcx, qword [0x14017d258]
mov qword [rbp + 0x168], rcx
mov r15, qword [0x14017d238]
mov r14, rcx
test rcx, rcx
jne 0x14003b100
mov rcx, qword [r15 + 0x48]
mov r14, rcx
test rcx, rcx
jne 0x14003b0f9
mov r14, qword [r15 + 0x38]
cmp dword [r14 + 0x58], ecx
jg 0x14003b0ef
mov r8d, 0x76b
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rsi, [r12 + 4]
mov rax, qword [r14 + 0x60]
mov rcx, qword [rax]
mov r14, rcx
mov qword [rbp + 0x168], rcx
call fcn.140012bc0
lea rcx, [r15 + 0x4a80]
lea rdx, [rbp + 0x168]
call fcn.1400202a0
mov rdx, qword [r14 + 0x40]
mov rcx, qword [r15 + 0x4038]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a8]
call fcn.140022c60
mov r8, qword [0x14017d238]
mov rax, qword [r8 + 0x4038]
mov byte [rax + 0xc0], 1
mov rax, qword [r8 + 0x4038]
mov r14, qword [rax + 0x2a8]
movss xmm0, dword [0x14017d450]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [0x14017d454]
movss dword [rsp + 0x74], xmm1
movss xmm0, dword [0x14017d458]
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [0x14017d45c]
mulss xmm1, dword [r8 + 0x38f0]
movss dword [rsp + 0x7c], xmm1
lea rcx, [rsp + 0x70]
call fcn.140003d50
mov r15d, eax
mov r12, qword [rbp + 0x130]
test r12, r12
jne 0x14003b1c1
movaps xmm0, xmm15
movaps xmm7, xmm15
addss xmm7, dword [rsi]
jmp 0x14003b273
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
movss xmm0, dword [0x140054c00]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm12
movss xmm2, dword [r8 + 0x3d60]
lea rdx, [rbp + 0x168]
mov rcx, qword [r8 + 0x3d58]
call fcn.14002c680
movss xmm0, dword [rbp + 0x168]
addss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm7, dword [rsi]
mov rcx, qword [0x14017d238]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
movss xmm0, dword [0x140054c00]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm12
movss xmm2, dword [rcx + 0x3d60]
lea rdx, [rbp + 0x168]
mov rcx, qword [rcx + 0x3d58]
call fcn.14002c680
movss xmm0, dword [rbp + 0x168]
addss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm7, xmm6
mulss xmm7, xmm14
addss xmm0, dword [rsi]
mulss xmm0, xmm14
subss xmm8, xmm0
movss dword [rbp + 0x168], xmm8
subss xmm9, xmm7
movss dword [rbp + 0x16c], xmm9
mov r9, r12
mov r8d, r15d
lea rdx, [rbp + 0x168]
mov rcx, r14
call fcn.140025ed0
call fcn.140012cf0
movss xmm9, dword [rbp - 0x28]
movaps xmm14, xmm9
movss xmm7, dword [rbp - 0x60]
addss xmm14, xmm7
subss xmm14, dword [rsi]
movaps xmm10, xmm13
addss xmm10, xmm11
mov r12, qword [0x14017d238]
movss xmm2, dword [r12 + 0x3d60]
mov r15, qword [rbp + 0x138]
test r15, r15
jne 0x14003b308
movaps xmm0, xmm2
movss xmm11, dword [rsi]
subss xmm11, xmm2
jmp 0x14003b388
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r15
movss xmm6, dword [0x140054c00]
movss dword [rsp + 0x20], xmm6
movaps xmm3, xmm12
lea rdx, [rbp - 0x28]
mov rcx, qword [r12 + 0x3d58]
call fcn.14002c680
movss xmm11, dword [rsi]
mov rcx, qword [0x14017d238]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r15
movss dword [rsp + 0x20], xmm6
movaps xmm3, xmm12
movss xmm2, dword [rcx + 0x3d60]
lea rdx, [rbp + 0x168]
mov rcx, qword [rcx + 0x3d58]
call fcn.14002c680
movss xmm0, dword [rbp + 0x16c]
subss xmm11, dword [rbp - 0x24]
mov r12, qword [0x14017d238]
subss xmm11, dword [0x140054b0c]
mov rax, qword [rbp + 0x150]
movss xmm12, dword [rax + 4]
subss xmm12, xmm0
mulss xmm12, dword [0x140054ad8]
addss xmm12, xmm7
mulss xmm11, dword [0x140054ad8]
addss xmm11, xmm13
movss dword [rbp - 0x50], xmm11
movaps xmm0, xmm12
unpcklps xmm0, xmm11
movsd qword [rbp + 0x168], xmm0
cmp byte [rsp + 0x60], 0
je 0x14003b3e9
mov r8, qword [rdi + 0x30]
mov qword [rbp + 0x140], r8
jmp 0x14003b3f0
mov r8, qword [rbp + 0x140]
xor ecx, ecx
mov r14d, ecx
mov qword [rbp - 0x58], rcx
movzx esi, byte [rsp + 0x59]
test sil, sil
je 0x14003b424
mov r8, r15
mov qword [rbp + 0x140], r15
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r15 + r14], cl
jne 0x14003b414
add r14, r15
mov qword [rbp - 0x58], r14
movzx eax, byte [rbp + 0x158]
test al, al
jne 0x14003b5da
cmp byte [rbp + 0x148], cl
jne 0x14003b5da
test sil, sil
jne 0x14003b46c
mov eax, dword [rsp + 0x54]
cmp dword [r13 + 0x409c], eax
jne 0x14003b457
movsxd r14, dword [rdi + 0x10]
jmp 0x14003b469
mov r14, 0xffffffffffffffff
nop
inc r14
cmp byte [r8 + r14], cl
jne 0x14003b460
add r14, r8
mov rax, r14
sub rax, r8
cmp rax, 0x200000
jge 0x14003be84
lea rcx, [0x14017d420]
lea rax, [0x14017d430]
test sil, sil
cmovne rax, rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r12 + 0x38f0]
movss dword [rbp - 0x2c], xmm0
lea rcx, [rbp - 0x38]
call fcn.140003d50
mov esi, eax
mov rax, qword [rbp - 0x48]
mov rbx, qword [rax + 0x2a8]
movss xmm6, dword [r13 + 0x3d60]
mov rdi, qword [r13 + 0x3d58]
test esi, 0xff000000
je 0x14003be84
test r14, r14
jne 0x14003b4fd
mov r14, 0xffffffffffffffff
nop dword [rax + rax]
inc r14
cmp byte [r8 + r14], 0
jne 0x14003b4f0
add r14, r8
cmp r8, r14
je 0x14003be84
test rdi, rdi
jne 0x14003b513
mov rax, qword [rbx + 0x38]
mov rdi, qword [rax + 8]
ucomiss xmm6, xmm15
jp 0x14003b524
jne 0x14003b524
mov rax, qword [rbx + 0x38]
movss xmm6, dword [rax + 0x10]
mov rcx, qword [rdi + 0x40]
mov rax, qword [rbx + 0x98]
cmp qword [rcx + 8], rax
je 0x14003b556
mov r8d, 0x6a9
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui_draw.cpp
lea rcx, str.font__ContainerAtlas__TexID___CmdHeader.TextureId
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r8, qword [rbp + 0x140]
movups xmm0, xmmword [rbx + 0x88]
movups xmmword [rbp - 0x70], xmm0
comiss xmm0, xmm7
jae 0x14003b56b
movss dword [rbp - 0x70], xmm7
movss xmm0, dword [rbp - 0x6c]
comiss xmm0, xmm13
jae 0x14003b57c
movss dword [rbp - 0x6c], xmm13
comiss xmm14, dword [rbp - 0x68]
ja 0x14003b589
movss dword [rbp - 0x68], xmm14
comiss xmm10, dword [rbp - 0x64]
ja 0x14003b596
movss dword [rbp - 0x64], xmm10
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r8
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r9, [rbp + 0x168]
movaps xmm2, xmm6
mov rdx, rbx
mov rcx, rdi
call fcn.14002c8a0
mov r12, qword [0x14017d238]
jmp 0x14003be84
test rdi, rdi
jne 0x14003b610
mov r8d, 0x13c2
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui_widgets.cpp
lea rcx, str.state___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r12, qword [0x14017d238]
mov r8, qword [rbp + 0x140]
movzx eax, byte [rbp + 0x158]
xor ecx, ecx
test sil, sil
jne 0x14003b620
movsxd r14, dword [rdi + 0x10]
add r14, r8
mov qword [rbp - 0x58], r14
mov r11, qword [rdi + 0x20]
xorps xmm5, xmm5
xorps xmm6, xmm6
xorps xmm7, xmm7
mov r10, rcx
mov r15, rcx
mov r9d, 0xfffffc18
mov esi, r9d
mov edx, ecx
test al, al
je 0x14003b653
movsxd rax, dword [rdi + 0x54]
lea r10, [r11 + rax*2]
mov edx, 1
lea r9d, [rdx - 2]
cmp byte [rbp + 0x148], 0
je 0x14003b676
mov ecx, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
movsxd rax, ecx
lea r15, [r11 + rax*2]
mov esi, 0xffffffff
inc edx
xor ecx, ecx
mov rax, r11
movzx r8d, word [r11]
test r8w, r8w
je 0x14003b6c0
cmp r8w, 0xa
jne 0x14003b6b2
inc ecx
cmp r9d, 0xffffffff
jne 0x14003b6a0
cmp rax, r10
jb 0x14003b6a0
mov r9d, ecx
dec edx
test edx, edx
jle 0x14003b6c0
cmp esi, 0xffffffff
jne 0x14003b6b2
cmp rax, r15
jb 0x14003b6b2
mov esi, ecx
dec edx
test edx, edx
jle 0x14003b6c0
add rax, 2
movzx r8d, word [rax]
test r8w, r8w
jne 0x14003b683
inc ecx
mov eax, ecx
cmp r9d, 0xffffffff
cmovne eax, r9d
mov dword [rbp + 0x168], eax
cmp esi, 0xffffffff
cmove esi, ecx
mov rdx, r10
cmp r10, r11
jbe 0x14003b6f2
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x14003b6f2
mov rdx, rax
cmp rax, r11
ja 0x14003b6e0
mov r8, qword [r13 + 0x3d58]
movss xmm3, dword [r13 + 0x3d60]
divss xmm3, dword [r8 + 0x14]
movaps xmm1, xmm5
movaps xmm8, xmm5
cmp rdx, r10
jae 0x14003b75a
movzx eax, word [rdx]
add rdx, 2
cmp eax, 0xa
jne 0x14003b72b
maxss xmm1, xmm8
movaps xmm8, xmm5
jmp 0x14003b755
cmp eax, 0xd
je 0x14003b755
mov rcx, rax
cmp eax, dword [r8]
jge 0x14003b743
mov rax, qword [r8 + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x14003b749
movss xmm2, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm8, xmm0
cmp rdx, r10
jb 0x14003b714
maxss xmm8, xmm1
movss dword [rbp - 0x28], xmm8
movd xmm15, dword [rbp + 0x168]
cvtdq2ps xmm15, xmm15
mulss xmm15, dword [r13 + 0x3d60]
movss dword [rbp + 0x168], xmm15
test esi, esi
js 0x14003b827
mov rdx, r15
cmp r15, r11
jbe 0x14003b7a6
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x14003b7a6
mov rdx, rax
cmp rax, r11
ja 0x14003b794
mov r8, qword [r13 + 0x3d58]
movss xmm3, dword [r13 + 0x3d60]
divss xmm3, dword [r8 + 0x14]
movaps xmm1, xmm5
movaps xmm6, xmm5
cmp rdx, r15
jae 0x14003b813
nop word [rax + rax]
movzx eax, word [rdx]
add rdx, 2
cmp eax, 0xa
jne 0x14003b7e5
maxss xmm1, xmm6
movaps xmm6, xmm5
jmp 0x14003b80e
cmp eax, 0xd
je 0x14003b80e
mov rcx, rax
cmp eax, dword [r8]
jge 0x14003b7fd
mov rax, qword [r8 + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x14003b803
movss xmm2, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm6, xmm0
cmp rdx, r15
jb 0x14003b7d0
movd xmm7, esi
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r13 + 0x3d60]
maxss xmm6, xmm1
cmp byte [rbp + 0x158], 0
je 0x14003b88f
cmp byte [rdi + 0xe84], 0
je 0x14003b88f
movaps xmm0, xmm9
mulss xmm0, dword [0x140054ac4]
subss xmm9, dword [r13 + 0x392c]
movss xmm2, dword [rdi + 0x50]
movaps xmm1, xmm8
comiss xmm2, xmm8
jbe 0x14003b86a
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x14003b878
subss xmm1, xmm9
comiss xmm1, xmm2
jb 0x14003b888
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
mov byte [rdi + 0xe84], 0
movss xmm9, dword [rdi + 0x50]
cmp byte [rbp + 0x148], 0
je 0x14003bb0b
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rsi, [r11 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea r15, [r11 + rax*2]
movss xmm0, dword [0x14017d450]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [0x14017d454]
movss dword [rsp + 0x74], xmm1
movss xmm0, dword [0x14017d458]
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [r12 + 0x38f0]
mulss xmm1, dword [0x140054ab4]
mulss xmm1, dword [0x14017d45c]
movss dword [rsp + 0x7c], xmm1
lea rcx, [rsp + 0x70]
call fcn.140003d50
movaps xmm3, xmm12
addss xmm3, xmm6
subss xmm3, xmm9
movaps xmm6, xmm11
addss xmm6, xmm7
xorps xmm5, xmm5
subss xmm6, xmm5
cmp rsi, r15
jae 0x14003bb0b
movss xmm7, dword [0x140054b20]
movss xmm15, dword [rbp - 0x60]
movss xmm8, dword [0x140054ad8]
movss xmm11, dword [0x140054c00]
mov r14d, eax
mov rdi, qword [rbp - 0x48]
xor ebx, ebx
movss xmm4, dword [r13 + 0x3d60]
movaps xmm0, xmm10
addss xmm0, xmm4
comiss xmm6, xmm0
ja 0x14003bae3
comiss xmm13, xmm6
jbe 0x14003b9ab
cmp rsi, r15
jae 0x14003bac8
nop word [rax + rax]
movzx eax, word [rsi]
add rsi, 2
cmp ax, 0xa
je 0x14003bac8
cmp rsi, r15
jb 0x14003b990
jmp 0x14003bae3
mov rdx, qword [r13 + 0x3d58]
divss xmm4, dword [rdx + 0x14]
xorps xmm1, xmm1
cmp rsi, r15
jae 0x14003ba03
nop
movzx eax, word [rsi]
add rsi, 2
cmp eax, 0xa
je 0x14003b9f9
cmp eax, 0xd
je 0x14003b9f2
mov ecx, eax
cmp eax, dword [rdx]
jge 0x14003b9e2
mov rax, qword [rdx + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x14003b9e7
movss xmm2, dword [rdx + 0x10]
movaps xmm0, xmm4
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rsi, r15
jb 0x14003b9c0
jmp 0x14003ba03
xorps xmm5, xmm5
maxss xmm5, xmm1
xorps xmm1, xmm1
maxss xmm1, xmm5
xorps xmm5, xmm5
comiss xmm5, xmm1
jb 0x14003ba3e
mov rax, qword [r13 + 0x3d58]
cmp dword [rax], 0x20
jle 0x14003ba29
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x14003ba2e
movss xmm0, dword [rax + 0x10]
mulss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm3
movaps xmm0, xmm6
addss xmm0, xmm7
addss xmm3, xmm5
movaps xmm2, xmm11
subss xmm2, dword [r13 + 0x3d60]
addss xmm2, xmm6
maxss xmm3, xmm15
maxss xmm2, xmm13
movss dword [rsp + 0x70], xmm3
movss dword [rsp + 0x74], xmm2
minss xmm1, xmm14
minss xmm0, xmm10
movss dword [rsp + 0x78], xmm1
movss dword [rsp + 0x7c], xmm0
comiss xmm0, xmm13
jbe 0x14003bac8
comiss xmm10, xmm2
jbe 0x14003bac8
comiss xmm1, xmm15
jbe 0x14003bac8
comiss xmm14, xmm3
jbe 0x14003bac8
mov dword [rsp + 0x28], ebx
movss dword [rsp + 0x20], xmm5
mov r9d, r14d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi + 0x2a8]
call fcn.140025500
xorps xmm5, xmm5
movaps xmm3, xmm12
subss xmm3, xmm9
addss xmm6, dword [r13 + 0x3d60]
cmp rsi, r15
jb 0x14003b961
mov r12, qword [0x14017d238]
movss xmm8, dword [rbp - 0x28]
movss xmm11, dword [rbp - 0x50]
mov rbx, qword [rbp - 0x78]
movss xmm15, dword [rbp + 0x168]
mov rdi, qword [rbp - 0x40]
mov r14, qword [rbp - 0x58]
mov rax, r14
mov r8, qword [rbp + 0x140]
sub rax, r8
cmp rax, 0x200000
jge 0x14003bcb0
lea rcx, [0x14017d420]
lea rax, [0x14017d430]
cmp byte [rsp + 0x59], 0
cmovne rax, rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r12 + 0x38f0]
movss dword [rsp + 0x7c], xmm0
lea rcx, [rsp + 0x70]
call fcn.140003d50
mov edx, eax
mov dword [rbp + 0x148], eax
mov rax, qword [rbp - 0x48]
mov rsi, qword [rax + 0x2a8]
movaps xmm0, xmm12
subss xmm0, xmm9
movss dword [rbp + 0x168], xmm0
movaps xmm1, xmm11
xorps xmm7, xmm7
subss xmm1, xmm7
movss dword [rbp + 0x16c], xmm1
movss xmm6, dword [r13 + 0x3d60]
mov r15, qword [r13 + 0x3d58]
test edx, 0xff000000
je 0x14003bcb3
test r14, r14
jne 0x14003bbcd
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r8 + r14], 0
jne 0x14003bbc0
add r14, r8
cmp r8, r14
je 0x14003bcb3
test r15, r15
jne 0x14003bbe3
mov rax, qword [rsi + 0x38]
mov r15, qword [rax + 8]
ucomiss xmm6, xmm7
jp 0x14003bbf3
jne 0x14003bbf3
mov rax, qword [rsi + 0x38]
movss xmm6, dword [rax + 0x10]
mov rcx, qword [r15 + 0x40]
mov rax, qword [rsi + 0x98]
cmp qword [rcx + 8], rax
je 0x14003bc2b
mov r8d, 0x6a9
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui_draw.cpp
lea rcx, str.font__ContainerAtlas__TexID___CmdHeader.TextureId
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [rbp + 0x148]
mov r8, qword [rbp + 0x140]
movups xmm0, xmmword [rsi + 0x88]
movups xmmword [rbp - 0x70], xmm0
movss xmm1, dword [rbp - 0x60]
comiss xmm0, xmm1
jae 0x14003bc45
movss dword [rbp - 0x70], xmm1
movss xmm0, dword [rbp - 0x6c]
comiss xmm0, xmm13
jae 0x14003bc56
movss dword [rbp - 0x6c], xmm13
comiss xmm14, dword [rbp - 0x68]
ja 0x14003bc63
movss dword [rbp - 0x68], xmm14
comiss xmm10, dword [rbp - 0x64]
ja 0x14003bc70
movss dword [rbp - 0x64], xmm10
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm7
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r8
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
lea r9, [rbp + 0x168]
movaps xmm2, xmm6
mov rdx, rsi
mov rcx, r15
call fcn.14002c8a0
mov r12, qword [0x14017d238]
jmp 0x14003bcb3
xorps xmm7, xmm7
cmp byte [rbp + 0x158], 0
je 0x14003be84
movss xmm0, dword [r13 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r13 + 0x5b], 0
je 0x14003bd00
comiss xmm7, xmm0
jae 0x14003bd00
movss xmm1, dword [0x140054b14]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x140054af8]
comiss xmm1, xmm0
jae 0x14003bd00
xor cl, cl
jmp 0x14003bd02
mov cl, 1
addss xmm12, xmm8
subss xmm12, xmm9
cvttss2si eax, xmm12
xorps xmm6, xmm6
cvtsi2ss xmm6, eax
addss xmm11, xmm15
subss xmm11, xmm7
cvttss2si eax, xmm11
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
movaps xmm3, xmm7
subss xmm3, dword [r13 + 0x3d60]
addss xmm3, dword [0x140054ad8]
movaps xmm5, xmm7
subss xmm5, dword [0x140054b1c]
movaps xmm2, xmm6
movss xmm4, dword [rbp - 0x38]
subss xmm2, xmm4
subss xmm2, dword [rbx + 0x40]
movss xmm0, dword [r13 + 0x18]
mulss xmm0, dword [0x140054b74]
mulss xmm2, xmm0
addss xmm2, dword [rbx + 0x40]
movss dword [rbx + 0x40], xmm2
test cl, cl
je 0x14003be4c
comiss xmm5, xmm13
jbe 0x14003be4c
comiss xmm10, xmm3
jbe 0x14003be4c
movaps xmm0, xmm6
movss xmm8, dword [0x140054b0c]
addss xmm0, xmm8
comiss xmm0, dword [rbp - 0x60]
jbe 0x14003be4c
comiss xmm14, xmm6
jbe 0x14003be4c
movss xmm0, dword [0x14017d430]
movss dword [rbp - 0x38], xmm0
movss xmm1, dword [0x14017d434]
movss dword [rbp - 0x34], xmm1
movss xmm0, dword [0x14017d438]
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [0x14017d43c]
mulss xmm1, dword [r12 + 0x38f0]
movss dword [rbp - 0x2c], xmm1
addss xmm4, xmm2
movss dword [rbp + 0x168], xmm4
movss dword [rbp + 0x16c], xmm5
movss dword [rbp - 0x40], xmm4
movss dword [rbp - 0x3c], xmm3
lea rcx, [rbp - 0x38]
call fcn.140003d50
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp + 0x168]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax + 0x2a8]
call fcn.140025290
mov r12, qword [0x14017d238]
mov byte [r13 + 0x5ef8], 1
subss xmm6, dword [0x140054b0c]
movss xmm0, dword [r13 + 0x3d60]
subss xmm7, xmm0
movss dword [r13 + 0x5efc], xmm6
movss dword [r13 + 0x5f00], xmm7
movss dword [r13 + 0x5f04], xmm0
movzx ebx, byte [rbp + 0x160]
test bl, bl
je 0x14003befa
cmp word [r12 + 0x5e66], 0
jg 0x14003befa
mov eax, dword [r12 + 0x409c]
mov ecx, dword [rsp + 0x54]
cmp eax, ecx
je 0x14003beaf
test eax, eax
jne 0x14003beba
mov word [r12 + 0x40ac], 0x101
cmp byte [r12 + 0x4d20], 0
jne 0x14003bef1
cmp eax, ecx
je 0x14003bef1
test eax, eax
je 0x14003bef1
cmp dword [r12 + 0x40c8], ecx
je 0x14003bef1
mov r8d, 0xf8c
lea rdx, str.C:UsersGregDownloadsloader_MONARCloader_MONARCHimgui.cpp
lea rcx, str.g.DragDropActive__g.ActiveId__id__g.ActiveId__0__g.ActiveIdPreviousFrame__id
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
or dword [r12 + 0x49b0], 4
movzx eax, bl
jmp 0x14003bf01
xor al, al
lea r11, [rsp + 0x1e8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000bb30
int3