Function at 0x140038820
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 [0x140114748]
mov rax, qword [r13 + 0x4038]
mov byte [rax + 0xc0], 1
mov r14, qword [r13 + 0x4038]
mov qword [rbp - 0x50], r14
cmp byte [r14 + 0xc3], 0
jne 0x14003b737
test r8, r8
jne 0x1400388ec
mov r8d, 0x10e7
lea rdx, str.C:UsersDomDesktoploader_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 [0x140114748]
mov rdx, rdi
mov rcx, r14
call fcn.140007500
mov ebx, eax
mov dword [rsp + 0x54], eax
mov r9, qword [0x140114748]
mov rdx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x140038931
nop dword [rax]
movzx r8d, byte [rdx]
test r8b, r8b
je 0x140038931
lea rcx, [rdx + 1]
cmp r8b, 0x23
jne 0x140038928
cmp byte [rcx], r8b
je 0x140038931
mov rdx, rcx
cmp rcx, 0xffffffffffffffff
jb 0x140038910
mov rcx, qword [r9 + 0x3d58]
movss xmm4, dword [r9 + 0x3d60]
movss xmm0, dword [0x140053a08]
movss xmm14, dword [0x1400539fc]
movss xmm10, dword [0x14005390c]
xorps xmm11, xmm11
cmp rdi, rdx
jne 0x140038969
xorps xmm6, xmm6
jmp 0x1400389b3
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm14
movaps xmm2, xmm4
lea rdx, [rbp + 0x160]
call fcn.14002be30
movss xmm0, dword [rbp + 0x160]
addss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm4, dword [rbp + 0x164]
mov r9, qword [0x140114748]
mov rax, qword [r9 + 0x4038]
test byte [r9 + 0x4988], 1
je 0x1400389cf
movss xmm1, dword [r9 + 0x4990]
jmp 0x1400389d7
movss xmm1, dword [rax + 0x1cc]
movss xmm8, dword [0x140053914]
comiss xmm11, xmm1
jbe 0x140038a20
cmp qword [rax + 0x1b8], 0
jne 0x140038a01
cmp qword [r9 + 0x4dd8], 0
lea rcx, [rax + 0x260]
je 0x140038a08
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 rcx, qword [rbp + 0x150]
mov rdx, qword [rcx]
lea rcx, [rbp + 0x160]
call fcn.140016d80
comiss xmm6, xmm11
jbe 0x140038a55
addss xmm6, dword [r13 + 0x3944]
jmp 0x140038a58
xorps xmm6, xmm6
movss xmm4, dword [r14 + 0x114]
movaps xmm1, xmm4
movss xmm13, dword [rbp + 0x164]
addss xmm1, xmm13
movss xmm3, dword [r14 + 0x110]
movaps xmm0, xmm3
movss xmm5, dword [rbp + 0x160]
movss dword [rbp - 0x74], xmm5
addss xmm0, xmm5
movss dword [rsp + 0x68], xmm3
movss dword [rsp + 0x6c], xmm4
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x74], xmm1
movaps xmm2, xmm4
addss xmm2, xmm13
addss xmm6, xmm5
addss xmm6, xmm3
movss dword [rbp - 8], xmm3
movss dword [rbp - 4], xmm4
movss dword [rbp], xmm6
movss dword [rbp + 4], 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.1400168f0
mov r9d, 0x400
lea r8, [rsp + 0x68]
mov edx, ebx
lea rcx, [rbp - 8]
call fcn.140016a60
test al, al
je 0x14003b737
mov r12d, dword [r13 + 0x49b0]
mov r8d, dword [r13 + 0x49ac]
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140007f10
movzx ecx, al
mov byte [rsp + 0x5f], al
test al, al
je 0x140038b46
mov dword [r13 + 0x4ea8], 1
mov rdi, qword [0x140114748]
xor edx, edx
test ebx, ebx
je 0x140038b64
cmp dword [rdi + 0x4ec0], ebx
jne 0x140038b64
add rdi, 0x4eb8
jmp 0x140038b67
mov rdi, rdx
mov qword [rbp - 0x10], rdi
shr r12d, 8
and r12b, 1
cmp dword [r13 + 0x409c], ebx
je 0x140038b9d
cmp dword [r13 + 0x4b18], ebx
jne 0x140038b9d
test byte [r13 + 0x4b24], 1
jne 0x140038b99
cmp dword [r13 + 0x4b3c], 2
jne 0x140038b9d
mov al, 1
jmp 0x140038b9f
xor al, al
mov byte [rbp + 0x160], al
test cl, cl
je 0x140038bb6
cmp byte [r13 + 0x3868], dl
je 0x140038bb6
mov bl, 1
jmp 0x140038bb8
xor bl, bl
mov byte [rbp + 0x158], bl
mov byte [rsp + 0x64], dl
xor r14b, r14b
test rdi, rdi
je 0x140038bd5
cmp byte [rdi + 0x6b], 1
je 0x140038bd5
mov r15b, 1
jmp 0x140038bd8
xor r15b, r15b
test bl, bl
jne 0x140038bed
test al, al
jne 0x140038bed
test r12b, r12b
jne 0x140038bed
mov byte [rbp + 0x168], dl
jmp 0x140038c01
mov byte [rbp + 0x168], 1
mov eax, dword [rsp + 0x54]
cmp dword [r13 + 0x409c], eax
jne 0x140038c0a
test r15b, r15b
je 0x140038e26
lea rdi, [r13 + 0x4eb8]
mov qword [rbp - 0x10], rdi
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, dword [rdi + 8]
call fcn.140038710
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rsi + rbx], r14b
jne 0x140038c30
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x140038c67
test ecx, ecx
je 0x140038c52
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140038c57
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.140020460
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 0x140038cb4
test r15b, r15b
jne 0x140038cb4
mov byte [rbp + 0x148], 1
cmp dword [rdi + 0x10], ebx
jne 0x140038cb4
cmp byte [rdi + 0x48], r15b
je 0x140038cbb
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 0x140038cbb
mov byte [rbp + 0x148], 0
mov dword [rdi + 8], esi
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x1a
jge 0x140038ced
test ecx, ecx
je 0x140038cd5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140038cda
mov eax, 8
mov edx, 0x1a
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.140020540
mov dword [rdi + 0x18], 0x1a
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x140038d18
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.140020460
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 0x140038d5f
cmp byte [rsi], 0
je 0x140038d5d
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140003ac0
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x78]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x140038d33
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 0x140038da3
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 0x140038de5
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 0x140038e05
test al, al
je 0x140038e00
test byte [r13 + 0x4b24], 4
jne 0x140038e05
mov r14b, 1
jmp 0x140038e08
xor r14b, r14b
movzx ebx, byte [rbp + 0x158]
test r12b, r12b
jne 0x140038e21
test bl, bl
je 0x140038e2e
cmp byte [r13 + 0xe64], r12b
je 0x140038e2e
mov r14b, 1
jmp 0x140038e2e
movzx r15d, byte [rbp + 0x160]
movzx r12d, byte [r13 + 0x59]
mov byte [rsp + 0x78], r12b
mov eax, dword [rsp + 0x54]
movzx esi, byte [rbp + 0x168]
cmp dword [r13 + 0x409c], eax
je 0x140038ead
test sil, sil
je 0x140038ea0
test rdi, rdi
je 0x140038e5b
cmp dword [rdi + 8], eax
je 0x140038e79
mov r8d, 0x1185
lea rdx, str.C:UsersDomDesktoploader_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 - 0x50]
mov ecx, eax
call fcn.140007aa0
mov rdx, qword [rbp - 0x50]
mov ecx, dword [rsp + 0x54]
call fcn.140018d70
xor edx, edx
mov rcx, qword [rbp - 0x50]
call fcn.1400128e0
mov eax, dword [rsp + 0x54]
cmp dword [r13 + 0x409c], eax
jne 0x140038fac
test bl, bl
mov ebx, dword [rsp + 0x54]
je 0x140038eef
test ebx, ebx
jne 0x140038ed3
mov r8d, 0x2473
lea rdx, str.C:UsersDomDesktoploader_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 [0x140114748]
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 0x140038f15
mov r8d, 0x2473
lea rdx, str.C:UsersDomDesktoploader_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 [0x140114748]
call fcn.140002770
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
test ebx, ebx
jne 0x140038f4f
mov r8d, 0x2473
lea rdx, str.C:UsersDomDesktoploader_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 [0x140114748]
call fcn.140002770
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
test r12b, r12b
je 0x140038fb0
test ebx, ebx
jne 0x140038f8e
mov r8d, 0x2473
lea rdx, str.C:UsersDomDesktoploader_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 [0x140114748]
call fcn.140002770
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], 0
jmp 0x140038fb0
mov ebx, dword [rsp + 0x54]
cmp dword [r13 + 0x409c], ebx
jne 0x140038ff6
test rdi, rdi
jne 0x140038fc7
xor edx, edx
xor ecx, ecx
call fcn.140007aa0
cmp dword [r13 + 0x409c], ebx
jne 0x140038ff6
cmp byte [r13 + 0x3868], 0
je 0x140038ff2
mov eax, dword [rsp + 0x64]
movzx eax, al
test sil, sil
mov r8d, 1
cmove eax, r8d
mov dword [rsp + 0x64], eax
mov cl, 1
jmp 0x140038ff8
xor cl, cl
mov byte [rbp + 0x158], cl
test rdi, rdi
je 0x140039024
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140039010
test r14b, r14b
je 0x140039024
test cl, cl
je 0x140039024
mov byte [rbp + 0x148], 1
mov byte [rbp + 0x160], 0
jmp 0x14003904a
mov byte [rbp + 0x160], 0
mov byte [rbp + 0x148], 0
test cl, cl
jne 0x140039045
mov byte [rbp + 0x148], cl
cmp dword [r13 + 0x409c], ebx
jne 0x140039054
test rdi, rdi
je 0x140039054
cmp byte [rdi + 0x48], 0
je 0x140039054
mov al, 1
jmp 0x140039056
xor al, al
mov byte [rsp + 0x60], al
cmp qword [rbp + 0x138], 0
je 0x140039081
test al, al
je 0x14003906e
mov rax, qword [rdi + 0x30]
jmp 0x140039075
mov rax, qword [rbp + 0x140]
cmp byte [rax], 0
jne 0x140039081
mov byte [rsp + 0x59], 1
jmp 0x140039087
xor dl, dl
mov byte [rsp + 0x59], dl
movss xmm12, dword [rsp + 0x68]
movss dword [rbp - 0x78], xmm12
movss xmm7, dword [0x1400538e0]
cmp dword [r13 + 0x409c], ebx
jne 0x1400395a5
test rdi, rdi
jne 0x1400390c8
mov r8d, 0x11d1
lea rdx, str.C:UsersDomDesktoploader_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, xmm12
subss xmm6, dword [r13 + 0x392c]
addss xmm6, dword [rdi + 0x50]
movss xmm2, dword [r13 + 0x3d60]
mulss xmm2, xmm7
test r14b, r14b
je 0x14003913f
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 0x140039490
movzx eax, byte [rsp + 0x5f]
test al, al
je 0x14003935d
cmp word [r13 + 0x3872], 2
jb 0x14003935d
cmp byte [r13 + 0xe65], r9b
jne 0x14003935d
cmp byte [rdi + 0x6b], r9b
je 0x140039182
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140036010
movss xmm2, dword [rbp - 0x34]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140036780
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 0x1400392b7
test eax, eax
je 0x14003920a
lea esi, [rbx - 1]
cmp esi, dword [rdi + 0xc]
jle 0x1400391d7
mov r8d, 0xf67
lea rdx, str.C:UsersDomDesktoploader_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 0x1400391e0
cmp esi, dword [rdi + 0x18]
jl 0x1400391fa
mov r8d, 0x76c
lea rdx, str.C:UsersDomDesktoploader_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 0x14003920a
xor cl, cl
jmp 0x14003920c
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140039218
test cl, cl
jne 0x14003923b
lea rdx, [rdi + 0x54]
mov r8d, 0x20000c
mov rcx, rdi
call fcn.140036d80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140039256
cmp dword [rdi + 0x58], eax
jne 0x140039253
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x140039256
mov dword [rdi + 0x54], eax
mov ebx, dword [rdi + 0x54]
inc ebx
mov esi, dword [rdi + 0xc]
cmp ebx, esi
jge 0x140039278
mov edx, ebx
mov rcx, rdi
call fcn.1400362e0
test eax, eax
jne 0x140039276
inc ebx
cmp ebx, esi
jl 0x140039262
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 0x1400392a6
cmp ecx, eax
jle 0x140039296
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp ebx, eax
jle 0x14003929f
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x1400392a6
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x140039483
mov dword [rdi + 0x54], eax
jmp 0x140039483
cmp ebx, dword [rdi + 0xc]
jle 0x1400392d6
mov r8d, 0xf67
lea rdx, str.C:UsersDomDesktoploader_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 0x1400392df
cmp ebx, dword [rdi + 0x18]
jl 0x1400392f9
mov r8d, 0x76c
lea rdx, str.C:UsersDomDesktoploader_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.140036d80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
lea rdx, [rdi + 0x54]
mov r8d, 0x600005
mov rcx, rdi
call fcn.140036d80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
lea rdx, [rdi + 0x54]
mov r8d, 0x600001
mov rcx, rdi
call fcn.140036d80
mov byte [rdi + 0xe84], 0
jmp 0x140039483
cmp byte [r13 + 0x3868], r9b
je 0x14003940f
cmp byte [rdi + 0xe85], r9b
jne 0x14003940f
test al, al
je 0x14003948d
cmp byte [r13 + 0xe65], r9b
je 0x1400393d0
cmp byte [rdi + 0x6b], r9b
je 0x1400393a2
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140036010
movss xmm2, dword [rbp - 0x34]
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x1400393b3
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140036780
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rcx + rdx], eax
jmp 0x140039483
cmp byte [rdi + 0x6b], r9b
je 0x1400393ea
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140036010
movss xmm2, dword [rbp - 0x34]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140036780
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 0x140039483
cmp byte [r13 + 0xe50], r9b
je 0x14003948d
cmp byte [rdi + 0xe85], r9b
jne 0x14003948d
movss xmm0, dword [r13 + 0xe8]
ucomiss xmm0, xmm11
jp 0x140039443
jne 0x140039443
movss xmm0, dword [r13 + 0xec]
ucomiss xmm0, xmm11
jp 0x140039443
je 0x14003948d
cmp byte [rdi + 0x6b], r9b
je 0x14003945d
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140036010
movss xmm2, dword [rbp - 0x34]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003946b
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140036780
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 0x1400394aa
cmp byte [r13 + 0xe50], 0
jne 0x1400394aa
mov byte [rdi + 0xe85], 0
cmp byte [r13 + 0xe64], 0
je 0x1400394be
cmp byte [r13 + 0xe66], 0
je 0x1400394cd
test r12b, r12b
je 0x1400394d1
cmp byte [r13 + 0xe67], 0
je 0x1400394d1
mov cl, 1
jmp 0x1400394d3
xor cl, cl
mov eax, dword [r13 + 0x38e0]
test eax, eax
jle 0x1400395a5
test cl, cl
jne 0x140039576
test r15b, r15b
jne 0x140039576
mov esi, r14d
mov rbx, r14
nop dword [rax]
test rbx, rbx
js 0x140039509
cmp esi, eax
jl 0x140039523
mov r8d, 0x76b
lea rdx, str.C:UsersDomDesktoploader_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 0x140039566
cmp r8d, 0x7f
je 0x140039566
lea eax, [r8 - 0xe000]
cmp eax, 0x18ff
jbe 0x140039566
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.140036d80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
inc rbx
mov eax, dword [r13 + 0x38e0]
cmp esi, eax
jl 0x140039500
mov ecx, dword [r13 + 0x38e4]
test ecx, ecx
jns 0x14003959e
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.140020540
mov dword [r13 + 0x38e0], r14d
xor bl, bl
mov byte [rsp + 0x5e], bl
mov r15d, dword [rsp + 0x54]
cmp dword [r13 + 0x409c], r15d
jne 0x14003a08e
cmp byte [r13 + 0x40a8], bl
jne 0x14003a08e
cmp byte [rsp + 0x64], bl
jne 0x14003a08e
test rdi, rdi
jne 0x1400395f3
mov r8d, 0x123d
lea rdx, str.C:UsersDomDesktoploader_MONARCHimgui_widgets.cpp
lea rcx, str.state___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movaps xmm0, xmm13
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 0x140039663
movzx eax, byte [r13 + 0xe66]
mov byte [rbp + 0x168], al
cmp byte [r13 + 0xe67], 0
je 0x140039671
cmp byte [r13 + 0xe64], 0
jne 0x140039671
test al, al
jne 0x140039671
mov byte [rsp + 0x58], r14b
jmp 0x140039676
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.1400139e0
test al, al
je 0x1400396a4
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa39
call fcn.140016510
test al, al
jne 0x1400396d2
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x220a
call fcn.1400139e0
test al, al
je 0x1400396d9
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x220a
call fcn.140016510
test al, al
je 0x1400396d9
mov byte [rsp + 0x50], r14b
jmp 0x1400396de
mov byte [rsp + 0x50], 0
mov r8d, 0x100
mov edx, r15d
mov ecx, 0xa24
call fcn.1400139e0
test al, al
je 0x14003970c
mov r8d, 0x100
mov edx, r15d
mov ecx, 0xa24
call fcn.140016510
test al, al
jne 0x14003973a
mov r8d, 0x100
mov edx, r15d
mov ecx, 0x1209
call fcn.1400139e0
test al, al
je 0x140039741
mov r8d, 0x100
mov edx, r15d
mov ecx, 0x1209
call fcn.140016510
test al, al
je 0x140039741
mov byte [rsp + 0x5c], r14b
jmp 0x140039746
mov byte [rsp + 0x5c], 0
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa37
call fcn.1400139e0
test al, al
je 0x140039774
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa37
call fcn.140016510
test al, al
jne 0x1400397a2
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x2209
call fcn.1400139e0
test al, al
je 0x1400397a9
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x2209
call fcn.140016510
test al, al
je 0x1400397a9
mov byte [rsp + 0x5d], r14b
jmp 0x1400397ae
mov byte [rsp + 0x5d], 0
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa3b
call fcn.1400139e0
test al, al
je 0x1400397e1
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa3b
call fcn.140016510
test al, al
mov byte [rsp + 0x5a], r14b
jne 0x1400397e6
mov byte [rsp + 0x5a], 0
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa3a
call fcn.1400139e0
test al, al
je 0x140039814
mov r8d, 0x101
mov edx, r15d
mov ecx, 0xa3a
call fcn.140016510
test al, al
jne 0x140039847
test r12b, r12b
je 0x14003984e
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x2a3b
call fcn.1400139e0
test al, al
je 0x14003984e
mov r8d, 0x101
mov edx, r15d
mov ecx, 0x2a3b
call fcn.140016510
test al, al
je 0x14003984e
mov byte [rsp + 0x5b], r14b
jmp 0x140039853
mov byte [rsp + 0x5b], 0
mov r8d, 0x100
mov edx, r15d
mov ecx, 0xa22
call fcn.1400139e0
test al, al
jne 0x14003986f
xor r12b, r12b
jmp 0x140039888
mov r8d, 0x100
mov edx, r15d
mov ecx, 0xa22
call fcn.140016510
test al, al
setne r12b
test byte [r13 + 8], 2
je 0x14003989b
test byte [r13 + 0xc], r14b
je 0x14003989b
movzx esi, r14b
jmp 0x14003989e
xor sil, sil
mov r8d, r14d
xor edx, edx
mov ecx, 0x20d
call fcn.140013b60
test al, al
jne 0x1400398c9
mov r8d, r14d
xor edx, edx
mov ecx, 0x273
call fcn.140013b60
test al, al
jne 0x1400398c9
xor r15b, r15b
jmp 0x1400398cd
movzx r15d, r14b
test sil, sil
je 0x1400398f8
xor r8d, r8d
xor edx, edx
mov ecx, 0x27c
call fcn.140013b60
test al, al
jne 0x1400398fb
xor r8d, r8d
xor edx, edx
mov ecx, 0x27b
call fcn.140013b60
test al, al
jne 0x1400398fb
xor r14b, r14b
mov r8d, 0x101
mov edx, dword [rsp + 0x54]
mov ecx, 0x20e
call fcn.1400139e0
test al, al
je 0x14003992b
mov r8d, 0x101
mov edx, dword [rsp + 0x54]
mov ecx, 0x20e
call fcn.140016510
test al, al
jne 0x140039960
test sil, sil
je 0x140039965
mov r8d, 0x101
mov esi, dword [rsp + 0x54]
mov edx, esi
mov ecx, 0x27a
call fcn.1400139e0
test al, al
je 0x140039965
mov r8d, 0x101
mov edx, esi
mov ecx, 0x27a
call fcn.140016510
test al, al
je 0x140039965
mov sil, 1
jmp 0x140039968
xor sil, sil
xor edx, edx
mov ecx, 0x201
mov r8d, 1
call fcn.140013b60
test al, al
je 0x1400399ed
cmp byte [rsp + 0x58], 0
je 0x14003998c
mov eax, 0x200004
jmp 0x1400399a0
mov eax, 0x200000
cmp byte [rbp + 0x168], 0
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.140036d80
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 0x14003a07f
test dl, dl
je 0x14003a07f
mov al, 1
jmp 0x14003a081
xor edx, edx
mov ecx, 0x202
mov r8d, 1
call fcn.140013b60
test al, al
je 0x140039a2e
cmp byte [rsp + 0x58], 0
je 0x140039a13
mov ecx, 0x200005
or ebx, ecx
jmp 0x1400399a2
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rbp + 0x168], 0
cmovne ecx, eax
or ebx, ecx
jmp 0x1400399a2
xor edx, edx
mov ecx, 0x203
mov r8d, 1
call fcn.140013b60
xor edx, edx
mov ecx, 0x204
mov r8d, 1
call fcn.140013b60
xor edx, edx
mov ecx, 0x205
mov r8d, 1
call fcn.140013b60
xor edx, edx
mov ecx, 0x206
mov r8d, 1
call fcn.140013b60
xor edx, edx
mov ecx, 0x207
mov r8d, 1
call fcn.140013b60
test al, al
je 0x140039aa9
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
cmp byte [r13 + 0xe64], 0
cmovne ebx, eax
jmp 0x1400399a2
xor edx, edx
mov ecx, 0x208
mov r8d, 1
call fcn.140013b60
test al, al
je 0x140039adc
mov eax, ebx
or eax, 0x200007
or ebx, 0x200005
cmp byte [r13 + 0xe64], 0
cmovne ebx, eax
jmp 0x1400399a2
xor edx, edx
mov ecx, 0x20a
mov r8d, 1
call fcn.140013b60
test al, al
je 0x140039b38
cmp byte [rsp + 0x50], 0
jne 0x140039b38
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140039b2d
cmp byte [rbp + 0x168], 0
je 0x140039b2d
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.140036d80
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200008
jmp 0x1400399a2
xor edx, edx
mov ecx, 0x20b
mov r8d, 1
call fcn.140013b60
test al, al
je 0x140039bba
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140039baf
cmp byte [rbp + 0x168], 0
je 0x140039b67
mov r8d, 0x60000c
jmp 0x140039b92
cmp byte [rsp + 0x78], 0
je 0x140039baf
cmp byte [r13 + 0xe67], 0
je 0x140039baf
cmp byte [r13 + 0xe66], 0
jne 0x140039baf
cmp byte [r13 + 0xe64], 0
jne 0x140039baf
mov r8d, 0x600004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.140036d80
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe84], 1
or ebx, 0x200009
jmp 0x1400399a2
test r15b, r15b
jne 0x14003a049
test r14b, r14b
jne 0x14003a049
test sil, sil
je 0x140039bea
mov bl, 1
mov byte [rsp + 0x5e], bl
mov byte [rsp + 0x64], bl
xor cl, cl
xor dl, dl
mov byte [rbp + 0x158], dl
jmp 0x1400399d2
movzx eax, byte [rsp + 0x5a]
test al, al
jne 0x14003a010
cmp byte [rsp + 0x5b], al
jne 0x14003a010
test r12b, r12b
je 0x140039c26
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 0x1400399c2
movzx r12d, byte [rsp + 0x50]
test r12b, r12b
jne 0x140039df9
cmp byte [rsp + 0x5c], r12b
jne 0x140039df9
cmp byte [rsp + 0x5d], r12b
je 0x1400399c2
mov rcx, qword [0x140114748]
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x140039c75
mov rcx, qword [rcx + 0xb8]
call rax
mov rbx, rax
test rax, rax
je 0x1400399c2
jmp 0x140039c7c
lea rbx, [0x140046d1a]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140039c83
movsxd rcx, eax
lea rcx, [rcx*2 + 2]
call fcn.140008120
mov r15, rax
xor r12d, r12d
mov r14d, r12d
cmp byte [rbx], r12b
je 0x140039ce7
mov rsi, rax
nop dword [rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x168]
call fcn.140003ac0
movsxd rcx, eax
add rbx, rcx
mov ecx, dword [rbp + 0x168]
lea eax, [rcx - 0x20]
cmp eax, 0xffdf
ja 0x140039ce2
mov word [rsi], cx
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x140039cb0
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x140039d7a
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x140039d1e
cmp ecx, eax
jle 0x140039d0e
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x140039d17
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x140039d1e
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x140039d26
mov dword [rdi + 0x54], eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.140036ce0
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.140036590
test al, al
je 0x140039d73
mov esi, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.140038060
test rax, rax
je 0x140039d6b
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 0x140039deb
mov r8, qword [0x140114748]
test r8, r8
je 0x140039deb
mov r9d, dword [r8 + 0x3f90]
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140039de0
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 0x1400399c2
cmp qword [r13 + 0xb0], 0
je 0x140039fc5
mov esi, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, esi
je 0x140039e37
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 0x140039e55
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 0x140039e80
cmp rdx, r8
jae 0x140039ea3
movzx eax, word [rdx]
test ax, ax
je 0x140039ea3
add rdx, 2
cmp ax, r10w
jae 0x140039e96
inc ecx
jmp 0x140039e76
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x140039e76
lea eax, [rcx + 1]
movsxd rbx, eax
mov rcx, rbx
call fcn.140008120
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, [rbx + rax]
lea rbx, [rsi - 1]
cmp rax, rbx
jae 0x140039f27
mov r12d, 0x80
nop dword [rax]
test r11, r11
je 0x140039eea
cmp r10, r11
jae 0x140039f21
movzx eax, word [r10]
test ax, ax
je 0x140039f21
mov r8d, eax
add r10, 2
cmp eax, r12d
jae 0x140039f07
mov byte [r9], r8b
inc r9
jmp 0x140039f1c
mov edx, esi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.140003c70
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x140039ee0
movzx r12d, byte [rsp + 0x50]
mov byte [r9], 0
mov r8, qword [0x140114748]
mov rax, qword [r8 + 0xb0]
test rax, rax
je 0x140039f51
mov rdx, r15
mov rcx, qword [r8 + 0xb8]
call rax
mov r8, qword [0x140114748]
test r15, r15
je 0x140039fbc
test r8, r8
je 0x140039fbc
mov r9d, dword [r8 + 0x3f90]
movsx rdx, word [r8 + 0x6078]
lea rcx, [rdx*8 + 0x607c]
add rcx, r8
cmp dword [rcx], r9d
je 0x140039fb1
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 0x1400399c2
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140039fe8
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 0x1400399c2
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.140036ce0
mov byte [rdi + 0x6a], 0
jmp 0x1400399c2
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.140036d80
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 0x1400399c2
movzx ecx, byte [rbp + 0x148]
movzx edx, byte [rbp + 0x158]
cmp byte [r13 + 0x5c], 0
je 0x14003a075
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 0x1400399d0
mov byte [rsp + 0x64], 1
jmp 0x1400399d0
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 - 0x80], r12
mov r14d, r12d
cmp dword [r13 + 0x409c], r15d
jne 0x14003a391
test rdi, rdi
jne 0x14003a0c7
mov r8d, 0x12dd
lea rdx, str.C:UsersDomDesktoploader_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 0x14003a2aa
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp + 0x140]
mov r8, r9
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003a0f3
inc rax
test ecx, ecx
jne 0x14003a0e0
test edx, edx
je 0x14003a2aa
mov rax, r9
mov qword [rbp - 0x80], rax
mov r14d, dword [rdi + 0x38]
dec r14d
mov dword [rbp + 0x168], r14d
mov byte [rbp + 0x160], 1
mov qword [rbp - 0x68], r12
mov r15d, r12d
mov qword [rbp - 0x60], r12
test r14d, r14d
jle 0x14003a206
movsxd rsi, r14d
add rsi, rax
mov rbx, rax
xor eax, eax
mov r14d, eax
nop dword [rax]
test rsi, rsi
je 0x14003a14a
cmp rbx, rsi
jae 0x14003a169
cmp byte [rbx], 0
je 0x14003a169
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140003ac0
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x14003a140
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x14003a19a
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x14003a19a
movsxd rcx, ebx
add rcx, rcx
call fcn.140008120
mov r12, rax
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x64], ebx
mov dword [rbp - 0x68], r15d
movsxd r14, dword [rbp + 0x168]
mov rbx, qword [rbp - 0x80]
add r14, rbx
mov rsi, r12
movsxd r12, r15d
dec r12
lea r12, [rsi + r12*2]
cmp rsi, r12
jae 0x14003a1f4
nop
test r14, r14
je 0x14003a1ca
cmp rbx, r14
jae 0x14003a1f4
cmp byte [rbx], 0
je 0x14003a1f4
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140003ac0
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x70]
mov word [rsi], ax
add rsi, 2
cmp rsi, r12
jb 0x14003a1c0
xor ebx, ebx
mov word [rsi], bx
mov r12, qword [rbp - 0x60]
mov r14d, dword [rbp + 0x168]
jmp 0x14003a208
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.140038670
nop
test r12, r12
je 0x14003a2a2
mov r8, qword [0x140114748]
test r8, r8
je 0x14003a298
mov r9d, dword [r8 + 0x3f90]
movsx r10, word [r8 + 0x6078]
lea rdx, [r8 + 0x607c]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14003a28d
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 0x14003a2e3
test ecx, ecx
je 0x14003a2ce
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003a2d3
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.140020460
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 0x14003a340
mov r15d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x14003a33b
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x14003a320
mov byte [r9], r8b
inc r9
jmp 0x14003a336
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.140003c70
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x14003a303
mov r15d, dword [rsp + 0x54]
mov byte [r9], 0
mov rsi, qword [rbp + 0x140]
cmp byte [rsp + 0x5e], 0
jne 0x14003a38b
mov r9, qword [rdi + 0x30]
mov rax, r9
mov r8, rsi
sub r8, r9
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003a373
inc rax
test ecx, ecx
jne 0x14003a360
test edx, edx
je 0x14003a38b
mov r10, r9
mov qword [rbp - 0x80], r9
mov r14d, dword [rdi + 0x10]
mov byte [rbp + 0x160], 1
jmp 0x14003a398
mov r10, qword [rbp - 0x80]
jmp 0x14003a398
mov rsi, qword [rbp + 0x140]
cmp dword [r13 + 0x5d48], r15d
jne 0x14003a449
cmp dword [r13 + 0x409c], r15d
je 0x14003a442
mov rax, qword [0x140114748]
mov ecx, dword [rax + 0x49b0]
test cl, 0x20
je 0x14003a3cc
shr ecx, 6
test cl, 1
jmp 0x14003a3e6
mov edx, dword [rax + 0x49a8]
mov ecx, dword [rax + 0x40c8]
cmp ecx, edx
jne 0x14003a442
test ecx, ecx
je 0x14003a442
cmp dword [rax + 0x409c], edx
je 0x14003a442
cmp byte [rax + 0x40cd], 0
jne 0x14003a403
cmp dword [rax + 0x409c], 0
jne 0x14003a442
cmp byte [rax + 0x40ac], 0
je 0x14003a442
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 0x14003a426
inc rax
test ecx, ecx
jne 0x14003a413
test edx, edx
je 0x14003a442
mov r10, r9
mov qword [rbp - 0x80], r9
mov r14d, dword [r13 + 0x5d50]
dec r14d
mov byte [rbp + 0x160], 1
mov dword [r13 + 0x5d48], r12d
test r10, r10
je 0x14003a4a0
test r14d, r14d
jns 0x14003a471
mov r8d, 0x137d
lea rdx, str.C:UsersDomDesktoploader_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 - 0x80]
lea eax, [r14 + 1]
cmp eax, 0x19
mov ecx, 0x19
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x14003a4a0
jbe 0x14003a49b
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 0x14003a4bd
cmp byte [rsp + 0x64], 0
je 0x14003a561
xor edx, edx
xor ecx, ecx
call fcn.140007aa0
mov r14d, 1
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14011498c], eax
jle 0x14003a53d
lea rcx, [0x14011498c]
call fcn.1400441f4
cmp dword [0x14011498c], 0xffffffff
jne 0x14003a53d
mov qword [0x1401149a8], r12
mov qword [0x1401149b0], r12
mov ecx, 0x48
call fcn.14004426c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1401149a8], rax
lea rcx, [0x140045890]
call fcn.1400444d0
nop
lea rcx, [0x14011498c]
call fcn.140044188
mov rsi, qword [0x1401149a8]
mov rax, qword [rsi + 8]
mov rbx, rsi
mov qword [rbp - 0x80], rbx
cmp byte [rax + 0x19], 0
jne 0x14003a583
cmp dword [rax + 0x1c], r15d
jae 0x14003a573
mov rax, qword [rax + 0x10]
jmp 0x14003a579
mov r14d, 1
mov dword [r13 + 0x61b0], r14d
jmp 0x14003a4c3
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003a555
mov qword [rbp - 0x80], rbx
cmp byte [rbx + 0x19], 0
jne 0x14003a58f
cmp r15d, dword [rbx + 0x1c]
jae 0x14003a596
mov rbx, rsi
mov qword [rbp - 0x80], rbx
cmp rbx, rsi
jne 0x14003a6cf
mov qword [rbp - 0x20], 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 - 0x20]
movsd qword [rbp + 0x2c], xmm0
mov rax, qword [rsi + 8]
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x60], r12d
mov rcx, rsi
cmp byte [rax + 0x19], 0
jne 0x14003a5f8
mov qword [rbp - 0x68], rax
cmp dword [rax + 0x1c], r15d
jae 0x14003a5e8
mov dword [rbp - 0x60], r12d
mov rax, qword [rax + 0x10]
jmp 0x14003a5f2
mov dword [rbp - 0x60], r14d
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003a5d4
cmp byte [rcx + 0x19], 0
jne 0x14003a608
cmp r15d, dword [rcx + 0x1c]
jae 0x14003a689
movabs rax, 0x38e38e38e38e38e
cmp qword [0x1401149b0], rax
je 0x14003b78c
lea rbx, [0x1401149a8]
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], r12
mov ecx, 0x48
call fcn.14004426c
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 - 0x68]
movaps xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.140021490
mov rsi, qword [0x1401149a8]
mov rax, qword [rsi + 8]
mov rbx, rsi
mov qword [rbp - 0x80], rbx
cmp byte [rax + 0x19], 0
jne 0x14003a6bc
nop word [rax + rax]
cmp dword [rax + 0x1c], r15d
jae 0x14003a6ac
mov rax, qword [rax + 0x10]
jmp 0x14003a6b2
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003a6a0
mov qword [rbp - 0x80], rbx
cmp byte [rbx + 0x19], 0
jne 0x14003a6c8
cmp r15d, dword [rbx + 0x1c]
jae 0x14003a6cf
mov rbx, rsi
mov qword [rbp - 0x80], rbx
movss xmm1, dword [r13 + 0x18]
movss xmm6, dword [0x14005394c]
mulss xmm1, xmm6
mov r8, qword [0x140114748]
mov eax, dword [r8 + 0x409c]
test eax, eax
je 0x14003a6fc
cmp eax, dword [r8 + 0x49a8]
je 0x14003a709
cmp byte [rsp + 0x5f], 0
jne 0x14003a709
movaps xmm2, xmm11
jmp 0x14003a70d
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 [0x140114948]
movss dword [rbp - 0x68], xmm0
movss xmm1, dword [0x14011494c]
movss dword [rbp - 0x64], xmm1
movss xmm0, dword [0x140114950]
movss dword [rbp - 0x60], xmm0
movss xmm1, dword [0x140114954]
mulss xmm1, dword [r8 + 0x38f0]
movss dword [rbp - 0x5c], xmm1
lea rcx, [rbp - 0x68]
call fcn.140003d30
mov r9d, eax
mov rcx, qword [r8 + 0x4038]
mov dword [rsp + 0x28], r12d
movss dword [rsp + 0x20], xmm6
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x68]
mov rcx, qword [rcx + 0x2a8]
call fcn.140025040
mov r8, qword [0x140114748]
mov rax, qword [r8 + 0x4038]
mov byte [rax + 0xc0], 1
movss xmm0, dword [0x140114918]
movss dword [rbp - 0x40], xmm0
movss xmm1, dword [0x14011491c]
movss dword [rbp - 0x3c], xmm1
movss xmm0, dword [0x140114920]
movss dword [rbp - 0x38], xmm0
movss xmm1, dword [r8 + 0x38f0]
mulss xmm1, dword [rbx + 0x44]
mulss xmm1, dword [0x140114924]
movss dword [rbp - 0x34], xmm1
mov r12, qword [rbp + 0x150]
movss xmm2, dword [r12]
divss xmm2, dword [0x140053930]
movss xmm8, dword [rsp + 0x70]
movaps xmm0, xmm8
subss xmm0, xmm2
movss dword [rbp + 0x168], xmm0
movss xmm9, dword [rsp + 0x74]
movaps xmm1, xmm9
subss xmm1, xmm11
movss dword [rbp + 0x16c], xmm1
lea rsi, [r12 + 4]
addss xmm2, xmm12
movss dword [rbp - 0x68], xmm2
movss xmm0, dword [rsi]
subss xmm0, dword [0x140053934]
movss xmm15, dword [rsp + 0x6c]
addss xmm0, xmm15
movss dword [rbp - 0x64], xmm0
lea rcx, [rbp - 0x40]
call fcn.140003d30
mov r9d, eax
mov rcx, qword [r8 + 0x4038]
mov dword [rsp + 0x28], 0x30
movss xmm0, dword [0x14005394c]
movss dword [rsp + 0x20], xmm0
lea r8, [rbp + 0x168]
lea rdx, [rbp - 0x68]
mov rcx, qword [rcx + 0x2a8]
call fcn.140025040
mov rcx, qword [0x140114768]
mov qword [rbp + 0x168], rcx
mov r14, qword [0x140114748]
mov r15, rcx
test rcx, rcx
jne 0x14003a905
mov rcx, qword [r14 + 0x48]
test rcx, rcx
jne 0x14003a8fb
mov rsi, qword [r14 + 0x38]
cmp dword [rsi + 0x58], ecx
jg 0x14003a8ef
mov r8d, 0x76b
lea rdx, str.C:UsersDomDesktoploader_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 [rsi + 0x60]
mov rcx, qword [rax]
lea rsi, [r12 + 4]
mov qword [rbp + 0x168], rcx
mov r15, rcx
call fcn.140012c10
lea rcx, [r14 + 0x4a80]
lea rdx, [rbp + 0x168]
call fcn.140020080
mov rdx, qword [r15 + 0x40]
mov rcx, qword [r14 + 0x4038]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x2a8]
call fcn.1400228b0
mov r8, qword [0x140114748]
mov rax, qword [r8 + 0x4038]
mov byte [rax + 0xc0], 1
mov rax, qword [r8 + 0x4038]
mov r14, qword [rax + 0x2a8]
movss xmm0, dword [0x140114918]
movss dword [rbp - 0x40], xmm0
movss xmm1, dword [0x14011491c]
movss dword [rbp - 0x3c], xmm1
movss xmm0, dword [0x140114920]
movss dword [rbp - 0x38], xmm0
movss xmm1, dword [0x140114924]
mulss xmm1, dword [r8 + 0x38f0]
movss dword [rbp - 0x34], xmm1
lea rcx, [rbp - 0x40]
call fcn.140003d30
mov r15d, eax
mov r12, qword [rbp + 0x130]
test r12, r12
jne 0x14003a9c1
movaps xmm0, xmm11
movaps xmm7, xmm11
addss xmm7, dword [rsi]
jmp 0x14003aa73
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
movss xmm0, dword [0x140053a08]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm14
movss xmm2, dword [r8 + 0x3d60]
lea rdx, [rbp + 0x168]
mov rcx, qword [r8 + 0x3d58]
call fcn.14002be30
movss xmm0, dword [rbp + 0x168]
addss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm6, dword [rsi]
mov rcx, qword [0x140114748]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
movss xmm0, dword [0x140053a08]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm14
movss xmm2, dword [rcx + 0x3d60]
lea rdx, [rbp + 0x168]
mov rcx, qword [rcx + 0x3d58]
call fcn.14002be30
movss xmm0, dword [rbp + 0x168]
addss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm7, xmm6
movss xmm6, dword [0x1400538e0]
mulss xmm7, xmm6
addss xmm0, dword [rsi]
mulss xmm0, xmm6
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.140025a20
call fcn.140012d40
movss xmm9, dword [rbp - 0x74]
movaps xmm10, xmm9
addss xmm10, xmm12
subss xmm10, dword [rsi]
movss dword [rsp + 0x64], xmm10
movaps xmm12, xmm15
addss xmm12, xmm13
mov r12, qword [0x140114748]
movss xmm2, dword [r12 + 0x3d60]
mov rax, qword [rbp + 0x138]
test rax, rax
jne 0x14003ab10
movaps xmm0, xmm2
movss xmm13, dword [rsi]
subss xmm13, xmm2
jmp 0x14003ab9e
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
movss xmm7, dword [0x140053a08]
movss dword [rsp + 0x20], xmm7
movaps xmm3, xmm14
lea rdx, [rbp - 0x68]
mov rcx, qword [r12 + 0x3d58]
call fcn.14002be30
movss xmm13, dword [rsi]
mov rcx, qword [0x140114748]
mov qword [rsp + 0x30], r14
mov rdx, qword [rbp + 0x138]
mov qword [rsp + 0x28], rdx
movss dword [rsp + 0x20], xmm7
movaps xmm3, xmm14
movss xmm2, dword [rcx + 0x3d60]
lea rdx, [rbp + 0x168]
mov rcx, qword [rcx + 0x3d58]
call fcn.14002be30
movss xmm0, dword [rbp + 0x16c]
subss xmm13, dword [rbp - 0x64]
mov r12, qword [0x140114748]
mov rax, qword [rbp + 0x138]
subss xmm13, dword [0x140053914]
mov rcx, qword [rbp + 0x150]
movss xmm14, dword [rcx + 4]
subss xmm14, xmm0
mulss xmm14, xmm6
movss xmm7, dword [rbp - 0x78]
addss xmm14, xmm7
mulss xmm13, xmm6
addss xmm13, xmm15
movss dword [rbp - 0x70], xmm13
movaps xmm0, xmm14
unpcklps xmm0, xmm13
movsd qword [rbp + 0x168], xmm0
cmp byte [rsp + 0x60], 0
je 0x14003abfc
mov r15, qword [rdi + 0x30]
mov qword [rbp + 0x140], r15
jmp 0x14003ac03
mov r15, qword [rbp + 0x140]
xor r8d, r8d
mov r14d, r8d
mov qword [rbp - 0x68], r8
movzx esi, byte [rsp + 0x59]
test sil, sil
je 0x14003ac40
mov r15, rax
mov qword [rbp + 0x140], rax
mov r14, 0xffffffffffffffff
nop dword [rax + rax]
inc r14
cmp byte [rax + r14], r8b
jne 0x14003ac30
add r14, rax
mov qword [rbp - 0x68], r14
movzx eax, byte [rbp + 0x158]
test al, al
jne 0x14003adfc
cmp byte [rbp + 0x148], r8b
jne 0x14003adfc
test sil, sil
jne 0x14003ac8c
mov eax, dword [rsp + 0x54]
cmp dword [r13 + 0x409c], eax
jne 0x14003ac74
movsxd r14, dword [rdi + 0x10]
jmp 0x14003ac89
mov r14, 0xffffffffffffffff
nop dword [rax + rax]
inc r14
cmp byte [r15 + r14], r8b
jne 0x14003ac80
add r14, r15
mov rax, r14
sub rax, r15
cmp rax, 0x200000
jge 0x14003b6bc
lea rcx, [0x1401148e8]
lea rax, [0x1401148f8]
test sil, sil
cmovne rax, rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r12 + 0x38f0]
movss dword [rbp - 0x34], xmm0
lea rcx, [rbp - 0x40]
call fcn.140003d30
mov esi, eax
mov rax, qword [rbp - 0x50]
mov rbx, qword [rax + 0x2a8]
movss xmm6, dword [r13 + 0x3d60]
mov rdi, qword [r13 + 0x3d58]
test esi, 0xff000000
je 0x14003b6bc
test r14, r14
jne 0x14003ad1c
mov r14, 0xffffffffffffffff
nop dword [rax + rax]
inc r14
cmp byte [r15 + r14], r8b
jne 0x14003ad10
add r14, r15
cmp r15, r14
je 0x14003b6bc
test rdi, rdi
jne 0x14003ad32
mov rax, qword [rbx + 0x38]
mov rdi, qword [rax + 8]
ucomiss xmm6, xmm11
jp 0x14003ad43
jne 0x14003ad43
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 0x14003ad6e
mov r8d, 0x6a9
lea rdx, str.C:UsersDomDesktoploader_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]
movups xmm0, xmmword [rbx + 0x88]
movups xmmword [rsp + 0x68], xmm0
maxss xmm0, xmm7
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x6c]
maxss xmm0, xmm15
movss dword [rsp + 0x6c], xmm0
movss xmm1, dword [rsp + 0x70]
minss xmm1, xmm10
movss dword [rsp + 0x70], xmm1
movss xmm0, dword [rsp + 0x74]
minss xmm0, xmm12
movss dword [rsp + 0x74], xmm0
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm11
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x68]
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.14002c050
mov r12, qword [0x140114748]
jmp 0x14003b6bc
test rdi, rdi
jne 0x14003ae2c
mov r8d, 0x13c2
lea rdx, str.C:UsersDomDesktoploader_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 [0x140114748]
movzx eax, byte [rbp + 0x158]
xor r8d, r8d
test sil, sil
jne 0x14003ae3c
movsxd r14, dword [rdi + 0x10]
add r14, r15
mov qword [rbp - 0x68], r14
mov r11, qword [rdi + 0x20]
xorps xmm4, xmm4
xorps xmm6, xmm6
xorps xmm7, xmm7
mov r10, r8
mov r15, r8
mov r9d, 0xfffffc18
mov esi, r9d
mov edx, r8d
test al, al
je 0x14003ae72
movsxd rax, dword [rdi + 0x54]
lea r10, [r11 + rax*2]
mov edx, 1
mov r9d, 0xffffffff
cmp byte [rbp + 0x148], 0
je 0x14003ae93
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
mov ecx, r8d
mov rax, r11
movzx r8d, word [r11]
test r8w, r8w
je 0x14003aee0
cmp r8w, 0xa
jne 0x14003aed2
inc ecx
cmp r9d, 0xffffffff
jne 0x14003aec0
cmp rax, r10
jb 0x14003aec0
mov r9d, ecx
dec edx
test edx, edx
jle 0x14003aee0
cmp esi, 0xffffffff
jne 0x14003aed2
cmp rax, r15
jb 0x14003aed2
mov esi, ecx
dec edx
test edx, edx
jle 0x14003aee0
add rax, 2
movzx r8d, word [rax]
test r8w, r8w
jne 0x14003aea3
inc ecx
mov eax, ecx
cmp r9d, 0xffffffff
cmovne eax, r9d
mov dword [rbp - 0x74], eax
cmp esi, 0xffffffff
cmove esi, ecx
mov rdx, r10
cmp r10, r11
jbe 0x14003af12
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x14003af12
mov rdx, rax
cmp rax, r11
ja 0x14003af00
mov r8, qword [r13 + 0x3d58]
movss xmm2, dword [r13 + 0x3d60]
divss xmm2, dword [r8 + 0x14]
movaps xmm8, xmm4
movss dword [rbp + 0x168], xmm4
movaps xmm1, xmm4
cmp rdx, r10
jae 0x14003af9c
nop dword [rax]
movzx eax, word [rdx]
add rdx, 2
cmp eax, 0xa
jne 0x14003af56
maxss xmm8, xmm1
movaps xmm1, xmm4
jmp 0x14003af7c
cmp eax, 0xd
je 0x14003af7c
mov rcx, rax
cmp eax, dword [r8]
jge 0x14003af6e
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x14003af74
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rdx, r10
jb 0x14003af40
movss dword [rbp + 0x168], xmm8
comiss xmm1, xmm8
jbe 0x14003af9c
movaps xmm8, xmm1
movss dword [rbp + 0x168], xmm1
movd xmm11, dword [rbp - 0x74]
cvtdq2ps xmm11, xmm11
mulss xmm11, dword [r13 + 0x3d60]
movss dword [rbp - 0x74], xmm11
test esi, esi
js 0x14003b058
mov rdx, r15
cmp r15, r11
jbe 0x14003afd7
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x14003afd7
mov rdx, rax
cmp rax, r11
ja 0x14003afc5
mov r8, qword [r13 + 0x3d58]
movss xmm2, dword [r13 + 0x3d60]
divss xmm2, dword [r8 + 0x14]
movaps xmm6, xmm4
movaps xmm1, xmm4
cmp rdx, r15
jae 0x14003b048
nop dword [rax + rax]
movzx eax, word [rdx]
add rdx, 2
cmp eax, 0xa
jne 0x14003b015
maxss xmm6, xmm1
movaps xmm1, xmm4
jmp 0x14003b03b
cmp eax, 0xd
je 0x14003b03b
mov rcx, rax
cmp eax, dword [r8]
jge 0x14003b02d
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x14003b033
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rdx, r15
jb 0x14003b000
comiss xmm1, xmm6
jbe 0x14003b048
movaps xmm6, xmm1
movd xmm7, esi
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r13 + 0x3d60]
cmp byte [rbp + 0x158], 0
je 0x14003b0c4
cmp byte [rdi + 0xe84], 0
je 0x14003b0c4
movaps xmm2, xmm9
mulss xmm2, dword [0x1400538cc]
subss xmm9, dword [r13 + 0x392c]
movss xmm1, dword [rdi + 0x50]
comiss xmm1, xmm8
jbe 0x14003b09b
movaps xmm1, xmm8
subss xmm1, xmm2
movaps xmm0, xmm4
maxss xmm0, xmm1
jmp 0x14003b0ad
movaps xmm0, xmm8
subss xmm0, xmm9
comiss xmm0, xmm1
jb 0x14003b0bd
addss xmm0, xmm2
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 0x14003b343
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 [0x140114918]
movss dword [rbp - 0x40], xmm0
movss xmm1, dword [0x14011491c]
movss dword [rbp - 0x3c], xmm1
movss xmm0, dword [0x140114920]
movss dword [rbp - 0x38], xmm0
movss xmm1, dword [r12 + 0x38f0]
mulss xmm1, dword [0x1400538bc]
mulss xmm1, dword [0x140114924]
movss dword [rbp - 0x34], xmm1
lea rcx, [rbp - 0x40]
call fcn.140003d30
addss xmm6, xmm14
subss xmm6, xmm9
addss xmm7, xmm13
xorps xmm4, xmm4
subss xmm7, xmm4
cmp rsi, r15
jae 0x14003b343
movss xmm10, dword [0x140053928]
movss xmm11, dword [rsp + 0x64]
movss xmm13, dword [rbp - 0x78]
movss xmm8, dword [0x1400538e0]
mov r14d, eax
mov rdi, qword [rbp - 0x50]
xor ebx, ebx
nop word [rax + rax]
movss xmm2, dword [r13 + 0x3d60]
movaps xmm0, xmm12
addss xmm0, xmm2
comiss xmm7, xmm0
ja 0x14003b314
comiss xmm15, xmm7
jbe 0x14003b1db
cmp rsi, r15
jae 0x14003b2f9
nop dword [rax]
movzx eax, word [rsi]
add rsi, 2
cmp ax, 0xa
je 0x14003b2f9
cmp rsi, r15
jb 0x14003b1c0
jmp 0x14003b314
mov rdx, qword [r13 + 0x3d58]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm4
movaps xmm1, xmm4
cmp rsi, r15
jae 0x14003b232
movzx eax, word [rsi]
add rsi, 2
cmp eax, 0xa
je 0x14003b228
cmp eax, 0xd
je 0x14003b221
mov ecx, eax
cmp eax, dword [rdx]
jge 0x14003b214
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x14003b219
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rsi, r15
jb 0x14003b1f2
jmp 0x14003b232
movaps xmm3, xmm4
maxss xmm3, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm3
comiss xmm4, xmm1
jb 0x14003b26a
mov rax, qword [r13 + 0x3d58]
cmp dword [rax], 0x20
jle 0x14003b255
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x14003b25a
movss xmm0, dword [rax + 0x10]
mulss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
movaps xmm0, xmm7
addss xmm0, xmm10
addss xmm6, xmm4
movss xmm2, dword [0x140053a08]
subss xmm2, dword [r13 + 0x3d60]
addss xmm2, xmm7
maxss xmm6, xmm13
maxss xmm2, xmm15
movss dword [rsp + 0x68], xmm6
movss dword [rsp + 0x6c], xmm2
minss xmm1, xmm11
minss xmm0, xmm12
movss dword [rsp + 0x70], xmm1
movss dword [rsp + 0x74], xmm0
comiss xmm0, xmm15
jbe 0x14003b2f9
comiss xmm12, xmm2
jbe 0x14003b2f9
comiss xmm1, xmm13
jbe 0x14003b2f9
comiss xmm11, xmm6
jbe 0x14003b2f9
mov dword [rsp + 0x28], ebx
movss dword [rsp + 0x20], xmm4
mov r9d, r14d
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x68]
mov rcx, qword [rdi + 0x2a8]
call fcn.140025040
xorps xmm4, xmm4
movaps xmm6, xmm14
subss xmm6, xmm9
addss xmm7, dword [r13 + 0x3d60]
cmp rsi, r15
jb 0x14003b190
mov r12, qword [0x140114748]
movss xmm8, dword [rbp + 0x168]
movss xmm11, dword [rbp - 0x74]
movss xmm13, dword [rbp - 0x70]
mov rbx, qword [rbp - 0x80]
movss xmm10, dword [rsp + 0x64]
mov rdi, qword [rbp - 0x10]
mov r14, qword [rbp - 0x68]
mov rax, r14
mov r8, qword [rbp + 0x140]
sub rax, r8
cmp rax, 0x200000
jge 0x14003b4e8
lea rcx, [0x1401148e8]
lea rax, [0x1401148f8]
cmp byte [rsp + 0x59], 0
cmovne rax, rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r12 + 0x38f0]
movss dword [rbp - 0x34], xmm0
lea rcx, [rbp - 0x40]
call fcn.140003d30
mov dword [rbp + 0x148], eax
mov rcx, qword [rbp - 0x50]
mov rsi, qword [rcx + 0x2a8]
movaps xmm0, xmm14
subss xmm0, xmm9
movss dword [rbp + 0x168], xmm0
movaps xmm1, xmm13
xorps xmm7, xmm7
subss xmm1, xmm7
movss dword [rbp + 0x16c], xmm1
movss xmm6, dword [r13 + 0x3d60]
mov r15, qword [r13 + 0x3d58]
test eax, 0xff000000
je 0x14003b4eb
test r14, r14
jne 0x14003b3ff
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r8 + r14], 0
jne 0x14003b3f2
add r14, r8
cmp r8, r14
je 0x14003b4eb
test r15, r15
jne 0x14003b415
mov rax, qword [rsi + 0x38]
mov r15, qword [rax + 8]
ucomiss xmm6, xmm7
jp 0x14003b425
jne 0x14003b425
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 0x14003b457
mov r8d, 0x6a9
lea rdx, str.C:UsersDomDesktoploader_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 [rsi + 0x88]
movups xmmword [rsp + 0x68], xmm0
maxss xmm0, dword [rbp - 0x78]
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x6c]
maxss xmm0, xmm15
movss dword [rsp + 0x6c], xmm0
movss xmm1, dword [rsp + 0x70]
minss xmm1, xmm10
movss dword [rsp + 0x70], xmm1
movss xmm0, dword [rsp + 0x74]
minss xmm0, xmm12
movss dword [rsp + 0x74], xmm0
mov byte [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm7
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r8
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x148]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x168]
movaps xmm2, xmm6
mov rdx, rsi
mov rcx, r15
call fcn.14002c050
mov r12, qword [0x140114748]
jmp 0x14003b4eb
xorps xmm7, xmm7
cmp byte [rbp + 0x158], 0
je 0x14003b6bc
movss xmm0, dword [r13 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r13 + 0x5b], 0
je 0x14003b538
comiss xmm7, xmm0
jae 0x14003b538
movss xmm1, dword [0x14005391c]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x140053900]
comiss xmm1, xmm0
jae 0x14003b538
xor cl, cl
jmp 0x14003b53a
mov cl, 1
addss xmm8, xmm14
subss xmm8, xmm9
cvttss2si eax, xmm8
xorps xmm6, xmm6
cvtsi2ss xmm6, eax
addss xmm11, xmm13
subss xmm11, xmm7
cvttss2si eax, xmm11
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
movaps xmm3, xmm7
subss xmm3, dword [r13 + 0x3d60]
addss xmm3, dword [0x1400538e0]
movaps xmm5, xmm7
subss xmm5, dword [0x140053924]
movaps xmm2, xmm6
movss xmm4, dword [rbp - 8]
subss xmm2, xmm4
subss xmm2, dword [rbx + 0x40]
movss xmm0, dword [r13 + 0x18]
mulss xmm0, dword [0x14005397c]
mulss xmm2, xmm0
addss xmm2, dword [rbx + 0x40]
movss dword [rbx + 0x40], xmm2
test cl, cl
je 0x14003b684
comiss xmm5, xmm15
jbe 0x14003b684
comiss xmm12, xmm3
jbe 0x14003b684
movaps xmm0, xmm6
movss xmm8, dword [0x140053914]
addss xmm0, xmm8
comiss xmm0, dword [rbp - 0x78]
jbe 0x14003b684
comiss xmm10, xmm6
jbe 0x14003b684
movss xmm0, dword [0x1401148f8]
movss dword [rbp - 0x40], xmm0
movss xmm1, dword [0x1401148fc]
movss dword [rbp - 0x3c], xmm1
movss xmm0, dword [0x140114900]
movss dword [rbp - 0x38], xmm0
movss xmm1, dword [0x140114904]
mulss xmm1, dword [r12 + 0x38f0]
movss dword [rbp - 0x34], xmm1
addss xmm4, xmm2
movss dword [rbp + 0x168], xmm4
movss dword [rbp + 0x16c], xmm5
movss dword [rbp - 0x68], xmm4
movss dword [rbp - 0x64], xmm3
lea rcx, [rbp - 0x40]
call fcn.140003d30
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp + 0x168]
lea rdx, [rbp - 0x68]
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax + 0x2a8]
call fcn.140024dd0
mov r12, qword [0x140114748]
mov byte [r13 + 0x5ef8], 1
subss xmm6, dword [0x140053914]
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 0x14003b732
cmp word [r12 + 0x5e66], 0
jg 0x14003b732
mov eax, dword [r12 + 0x409c]
mov ecx, dword [rsp + 0x54]
cmp eax, ecx
je 0x14003b6e7
test eax, eax
jne 0x14003b6f2
mov word [r12 + 0x40ac], 0x101
cmp byte [r12 + 0x4d20], 0
jne 0x14003b729
cmp eax, ecx
je 0x14003b729
test eax, eax
je 0x14003b729
cmp dword [r12 + 0x40c8], ecx
je 0x14003b729
mov r8d, 0xfac
lea rdx, str.C:UsersDomDesktoploader_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 0x14003b739
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.14000bb50
int3