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

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
mov rax, qword [0x140069040]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov eax, dword [rcx + 0xa4]
mov rdi, rcx
mov r15, qword [0x140069ac0]
inc eax
movzx ecx, byte [rcx + 0xbc]
mov r12, rdx
mov dword [rsp + 0x58], eax
mov edx, dword [r15 + 0x1c90]
mov dword [rsp + 0x54], edx
test cl, 0x10
je 0x140021da0
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x140021da5
mov byte [rsp + 0x30], 0
xor ebx, ebx
lea r9d, [rbx + 1]
cmp dword [rdi + 0xb4], ebx
je 0x140021dbc
mov dword [rsp + 0x40], r9d
cmp eax, edx
je 0x140021dc0
mov dword [rsp + 0x40], ebx
and cl, 0xef
mov dword [rdi + 0xb4], ebx
xor r13b, r13b
mov byte [rdi + 0xbc], cl
mov rax, qword [rdi + 0x10]
mov r8, rdi
mov dword [rsp + 0x34], r13d
mov qword [rsp + 0x48], rdi
test rax, rax
je 0x140021e08
nop dword [rax + rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140021df0
mov r13d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x48]
mov rax, qword [r15 + 0x2080]
test rax, rax
je 0x140021e21
cmp qword [rax + 0x448], rdi
sete r13b
jmp 0x140021e4f
mov rdx, qword [r15 + 0x1f50]
test rdx, rdx
je 0x140021e54
mov rax, qword [r12 + 0x3d8]
cmp qword [rdx + 0x3e0], rax
jne 0x140021e54
mov eax, dword [rdi]
cmp dword [r8 + 0xac], eax
movzx r13d, r13b
cmove r13d, r9d
mov dword [rsp + 0x34], r13d
mov eax, dword [rdi + 8]
test eax, 0x3000
jne 0x140022bc0
movzx ecx, byte [r12 + 0xd4]
mov qword [rsp + 0x210], rsi
mov qword [rsp + 0x1c0], r14
movaps xmmword [rsp + 0x1a0], xmm7
shr eax, 0xa
movaps xmmword [rsp + 0x190], xmm8
movaps xmmword [rsp + 0x170], xmm10
mov byte [rsp + 0x31], cl
test r9b, al
jne 0x140021eb1
mov byte [r12 + 0xd4], bl
mov dword [r12 + 0x18c], r9d
mov rcx, qword [r15 + 0x1d18]
lea rdx, [rbp - 0x38]
mov eax, dword [rdi]
add rcx, 0x108
mov dword [rbp - 0x38], eax
call fcn.140029650
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x60], rax
mov rsi, rax
test rax, rax
jne 0x140021eea
mov rcx, rdi
call fcn.140022c50
mov rsi, qword [rdi + 0x38]
and byte [rdi + 0xbc], 0xfd
movzx eax, r13b
add al, al
mov dword [rbp - 0x38], ebx
or byte [rdi + 0xbc], al
mov eax, dword [rdi + 4]
or eax, dword [rdi + 8]
bt eax, 0xe
jb 0x140021f6b
cmp dword [r15 + 0x165c], 0xffffffff
je 0x140021f6b
mov rax, qword [0x140069ac0]
lea rdx, str.WindowMenu
mov byte [rbp - 0x40], 1
mov rcx, qword [rax + 0x1d18]
call fcn.140005f30
xor edx, edx
mov ecx, eax
call fcn.140014900
test al, al
je 0x140021f6e
mov rdx, rsi
mov rcx, rdi
call fcn.140021b00
test eax, eax
je 0x140021f56
mov dword [rsi + 0x1c], eax
mov dword [rbp - 0x38], eax
movzx eax, byte [rdi + 0xbc]
shr al, 1
and al, 1
or r13b, al
mov dword [rsp + 0x34], r13d
jmp 0x140021f6e
mov byte [rbp - 0x40], bl
movss xmm7, dword [rdi + 0x44]
mov rcx, qword [0x140069ac0]
movaps xmm5, xmm7
movss xmm3, dword [rdi + 0x40]
movzx eax, byte [rdi + 0xbc]
movaps xmm8, xmm3
movss dword [rbp - 0x4c], xmm7
movss xmm1, dword [rcx + 0x1674]
movss xmm4, dword [rcx + 0x1670]
addss xmm1, xmm1
movss xmm2, dword [rcx + 0x1a80]
movss dword [rbp - 0x30], xmm3
movaps xmm0, xmm2
movss dword [rbp - 0x2c], xmm7
addss xmm0, xmm7
addss xmm8, dword [rdi + 0x48]
addss xmm1, xmm0
movss dword [rbp - 0x28], xmm8
movaps xmm0, xmm8
subss xmm0, xmm4
movss dword [rbp - 0x44], xmm1
movss dword [rbp - 0x24], xmm1
movaps xmm1, xmm4
movss dword [rbp - 0x48], xmm0
addss xmm1, xmm3
movss dword [rbp - 0x50], xmm1
test al, 4
je 0x140021fff
subss xmm0, xmm2
movss dword [rbp - 0x48], xmm0
test al, 8
je 0x140022045
cmp dword [rcx + 0x165c], ebx
jne 0x140022016
addss xmm2, xmm1
movss dword [rbp - 0x50], xmm2
jmp 0x140022045
cmp dword [rcx + 0x165c], 1
jne 0x140022045
addss xmm2, xmm4
subss xmm0, xmm2
movss dword [rbp - 0x48], xmm0
unpcklps xmm0, xmm7
movaps xmm1, xmm0
movsd qword [rsp + 0x38], xmm0
movss xmm3, dword [rsp + 0x38]
shufps xmm1, xmm1, 0x55
movaps xmm5, xmm1
mov eax, dword [rsi]
mov r14d, ebx
movups xmm0, xmmword [rbp - 0x50]
mov dword [rsp + 0x50], eax
mov eax, dword [rdi + 0x28]
movss dword [rsp + 0x38], xmm3
movss dword [rsp + 0x3c], xmm5
movups xmmword [rbp - 0x20], xmm0
test eax, eax
jle 0x1400220d9
nop dword [rax]
test rbx, rbx
js 0x14002207a
cmp r14d, eax
jl 0x140022094
mov r8d, 0x6c7
lea rdx, str.C:Users_fifofDownloadsBottle_clicker_v1.0_src__1_ImGui_Loader_Base_masterimguiimgui.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 + 0x30]
mov rcx, rsi
mov r13, qword [rax + rbx*8]
mov edx, dword [r13 + 8]
call fcn.14004dde0
test rax, rax
jne 0x1400220bd
mov r8, r13
mov edx, 0x400000
mov rcx, rsi
call fcn.14004dea0
mov eax, dword [rdi + 0x28]
inc r14d
inc rbx
cmp r14d, eax
jl 0x140022070
mov rcx, qword [0x140069ac0]
xor ebx, ebx
mov r13d, dword [rsp + 0x34]
test r13b, r13b
je 0x1400220eb
mov eax, dword [r15 + 0x1c90]
mov dword [rdi + 0xa8], eax
cmp byte [r12 + 0xd2], 0
je 0x1400220fd
mov eax, 0xc
jmp 0x14002210a
test r13b, r13b
mov rax, rbx
setne al
add rax, 0xa
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x16fc]
movups xmmword [rbp - 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x1638]
lea rcx, [rbp - 0x50]
movss dword [rbp - 0x44], xmm0
call fcn.140003300
movss xmm0, dword [r12 + 0x88]
lea r8, [rbp - 0x28]
mov rcx, qword [r12 + 0x2f8]
lea rdx, [rbp - 0x30]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
movss dword [rsp + 0x20], xmm0
call fcn.1400359e0
cmp byte [rbp - 0x40], 0
je 0x140022233
cmp dword [r12 + 0x108], 0
jg 0x140022192
mov r8d, 0x6d1
lea rdx, str.C:Users_fifofDownloadsBottle_clicker_v1.0_src__1_ImGui_Loader_Base_masterimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [r12 + 0x108]
lea rcx, str.COLLAPSE
mov r8, qword [r12 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140002d90
mov rcx, qword [0x140069ac0]
cmp dword [rcx + 0x1d6c], eax
jne 0x1400221ca
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x1400221d9
mov byte [rcx + 0x1dac], 1
mov r8, rdi
lea rdx, [rsp + 0x38]
mov ecx, eax
call fcn.1400430a0
test al, al
je 0x14002220d
mov rax, qword [0x140069ac0]
lea rdx, str.WindowMenu
mov rcx, qword [rax + 0x1d18]
call fcn.140005f30
mov ecx, eax
call fcn.140014a70
mov rax, qword [0x140069ac0]
mov ecx, dword [rax + 0x1d6c]
test ecx, ecx
je 0x140022233
mov rax, qword [rax + 0x1d18]
cmp ecx, dword [rax + 0x164]
jne 0x140022233
mov eax, dword [rsi + 0x18]
mov dword [rbp - 0x38], eax
mov r13d, dword [rsi]
lea ebx, [r13 - 1]
test ebx, ebx
js 0x1400222bc
movsxd rax, ebx
lea r14, [rax + rax*2]
shl r14, 4
nop dword [rax]
test ebx, ebx
js 0x140022258
cmp ebx, dword [rsi]
jl 0x140022272
mov r8d, 0x6c7
lea rdx, str.C:Users_fifofDownloadsBottle_clicker_v1.0_src__1_ImGui_Loader_Base_masterimguiimgui.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 + 8]
test dword [r14 + rax + 4], 0x400000
je 0x1400222bc
test ebx, ebx
js 0x140022289
cmp ebx, dword [rsi]
jl 0x1400222a3
mov r8d, 0x6c7
lea rdx, str.C:Users_fifofDownloadsBottle_clicker_v1.0_src__1_ImGui_Loader_Base_masterimguiimgui.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 + 8]
mov r13d, ebx
and dword [r14 + rax + 4], 0xffbfffff
sub r14, 0x30
sub ebx, 1
jns 0x140022250
mov ecx, dword [rsi]
cmp ecx, r13d
jle 0x1400222f3
lea eax, [r13 + 1]
cmp ecx, eax
jle 0x1400222f3
sub ecx, r13d
movsxd rax, r13d
movsxd rdx, ecx
lea r9, [0x140021ab0]
mov r8d, 0x30
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r15 + 0x1f50]
test rax, rax
je 0x140022315
mov rax, qword [rax + 0x3d0]
cmp qword [rax + 0x448], rdi
jne 0x140022315
mov eax, dword [rax + 8]
mov dword [rsi + 0x18], eax
cmp qword [rsp + 0x60], 0
jne 0x140022338
mov edx, dword [rdi + 0xb0]
mov rcx, rsi
call fcn.14004dde0
test rax, rax
je 0x140022338
mov eax, dword [rdi + 0xb0]
jmp 0x140022374
mov eax, dword [rsi]
cmp eax, dword [rsp + 0x50]
jle 0x14002237a
test eax, eax
jg 0x14002235e
mov r8d, 0x6d1
lea rdx, str.C:Users_fifofDownloadsBottle_clicker_v1.0_src__1_ImGui_Loader_Base_masterimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rsi]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 8]
mov dword [rsi + 0x18], eax
mov dword [rsi + 0x1c], eax
cmp byte [r12 + 0xd2], 0
mov r8d, 0x500003
jne 0x140022399
cmp byte [rsp + 0x34], 0
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
movaps xmmword [rsp + 0x1b0], xmm6
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.14004ca10
movups xmm0, xmmword [r15 + 0x190c]
mov eax, dword [rdi + 0x28]
xor r10d, r10d
mov r13d, r10d
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [r15 + 0x192c]
movups xmm1, xmmword [r15 + 0x191c]
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [r15 + 0x194c]
movups xmm2, xmmword [r15 + 0x16fc]
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp], xmm2
movups xmm1, xmmword [r15 + 0x193c]
mov qword [rdi + 0x88], r10
movaps xmmword [rbp + 0x40], xmm1
test eax, eax
jle 0x140022620
movss xmm6, dword [0x1400612d4]
lea r8, [0x14005a2a0]
mov r14d, r10d
lea r11, [0x14005a2b8]
nop dword [rax]
test r14, r14
js 0x14002243a
cmp r13d, eax
jl 0x140022465
mov r8d, 0x6c7
lea rdx, str.C:Users_fifofDownloadsBottle_clicker_v1.0_src__1_ImGui_Loader_Base_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r10d, r10d
lea r11, [0x14005a2b8]
lea r8, [0x14005a2a0]
cmp byte [rsp + 0x30], 0
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax + r14*8]
jne 0x14002247d
mov eax, dword [rsp + 0x40]
cmp eax, dword [rbx + 8]
jne 0x140022493
cmp byte [rbx + 0xd8], 0
je 0x140022493
test dword [rbx + 0xc], 0x100000
je 0x1400225f2
mov eax, dword [rbx + 0x2b8]
inc eax
cmp eax, dword [r15 + 0x1c90]
jge 0x1400224b2
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x58], eax
je 0x1400225f2
mov edx, dword [rbx + 0x24]
lea rax, [0x14005a2a0]
or edx, 1
test dword [rbx + 0xc], 0x100000
cmove edx, dword [rbx + 0x24]
mov r9d, edx
or r9d, 4
test byte [rsi + 0x10], 8
cmove r9d, edx
mov rdx, r8
mov r8, rbx
sub r8, rax
mov ecx, dword [rdx + r8 + 0x42c]
xorps xmm3, xmm3
movzx eax, cl
xorps xmm2, xmm2
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm1, rax
mov eax, ecx
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm0, rax
movsxd rax, dword [rdx]
add rdx, 4
add rax, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
mulss xmm0, xmm6
movss xmm3, xmm2
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r15 + rax*8 + 0x16fc], xmm3
cmp rdx, r11
jl 0x1400224e2
cmp byte [rbx + 0xd8], 0
lea r8, [rbp - 0x40]
mov rdx, qword [rbx]
mov rcx, rsi
cmove r8, r10
mov byte [rbp - 0x40], 1
mov qword [rsp + 0x20], rbx
call fcn.14004e800
cmp byte [rbp - 0x40], 0
jne 0x14002259c
mov eax, dword [rbx + 8]
mov dword [rdi + 0xb4], eax
mov eax, dword [rbx + 8]
cmp dword [rsi + 0x20], eax
jne 0x1400225ab
mov qword [rdi + 0x88], rbx
mov eax, dword [r12 + 0x168]
mov dword [rbx + 0x45c], eax
movups xmm0, xmmword [r12 + 0x16c]
movups xmmword [rbx + 0x460], xmm0
mov rax, qword [r15 + 0x1f50]
test rax, rax
je 0x1400225f2
cmp qword [rax + 0x3d0], rbx
jne 0x1400225f2
test byte [rbx + 0x190], 2
jne 0x1400225f2
mov eax, dword [rbx + 8]
mov dword [r12 + 0x3fc], eax
mov eax, dword [rdi + 0x28]
lea r11, [0x14005a2b8]
inc r13d
lea r8, [0x14005a2a0]
inc r14
mov r10d, 0
cmp r13d, eax
jl 0x140022430
movaps xmm2, xmmword [rbp]
nop dword [rax]
movaps xmm0, xmmword [rbp + 0x10]
movaps xmm1, xmmword [rbp + 0x20]
movups xmmword [r15 + 0x16fc], xmm2
movups xmmword [r15 + 0x190c], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [r15 + 0x191c], xmm1
movaps xmm1, xmmword [rbp + 0x40]
movups xmmword [r15 + 0x192c], xmm0
movaps xmm0, xmmword [rbp + 0x50]
movups xmmword [r15 + 0x193c], xmm1
movups xmmword [r15 + 0x194c], xmm0
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x14002268d
cmp byte [rsp + 0x34], 0
mov rcx, qword [rsp + 0x48]
jne 0x140022686
cmp qword [rcx + 0x88], 0
jne 0x14002268d
mov qword [rcx + 0x88], rax
movzx eax, byte [rdi + 0xbc]
xorps xmm10, xmm10
and al, 4
je 0x1400226bc
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x1400226bc
cmp byte [rcx + 0xd8], 0
je 0x1400226bc
mov r14b, 1
xor r13d, r13d
jmp 0x140022766
test al, al
je 0x140022897
mov ecx, 4
movaps xmmword [rsp + 0x180], xmm9
call fcn.140012910
mov rbx, qword [0x140069ac0]
lea rdx, [rbp - 0x20]
movss xmm6, dword [r15 + 0x16fc]
xor r13d, r13d
movss xmm7, dword [r15 + 0x1700]
movss xmm8, dword [r15 + 0x1704]
movups xmm0, xmmword [rbx + 0x16fc]
lea rcx, [rbx + 0x1e70]
mov dword [rbp - 0x20], r13d
movss xmm9, dword [r15 + 0x1708]
movups xmmword [rbp - 0x1c], xmm0
call fcn.140029080
movss dword [rbx + 0x16fc], xmm6
xor r14b, r14b
movss dword [rbx + 0x1700], xmm7
movss dword [rbx + 0x1704], xmm8
mulss xmm9, dword [0x140061308]
movss dword [rbx + 0x1708], xmm9
movss xmm8, dword [rbp - 0x28]
movss xmm7, dword [rbp - 0x2c]
movaps xmm9, xmmword [rsp + 0x180]
cmp dword [r12 + 0x108], 0
addss xmm7, xmm10
movss xmm0, dword [r15 + 0x1670]
xorps xmm0, xmmword [0x140061510]
addss xmm0, xmm0
movss dword [rsp + 0x3c], xmm7
subss xmm0, dword [r15 + 0x1a80]
addss xmm0, xmm8
movss dword [rsp + 0x38], xmm0
jg 0x1400227be
mov r8d, 0x6d1
lea rdx, str.C:Users_fifofDownloadsBottle_clicker_v1.0_src__1_ImGui_Loader_Base_masterimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [r12 + 0x108]
lea rcx, str.CLOSE
mov r8, qword [r12 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140002d90
mov rcx, qword [0x140069ac0]
cmp dword [rcx + 0x1d6c], eax
jne 0x1400227f6
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x140022805
mov byte [rcx + 0x1dac], 1
lea rdx, [rsp + 0x38]
mov ecx, eax
call fcn.140042cd0
test al, al
je 0x14002287d
mov edx, dword [rsi + 0x20]
mov rcx, rsi
call fcn.14004dde0
mov rbx, rax
test rax, rax
je 0x14002287d
mov ecx, dword [rax]
mov dword [rdi + 0xb4], ecx
test dword [rax + 4], 0x200000
je 0x140022853
mov r8d, 0x1d24
lea rdx, str.C:Users_fifofDownloadsBottle_clicker_v1.0_src__1_ImGui_Loader_Base_masterimguiimgui_widgets.cpp
lea rcx, str.__tab__Flags__ImGuiTabItemFlags_Button_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rbx + 4], 1
mov eax, dword [rbx]
jne 0x140022875
mov byte [rbx + 0x2a], 1
cmp dword [rsi + 0x20], eax
jne 0x14002287d
mov dword [rbx + 0x10], 0xffffffff
mov qword [rsi + 0x18], 0
jmp 0x14002287d
cmp dword [rsi + 0x20], eax
je 0x14002287d
mov dword [rsi + 0x1c], eax
test r14b, r14b
mov r14d, 1
jne 0x14002289e
mov ecx, r14d
call fcn.140003970
call fcn.1400129e0
jmp 0x14002289e
xor r13d, r13d
lea r14d, [r13 + 1]
cmp dword [r12 + 0x108], 0
movaps xmm8, xmmword [rsp + 0x190]
movaps xmm7, xmmword [rsp + 0x1a0]
movaps xmm6, xmmword [rsp + 0x1b0]
jg 0x1400228dc
mov r8d, 0x6d1
lea rdx, str.C:Users_fifofDownloadsBottle_clicker_v1.0_src__1_ImGui_Loader_Base_masterimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [r12 + 0x108]
lea rcx, str.TITLEBAR
mov r8, qword [r12 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140002d90
mov ebx, eax
mov rax, qword [0x140069ac0]
cmp dword [rax + 0x1d6c], ebx
jne 0x140022916
mov dword [rax + 0x1d70], ebx
cmp dword [rax + 0x1da8], ebx
jne 0x140022925
mov byte [rax + 0x1dac], 1
mov eax, dword [r15 + 0x1d58]
test eax, eax
je 0x140022941
cmp eax, ebx
je 0x140022941
cmp dword [r15 + 0x1d6c], ebx
jne 0x140022af1
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x30]
mov edx, ebx
call fcn.1400422c0
mov rcx, qword [0x140069ac0]
cmp dword [r15 + 0x1d58], ebx
jne 0x14002299f
mov dword [r12 + 0x164], ebx
mov rax, qword [rcx + 0x1d18]
mov edx, dword [rax + 0x164]
cmp dword [rcx + 0x1d58], edx
jne 0x140022990
mov byte [rcx + 0x1d60], 1
cmp dword [rcx + 0x1d6c], edx
jne 0x14002299f
mov byte [rcx + 0x1d79], 1
cmp byte [rsp + 0x30], 0
je 0x140022af1
movss xmm0, dword [rcx + 0x434]
ucomiss xmm0, xmm10
jp 0x1400229c0
jne 0x1400229c0
mov eax, dword [rsi + 0x18]
mov dword [rbp - 0x38], eax
mov edx, dword [rsi + 0x18]
mov rcx, rsi
call fcn.14004dde0
test rax, rax
je 0x140022af1
mov r9, qword [rax + 8]
test r9, r9
jne 0x1400229e4
mov r9, qword [rdi + 0x80]
mov rax, qword [rdi + 0x88]
xor r8b, r8b
mov rdx, qword [0x140069ac0]
test rax, rax
je 0x140022a3f
test byte [rax + 0xc], 4
jne 0x140022a3f
mov rax, qword [rdi + 0x10]
mov rcx, rdi
test rax, rax
je 0x140022a1c
nop dword [rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140022a10
cmp qword [rcx + 0x98], rdi
jne 0x140022a2f
cmp qword [rcx + 0x90], 0
je 0x140022a3f
mov eax, dword [rcx + 8]
shr eax, 0xa
test al, 1
movzx r8d, r8b
cmovne r8d, r14d
movss xmm0, dword [rdx + 0x434]
ucomiss xmm0, xmm10
jp 0x140022a53
jne 0x140022a53
mov cl, 1
jmp 0x140022a55
xor cl, cl
cmp byte [rdx + 0x128], 0
jne 0x140022a62
xor al, al
jmp 0x140022a8d
movss xmm0, dword [rdx + 0x38]
movaps xmm1, xmm0
mulss xmm1, dword [0x140061374]
comiss xmm10, xmm1
jbe 0x140022a7b
movaps xmm1, xmm0
movss xmm0, dword [rdx + 0x484]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test r8b, r8b
je 0x140022ad8
test al, al
je 0x140022af1
lea rcx, [rdx + 0x31d0]
mov qword [rbp - 0x60], r13
lea rdx, [rsp + 0x70]
mov qword [rbp - 0x78], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x70], 0xffffffff
mov dword [rbp - 0x6c], 0x3f000000
mov byte [rbp - 0x68], 0
mov dword [rsp + 0x70], 2
mov qword [rbp - 0x58], rdi
call fcn.140029210
jmp 0x140022af1
test cl, cl
jne 0x140022ae0
test al, al
je 0x140022af1
cmp qword [rdx + 0x1d38], r9
je 0x140022af1
mov rcx, r9
call fcn.140006810
mov edx, dword [rsi + 0x1c]
test edx, edx
movaps xmm10, xmmword [rsp + 0x170]
cmove edx, dword [rbp - 0x38]
mov r14, qword [rsp + 0x1c0]
test edx, edx
je 0x140022b38
mov rcx, rsi
call fcn.14004dde0
mov rbx, rax
test rax, rax
je 0x140022b38
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140022b38
call fcn.140012300
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.140016690
call fcn.14004cd20
mov rax, qword [0x140069ac0]
mov rsi, qword [rsp + 0x210]
mov rbx, qword [rax + 0x1d18]
cmp dword [rbx + 0x108], 1
jg 0x140022b76
mov r8d, 0x1e13
lea rdx, str.C:Users_fifofDownloadsBottle_clicker_v1.0_src__1_ImGui_Loader_Base_masterimguiimgui.cpp
lea rcx, str.window__IDStack.Size___1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rbx + 0x108], 0
jg 0x140022b99
mov r8d, 0x6dd
lea rdx, str.C:Users_fifofDownloadsBottle_clicker_v1.0_src__1_ImGui_Loader_Base_masterimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
dec dword [rbx + 0x108]
mov eax, dword [rdi + 8]
shr eax, 0xa
test al, 1
jne 0x140022c27
movzx eax, byte [rsp + 0x31]
mov byte [r12 + 0xd4], al
mov dword [r12 + 0x18c], r13d
jmp 0x140022c27
cmp dword [rdi + 0x28], ebx
jle 0x140022bcc
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax]
and cl, 0xfd
mov qword [rdi + 0x88], rbx
movzx eax, r13b
add al, al
or cl, al
mov byte [rdi + 0xbc], cl
test r13b, r13b
je 0x140022bf6
mov eax, dword [r15 + 0x1c90]
mov dword [rdi + 0xa8], eax
test rbx, rbx
je 0x140022c27
test r13b, r13b
jne 0x140022c0a
cmp qword [r8 + 0x88], 0
jne 0x140022c11
mov qword [r8 + 0x88], rbx
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x140022c27
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 8]
mov dword [rdx + 0x20], ecx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140051740
add rsp, 0x1c8
pop r15
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret