Function at 0x10057870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push esi
push edi
mov edi, dword [0x101d9974]
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], ebx
test edi, edi
jne 0x100578b2
push 0x10f3
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call ebx
mov edi, dword [0x101d9974]
add esp, 0xc
mov dword [esp + 0x20], edi
mov esi, dword [edi + 0x5a40]
sub esi, 1
mov dword [esp + 0x24], esi
js 0x100579c2
lea ecx, [esi + esi*4]
shl ecx, 2
mov dword [esp + 0x1c], ecx
nop
cmp esi, dword [edi + 0x5a40]
jl 0x100578f8
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], esi
mov eax, dword [edi + 0x5a48]
cmp dword [ecx + eax + 4], 7
jne 0x100579ae
cmp esi, dword [edi + 0x5a40]
jl 0x10057929
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [edi + 0x5a48]
add ecx, edx
mov dword [esp + 0x30], ecx
cmp ecx, edx
jb 0x10057949
mov eax, dword [edi + 0x5a40]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
cmp ecx, eax
jb 0x10057961
push 0x71c
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push 0x10110260
call ebx
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov esi, dword [edi + 0x5a48]
mov eax, 0x66666667
sub ecx, esi
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*4]
mov eax, dword [edi + 0x5a40]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov esi, dword [esp + 0x30]
add esp, 0xc
dec dword [edi + 0x5a40]
mov ecx, dword [esp + 0x1c]
dec esi
sub ecx, 0x14
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ecx
test esi, esi
jns 0x100578d0
xor edx, edx
mov ecx, edi
call fcn.10056350
call fcn.10063de0
mov esi, dword [0x101d9974]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x1c], eax
cmp byte [esi + 0x5a09], 0
jne 0x10057a5b
cmp dword [esi + 0x5a28], 0
je 0x10057a05
push 0x315f
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push str.g.SettingsWindows.empty__
call ebx
add esp, 0xc
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10057a54
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
call fcn.100545a0
mov ecx, eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10057a54
mov edx, dword [esp + 0x28]
test edx, edx
je 0x10057a3d
call fcn.1006a080
mov ecx, dword [esp + 0x30]
mov eax, dword [0x101d9974]
test eax, eax
je 0x10057a4c
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov byte [esi + 0x5a09], 1
movss xmm0, dword [esi + 0x5a0c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10057af7
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5a0c], xmm0
jb 0x10057af7
mov eax, dword [esi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
je 0x10057ae6
mov eax, dword [0x101d9974]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [eax + 0x5a0c], 0
call fcn.1006a3e0
mov ecx, dword [esp + 0x30]
mov edx, 0x1010ff74
mov dword [esp + 0x2c], eax
call fcn.10054410
mov dword [esp + 0x30], eax
test eax, eax
je 0x10057aed
push eax
push dword [esp + 0x2c]
push 1
push dword [esp + 0x38]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esp + 0x40]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x10057aed
mov byte [esi + 0x98], 1
mov dword [esi + 0x5a0c], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3dd8]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3de4], 1
mov word [edi + 0x59ce], ax
mov dword [edi + 0x3e2c], eax
addsd xmm0, qword [edi + 0x3dd0]
movsd qword [edi + 0x3dd0], xmm0
mov ecx, dword [edi + 0x59e0]
test ecx, ecx
jns 0x10057b51
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x59dc]
call fcn.1006bc30
mov dword [edi + 0x59dc], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5be8]
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x10116e2c]
subss xmm0, dword [edi + eax*4 + 0x5af8]
addss xmm0, dword [edi + 0x5bf0]
movss dword [edi + 0x5bf0], xmm0
movss dword [edi + eax*4 + 0x5af8], xmm1
mov eax, dword [edi + 0x5be8]
inc eax
movss xmm1, dword [edi + 0x5bf0]
cdq
idiv ecx
mov eax, dword [edi + 0x5bec]
movss xmm0, dword [0x10116fbc]
inc eax
cmp eax, ecx
mov dword [edi + 0x5be8], edx
movss dword [esp + 0x24], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x10116cc8]
mov dword [edi + 0x5bec], ecx
jbe 0x10057beb
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [edi + 0x9c], xmm0
mov ecx, dword [edi + 0x3790]
test ecx, ecx
jns 0x10057c19
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x378c]
call fcn.1006c280
mov dword [edi + 0x378c], 0
mov cl, byte [edi + 0x62]
call fcn.100634f0
mov esi, dword [0x101d9974]
mov dword [esp + 0x28], esi
cmp dword [esi + 0x47ac], 1
je 0x10057c52
push 0x32c9
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push str.g.Viewports.Size__1
call ebx
add esp, 0xc
cmp dword [esi + 0x47ac], 0
jg 0x10057c6f
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [esi + 0x47b4]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor esi, esi
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 0x10], ecx
mov eax, dword [eax + 0x47ac]
test eax, eax
jle 0x10057d9a
mov edi, dword [esp + 0x28]
nop
test esi, esi
js 0x10057cb8
cmp esi, eax
jl 0x10057ccc
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [edi + 0x47b4]
xorps xmm2, xmm2
mov edx, dword [eax + esi*4]
inc esi
mov eax, dword [edx + 0x8c]
mov ecx, dword [edx + 0x90]
mov dword [edx + 0x7c], eax
mov eax, dword [edx + 0x94]
mov dword [edx + 0x80], ecx
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x84], eax
mov dword [edx + 0x88], ecx
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0
mov dword [edx + 0x8c], 0
mov dword [edx + 0x90], 0
movss xmm1, dword [edx + 0x7c]
movss xmm0, dword [edx + 0x80]
addss xmm1, dword [edx + 4]
addss xmm0, dword [edx + 8]
movss dword [edx + 0x14], xmm1
movss xmm1, dword [edx + 0xc]
movss dword [edx + 0x18], xmm0
subss xmm1, dword [edx + 0x7c]
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x80]
addss xmm1, dword [edx + 0x84]
addss xmm0, dword [edx + 0x88]
maxss xmm1, xmm2
maxss xmm0, xmm2
movss dword [edx + 0x1c], xmm1
movss dword [edx + 0x20], xmm0
mov eax, dword [edi + 0x47ac]
cmp esi, eax
jl 0x10057cb0
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x48]
mov esi, dword [0x101d9974]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x54]
test ecx, ecx
jne 0x10057dcf
mov esi, dword [esi + 0x48]
cmp dword [esi + 0x3c], ecx
jg 0x10057dca
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [esi + 0x44]
mov ecx, dword [eax]
call fcn.10060db0
mov eax, dword [edi + 0x3bc4]
cmp dword [eax + 0x30], 0
jne 0x10057df4
push 0x111c
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push str.g.Font__IsLoaded__
call ebx
add esp, 0xc
movss xmm7, dword [esp + 0x24]
xor esi, esi
movss xmm4, dword [0x10117040]
movaps xmm6, xmm7
mov eax, dword [edi + 0x47ac]
movaps xmm5, xmm4
movss dword [esp + 0x28], xmm7
movss dword [esp + 0x20], xmm6
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x30], xmm5
test eax, eax
jle 0x10057ece
test esi, esi
js 0x10057e38
cmp esi, eax
jl 0x10057e64
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
movss xmm4, dword [esp + 0x38]
add esp, 0xc
movss xmm5, dword [esp + 0x30]
movss xmm6, dword [esp + 0x20]
movss xmm7, dword [esp + 0x28]
mov eax, dword [edi + 0x47b4]
mov eax, dword [eax + esi*4]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
jbe 0x10057e95
movaps xmm7, xmm3
movss dword [esp + 0x28], xmm7
comiss xmm6, xmm2
jbe 0x10057ea3
movaps xmm6, xmm2
movss dword [esp + 0x20], xmm6
comiss xmm0, xmm4
jbe 0x10057eb1
movaps xmm4, xmm0
movss dword [esp + 0x2c], xmm4
comiss xmm1, xmm5
jbe 0x10057ebf
movaps xmm5, xmm1
movss dword [esp + 0x30], xmm5
mov eax, dword [edi + 0x47ac]
inc esi
cmp esi, eax
jl 0x10057e30
movss dword [edi + 0x3be8], xmm7
movss dword [edi + 0x3bec], xmm6
movss dword [edi + 0x3bf0], xmm4
movss dword [edi + 0x3bf4], xmm5
mov eax, dword [edi + 0x386c]
movss xmm1, dword [edi + 0x3870]
mov dword [edi + 0x3be0], eax
movss xmm0, dword [edi + 0x3be4]
ucomiss xmm0, xmm1
movss dword [esp + 0x30], xmm1
lahf
test ah, 0x44
jnp 0x10057ff8
comiss xmm1, dword [0x10116cc8]
ja 0x10057f40
push 0x176
push str.D:csgo_rax_sourcelegacyimguiimgui_draw.cpp
push str.max_error___0.0f
call ebx
movss xmm1, dword [esp + 0x3c]
add esp, 0xc
movss dword [edi + 0x3be4], xmm1
xor esi, esi
mov ebx, 0x200
nop
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10057fc6
movaps xmm1, xmm0
minss xmm1, dword [edi + 0x3be4]
divss xmm1, xmm0
movss xmm0, dword [0x10116e2c]
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_acosf
movss xmm1, dword [0x10116e80]
sub esp, 8
divss xmm1, xmm0
movss dword [esp + 0x38], xmm1
fld dword [esp + 0x38]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp dword [esp + 0x38]
cvttss2si eax, dword [esp + 0x38]
add esp, 8
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x10057fbc
mov eax, 4
jmp 0x10057fcb
cmp eax, 0x200
cmovg eax, ebx
jmp 0x10057fcb
mov eax, 0x30
mov byte [edi + esi + 0x3d8c], al
inc esi
cmp esi, 0x40
jl 0x10057f50
movss xmm0, dword [edi + 0x3be4]
mulss xmm0, dword [0x10116f74]
mov ebx, dword [esp + 0x3c]
movss dword [edi + 0x3d88], xmm0
xor edx, edx
mov dword [edi + 0x3bf8], 0
cmp byte [edi + 0x3868], dl
je 0x1005801b
mov dword [edi + 0x3bf8], 1
mov edx, 1
cmp byte [edi + 0x3869], 0
mov ecx, edx
je 0x1005803d
mov eax, dword [edi + 0x3bc4]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1005803d
or ecx, 2
mov dword [edi + 0x3bf8], ecx
cmp byte [edi + 0x386a], 0
je 0x1005804f
or ecx, 4
mov dword [edi + 0x3bf8], ecx
test byte [edi + 0xc], 8
je 0x1005805e
or ecx, 8
mov dword [edi + 0x3bf8], ecx
mov eax, dword [edi + 0x47ac]
xor esi, esi
test eax, eax
jle 0x100580b0
nop word [eax + eax]
test esi, esi
js 0x10058078
cmp esi, eax
jl 0x1005808c
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [edi + 0x47b4]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x38
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x47ac]
inc esi
add esp, 0xc
cmp esi, eax
jl 0x10058070
cmp byte [edi + 0x493c], 0
mov ecx, dword [0x101d9974]
je 0x100580ea
mov eax, dword [edi + 0x4954]
cmp eax, dword [edi + 0x3e84]
jne 0x100580ea
cmp dword [ecx + 0x3e84], eax
jne 0x100580db
mov dword [ecx + 0x3e88], eax
cmp dword [ecx + 0x3eac], eax
jne 0x100580ea
mov byte [ecx + 0x3eb0], 1
cmp dword [edi + 0x3e74], 0
jne 0x100580ff
mov dword [edi + 0x3e7c], 0
jmp 0x10058111
mov eax, dword [edi + 0x3e70]
test eax, eax
je 0x1005811b
cmp dword [edi + 0x3e84], eax
jne 0x1005811b
mov dword [edi + 0x3e80], 0
mov eax, dword [edi + 0x3e70]
test eax, eax
je 0x10058155
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e7c]
movss dword [edi + 0x3e7c], xmm0
cmp dword [edi + 0x3e84], eax
je 0x10058155
addss xmm1, dword [edi + 0x3e80]
movss dword [edi + 0x3e80], xmm1
mov dword [edi + 0x3e74], eax
mov eax, dword [edi + 0x3e84]
mov dword [edi + 0x3e70], 0
mov word [edi + 0x3e78], 0
test eax, eax
je 0x100581a9
cmp dword [edi + 0x3e88], eax
je 0x100581a9
cmp dword [edi + 0x3eac], eax
jne 0x100581a9
test byte [edi + 0x5aa0], 1
je 0x1005819e
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1006aea0
add esp, 4
call fcn.10056d10
mov ecx, dword [0x101d9974]
mov edx, dword [edi + 0x3e84]
test edx, edx
je 0x100581c8
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3e8c]
movss dword [edi + 0x3e8c], xmm0
mov eax, dword [edi + 0x3ea0]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3ebc]
mov dword [edi + 0x3eb4], eax
mov al, byte [edi + 0x3e94]
mov byte [edi + 0x3eb1], al
mov eax, dword [edi + 0x5954]
movss dword [edi + 0x3ebc], xmm0
mov dword [edi + 0x3eac], edx
mov dword [edi + 0x3e88], 0
mov byte [edi + 0x3e95], 0
mov byte [edi + 0x3eb0], 0
mov byte [edi + 0x3e90], 0
test eax, eax
je 0x10058232
cmp edx, eax
je 0x10058232
mov dword [edi + 0x5954], 0
test edx, edx
jne 0x10058250
mov dword [edi + 0x4688], edx
mov dword [edi + 0x4680], edx
mov byte [edi + 0x4684], dl
mov dword [edi + 0x4688], edx
jmp 0x10058293
mov eax, dword [edi + 0x4688]
test eax, eax
je 0x10058293
test al, 2
je 0x10058273
mov dword [ecx + 0x3f6c], edx
mov dword [ecx + 0x3f68], edx
mov word [ecx + 0x3f70], 0
test dword [edi + 0x4688], 0xfffffffd
je 0x10058293
push 0x116f
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push 0x10104f1c
call ebx
add esp, 0xc
mov eax, dword [edi + 0x4a64]
movss xmm0, dword [edi + 0x4a6c]
mov dword [edi + 0x4a68], eax
test eax, eax
je 0x100582c4
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a64], 0
movss dword [edi + 0x4a6c], xmm0
jmp 0x10058300
comiss xmm0, dword [0x10116cc8]
jbe 0x1005830a
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm1, xmm1
addss xmm0, dword [edi + 0x4a70]
maxss xmm1, dword [0x10116d98]
movss dword [edi + 0x4a70], xmm0
comiss xmm0, xmm1
jb 0x1005830a
mov dword [edi + 0x4a6c], 0
mov dword [edi + 0x4a70], 0
mov eax, dword [edi + 0x49a0]
mov dword [edi + 0x49a4], eax
mov dword [edi + 0x49a0], 0
mov dword [edi + 0x499c], 0x7f7fffff
mov word [edi + 0x493d], 0
mov dword [edi + 0x49ac], 0
call fcn.10061fd0
call fcn.10067040
call fcn.10062680
call fcn.10057600
mov esi, dword [0x101d9974]
mov ecx, dword [esi + 0x3e44]
test ecx, ecx
je 0x10058463
mov eax, dword [esi + 0x3e84]
mov dword [esi + 0x3e88], eax
cmp dword [esi + 0x3eac], eax
jne 0x10058380
mov byte [esi + 0x3eb0], 1
cmp dword [ecx + 0x304], 0
jne 0x1005839d
push 0x104f
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push str.g.MovingWindow__g.MovingWindow__RootWindow
call ebx
add esp, 0xc
cmp byte [esi + 0xdc4], 0
mov eax, dword [esi + 0x3e44]
mov ecx, dword [eax + 0x304]
mov dword [esp + 0x30], ecx
je 0x10058457
cmp dword [0x101d9974], 0
lea eax, [esi + 0xdbc]
jne 0x100583e7
push 0x1ff5
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push str.GImGui___0
call ebx
mov ecx, dword [esp + 0x3c]
lea eax, [esi + 0xdbc]
add esp, 0xc
test eax, eax
jne 0x100583f5
mov eax, dword [0x101d9974]
add eax, 0xdbc
movss xmm0, dword [eax]
movss xmm1, dword [0x1011703c]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x10058457
comiss xmm2, xmm1
jb 0x10058457
movss xmm0, dword [esi + 0xdbc]
lea edx, [esp + 0x30]
subss xmm0, dword [esi + 0x3e98]
push 1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0xdc0]
subss xmm0, dword [esi + 0x3e9c]
movss dword [esp + 0x38], xmm0
call fcn.10060e90
mov ecx, dword [esi + 0x3e44]
add esp, 4
call fcn.10060a00
jmp 0x1005849b
mov dword [esi + 0x3e44], 0
jmp 0x10058496
mov ecx, dword [esi + 0x3ea0]
test ecx, ecx
je 0x1005849b
mov eax, dword [esi + 0x3e84]
cmp dword [ecx + 0x70], eax
jne 0x1005849b
mov dword [esi + 0x3e88], eax
cmp dword [esi + 0x3eac], eax
jne 0x1005848d
mov byte [esi + 0x3eb0], 1
cmp byte [esi + 0xdc4], 0
jne 0x1005849b
call fcn.10056d10
mov eax, dword [0x101d9974]
mov edx, dword [eax + 0x4790]
sub edx, 1
js 0x100584d7
mov eax, dword [eax + 0x4798]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop word [eax + eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x100584cf
test dword [ecx + 0xc], 0x8000000
jne 0x100584f1
sub eax, 0x28
sub edx, 1
jns 0x100584c0
cmp dword [edi + 0x490c], 0
je 0x10058510
movss xmm0, dword [edi + 0x491c]
comiss xmm0, dword [0x10116cc8]
jbe 0x10058510
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x10116e94]
addss xmm1, dword [edi + 0x4934]
minss xmm1, dword [0x10116e2c]
jmp 0x10058531
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x10116ea4]
movss xmm1, dword [edi + 0x4934]
subss xmm1, xmm0
maxss xmm1, dword [0x10116cc8]
movss dword [edi + 0x4934], xmm1
movups xmm0, xmmword [edi + 0x59e8]
mov dword [edi + 0x4938], 0
mov dword [edi + 0x5bfc], 0xffffffff
mov dword [edi + 0x5bf8], 0xffffffff
mov dword [edi + 0x5bf4], 0xffffffff
movups xmmword [edi + 0x59f8], xmm0
mov byte [edi + 0x59e8], 0
call fcn.10062c90
mov eax, dword [edi + 0x3df0]
cmp dword [edi + 0x3dfc], eax
jle 0x100585a3
push 0x11b6
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push str.g.WindowsFocusOrder.Size___g.Windows.Size
call ebx
mov eax, dword [edi + 0x3df0]
add esp, 0xc
cmp byte [edi + 0x3de7], 0
jne 0x100585cf
movss xmm0, dword [edi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x100585cf
movsd xmm1, qword [edi + 0x3dd0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
xor esi, esi
mov dword [esp + 0x30], esi
test eax, eax
je 0x1005879a
nop dword [eax]
test esi, esi
js 0x100585e8
cmp esi, eax
jl 0x100585fc
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [edi + 0x3df8]
mov esi, dword [eax + esi*4]
mov ax, word [esi + 0xb6]
mov cl, byte [esi + 0xaa]
mov word [esi + 0xb8], ax
xor eax, eax
mov byte [esi + 0xab], cl
mov byte [esi + 0xaa], 0
mov byte [esi + 0xac], 0
mov word [esi + 0xb6], ax
test cl, cl
jne 0x10058783
cmp byte [esi + 0x34c], al
jne 0x10058783
movss xmm0, dword [esp + 0x24]
comiss xmm0, dword [esi + 0x240]
jbe 0x10058783
mov ecx, dword [esi + 0x268]
mov byte [esi + 0x34c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x344], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x348], eax
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x100586bb
mov eax, dword [0x101d9974]
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
test eax, eax
je 0x100586a9
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0x268]
call fcn.10073fc0
mov ecx, dword [esi + 0x18c]
test ecx, ecx
je 0x10058705
mov eax, dword [0x101d9974]
mov dword [esi + 0x188], 0
mov dword [esi + 0x184], 0
test eax, eax
je 0x100586f3
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x18c], 0
mov ecx, dword [esi + 0x1b4]
test ecx, ecx
je 0x10058744
mov eax, dword [0x101d9974]
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1ac], 0
test eax, eax
je 0x10058732
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1b4], 0
mov ecx, dword [esi + 0x1c0]
test ecx, ecx
je 0x10058783
mov eax, dword [0x101d9974]
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1b8], 0
test eax, eax
je 0x10058771
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1c0], 0
mov esi, dword [esp + 0x30]
mov eax, dword [edi + 0x3df0]
inc esi
mov dword [esp + 0x30], esi
cmp esi, eax
jne 0x100585e0
mov eax, dword [edi + 0x4a10]
xor esi, esi
test eax, eax
jle 0x10058862
xor ecx, ecx
mov dword [esp + 0x20], ecx
test esi, esi
js 0x100587b8
cmp esi, eax
jl 0x100587d0
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [edi + 0x4a18]
movss xmm0, dword [eax + esi*4]
comiss xmm0, dword [0x10116cc8]
jb 0x10058849
test esi, esi
js 0x100587f0
cmp esi, dword [edi + 0x4a10]
jl 0x10058804
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [edi + 0x4a18]
movss xmm0, dword [esp + 0x24]
comiss xmm0, dword [eax + esi*4]
jbe 0x10058845
test esi, esi
js 0x10058822
cmp esi, dword [edi + 0x49f0]
jl 0x10058836
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov ecx, dword [edi + 0x49f8]
add ecx, dword [esp + 0x20]
call fcn.1007eef0
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x4a10]
inc esi
add ecx, 0x1e8
mov dword [esp + 0x20], ecx
cmp esi, eax
jl 0x100587b0
mov eax, dword [edi + 0x49e4]
xor ecx, ecx
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x10058947
xor esi, esi
mov dword [esp + 0x28], esi
nop dword [eax]
test ecx, ecx
js 0x10058888
cmp ecx, eax
jl 0x100588a0
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [edi + 0x49ec]
movss xmm0, dword [esi + eax + 4]
comiss xmm0, dword [0x10116cc8]
jb 0x1005892d
test ecx, ecx
js 0x100588c1
cmp ecx, dword [edi + 0x49e4]
jl 0x100588d9
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [edi + 0x49ec]
movss xmm0, dword [esp + 0x24]
comiss xmm0, dword [esi + eax + 4]
jbe 0x1005892d
test ecx, ecx
js 0x100588f8
cmp ecx, dword [edi + 0x49e4]
jl 0x1005890c
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov esi, dword [edi + 0x49ec]
add esi, dword [esp + 0x28]
lea ecx, [esi + 0x10]
call fcn.100768a0
mov ecx, dword [esp + 0x20]
mov dword [esi + 4], 0xbf800000
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 0x49e4]
inc ecx
add esi, 0x68
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], esi
cmp ecx, eax
jl 0x10058880
cmp byte [edi + 0x3de7], 0
je 0x100589d9
mov eax, dword [0x101d9974]
mov esi, eax
mov ecx, dword [esi + 0x4780]
test ecx, ecx
je 0x1005899a
mov dword [esi + 0x477c], 0
mov dword [esi + 0x4778], 0
test esi, esi
je 0x10058983
dec dword [esi + 0xb0]
push ecx
call dword [esp + 0x20]
mov eax, dword [0x101d9974]
add esp, 4
mov dword [esi + 0x4780], 0
mov ecx, dword [esi + 0x478c]
test ecx, ecx
je 0x100589d4
mov dword [esi + 0x4788], 0
mov dword [esi + 0x4784], 0
test eax, eax
je 0x100589c2
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x478c], 0
call fcn.1007f090
mov eax, dword [edi + 0x47b8]
mov byte [edi + 0x3de7], 0
test eax, eax
je 0x100589fa
cmp byte [eax + 0xab], 0
jne 0x100589fa
xor ecx, ecx
call fcn.10060cc0
mov ecx, dword [edi + 0x3e18]
test ecx, ecx
jns 0x10058a20
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x3e14]
call fcn.1006c210
mov dword [edi + 0x3e14], 0
mov ecx, dword [edi + 0x47a0]
test ecx, ecx
jns 0x10058a50
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x479c]
call fcn.1006c190
lea esi, [edi + 0x4778]
mov dword [edi + 0x479c], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10058a7f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1006bc30
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x10058a94
push 8
mov ecx, esi
call fcn.1006bc30
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push ecx
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x4784]
inc dword [esi]
call fcn.1006ba00
mov esi, dword [0x101d9974]
cmp byte [esi + 0x5ac2], 0
mov dword [esi + 0x5ac4], 0
je 0x10058c35
mov eax, dword [esi + 0x3e74]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x34], eax
mov dword [esi + 0x4938], 7
call fcn.10061960
add esp, 4
test al, al
je 0x10058afb
mov byte [esi + 0x5ac2], 0
mov eax, dword [esi + 0xdd8]
mov dword [esp + 0x1c], eax
cmp eax, 0x3000
je 0x10058b3c
movzx ecx, byte [esi + 0x5ac3]
xor edx, edx
push 0
call fcn.10061c20
add esp, 4
test al, al
je 0x10058b38
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10058b38
mov dword [esi + 0x5ac4], eax
mov byte [esi + 0x5ac2], 0
mov eax, dword [esp + 0x1c]
xor ebx, ebx
nop
cmp eax, 0x3000
jne 0x10058b63
push 0
xor edx, edx
mov ecx, ebx
call fcn.10061c20
add esp, 4
test al, al
mov eax, dword [esp + 0x1c]
je 0x10058b63
mov byte [esi + 0x5ac3], bl
inc ebx
cmp ebx, 3
jl 0x10058b40
mov eax, dword [0x101d9974]
xor ecx, ecx
or dword [eax + 0x46e8], 0x40
mov dword [eax + 0x473c], 0x3f333333
call fcn.10064db0
mov ebx, dword [esp + 0x30]
push ebx
push str.HoveredId:_0x_08X
call fcn.1007ffc0
push str.Press_ESC_to_abort_picking.
call fcn.1007ffc0
add esp, 0xc
mov dword [esp + 0x30], str.Left
cmp dword [esp + 0x1c], 0x3000
mov dword [esp + 0x34], str.Right
mov dword [esp + 0x38], str.Middle
jne 0x10058bd3
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1007ffc0
add esp, 4
jmp 0x10058c04
movzx eax, byte [esi + 0x5ac3]
xor ecx, ecx
test ebx, ebx
push dword [esp + eax*4 + 0x30]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x101d9974]
add eax, 0x3874
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.10080090
add esp, 0xc
mov eax, dword [0x101d9974]
mov ebx, dword [esp + 0x3c]
mov eax, dword [eax + 0x3e38]
test dword [eax + 0xc], 0x2000000
jne 0x10058c30
push 0x2740
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call ebx
add esp, 0xc
call fcn.10060360
call fcn.1006b140
mov al, byte [edi + 0x5ac1]
test al, al
je 0x10058c58
sub al, 1
mov byte [edi + 0x5ac1], al
jne 0x10058c58
mov dword [edi + 0x4694], 0
mov al, byte [edi + 0x5ac0]
test al, al
je 0x10058c80
sub al, 1
mov byte [edi + 0x5ac0], al
jne 0x10058c80
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.1006aea0
add esp, 4
and dword [edi + 0x5aa0], 0xffffffef
mov eax, dword [0x101d9974]
xor edx, edx
movss xmm0, dword [0x10116f70]
mov ecx, str.DebugDefault
mov byte [edi + 0x3de5], 1
push 0
or dword [eax + 0x46e8], 2
movss dword [eax + 0x4708], xmm0
movss dword [eax + 0x470c], xmm0
mov dword [eax + 0x46f0], 4
call fcn.1005d560
mov eax, dword [edi + 0x3e38]
add esp, 4
cmp byte [eax + 0xb2], 1
je 0x10058ce9
push 0x11ee
push str.D:csgo_rax_sourcelegacyimguiimgui.cpp
push str.g.CurrentWindow__IsFallbackWindow__true
call ebx
add esp, 0xc
mov edx, 1
mov ecx, edi
call fcn.10056350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret