Function at 0x1004e790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
mov esi, dword [0x101a7e2c]
mov dword [esp + 0xc], esi
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test esi, esi
jne 0x1004e7cd
push 0xf2d
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call edi
mov esi, dword [0x101a7e2c]
add esp, 0xc
mov dword [esp + 0x10], esi
mov eax, dword [esi + 0x2ef0]
sub eax, 1
mov dword [esp + 0xc], eax
js 0x1004e8f8
lea ecx, [eax + eax*4]
shl ecx, 2
mov dword [esp + 8], ecx
nop word [eax + eax]
cmp eax, dword [esi + 0x2ef0]
jl 0x1004e814
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call edi
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 8]
mov edi, dword [esi + 0x2ef8]
cmp dword [edi + ecx + 4], 7
jne 0x1004e8de
cmp eax, dword [esi + 0x2ef0]
jl 0x1004e84f
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edi, dword [esi + 0x2ef8]
add esp, 0xc
mov ecx, dword [esp + 8]
add ecx, edi
mov dword [esp + 0x20], ecx
cmp ecx, edi
jb 0x1004e86d
mov eax, dword [esi + 0x2ef0]
mov dword [esp + 0x14], eax
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
cmp ecx, eax
jb 0x1004e899
push 0x699
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push 0x10197428
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esi + 0x2ef0]
add esp, 0xc
mov edi, dword [esi + 0x2ef8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [edi + eax*4]
mov eax, dword [esp + 0x14]
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 eax, dword [esp + 0x18]
add esp, 0xc
dec dword [esi + 0x2ef0]
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
dec eax
sub ecx, 0x14
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
test eax, eax
jns 0x1004e7f0
xor edx, edx
mov ecx, esi
call fcn.1004d610
call fcn.100571b0
mov eax, dword [0x101a7e2c]
mov dword [esp + 8], eax
cmp byte [eax + 0x2eb9], 0
jne 0x1004e991
cmp dword [eax + 0x2ed8], 0
je 0x1004e939
push 0x2aa1
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.cpp
push 0x101972c4
call edi
mov eax, dword [esp + 0x14]
add esp, 0xc
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1004e98a
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
call fcn.1004adc0
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x1004e986
mov edx, dword [esp + 0x14]
mov ecx, eax
call fcn.1005d860
mov ecx, dword [0x101a7e2c]
test ecx, ecx
je 0x1004e979
dec dword [ecx + 0x370]
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 8]
mov byte [eax + 0x2eb9], 1
movss xmm0, dword [eax + 0x2ebc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1004ea31
subss xmm0, dword [eax + 0x18]
comiss xmm1, xmm0
movss dword [eax + 0x2ebc], xmm0
jb 0x1004ea31
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x1004ea20
mov eax, dword [0x101a7e2c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [eax + 0x2ebc], 0
call fcn.1005dcb0
mov ecx, dword [esp + 0x20]
mov edx, 0x10197304
mov dword [esp + 0x1c], eax
call fcn.1004ac60
mov dword [esp + 0x20], eax
test eax, eax
je 0x1004ea1a
push eax
push dword [esp + 0x18]
push 1
push dword [esp + 0x28]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esp + 0x30]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
mov eax, dword [esp + 8]
jmp 0x1004ea27
mov byte [eax + 0x358], 1
mov dword [eax + 0x2ebc], 0
movss xmm1, dword [esi + 0x18]
lea eax, [esi + 0x2e9c]
inc dword [esi + 0x1b58]
cvtps2pd xmm0, xmm1
mov byte [esi + 0x1b64], 1
mov dword [esi + 0x2e88], 0
mov dword [esi + 0x1bb0], 0
addsd xmm0, qword [esi + 0x1b50]
movsd qword [esi + 0x1b50], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004ea9e
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, [esi + 0x2e9c]
call fcn.1005ea90
movss xmm1, dword [esi + 0x18]
lea eax, [esi + 0x2e9c]
mov dword [eax], 0
movaps xmm0, xmm1
mov eax, dword [esi + 0x312c]
mov ecx, 0x78
subss xmm0, dword [esi + eax*4 + 0x2f4c]
addss xmm0, dword [esi + 0x3130]
movss dword [esi + 0x3130], xmm0
movss dword [esi + eax*4 + 0x2f4c], xmm1
mov eax, dword [esi + 0x312c]
inc eax
movss xmm1, dword [esi + 0x3130]
cdq
idiv ecx
comiss xmm1, dword [0x1019b3a0]
mov dword [esi + 0x312c], edx
movss xmm0, dword [0x1019b72c]
movss dword [esp + 0x14], xmm0
jbe 0x1004eb17
divss xmm1, dword [0x1019b658]
movss xmm0, dword [0x1019b4b4]
divss xmm0, xmm1
mov ecx, dword [0x101a7e2c]
movss dword [esi + 0x35c], xmm0
mov dword [esp + 8], ecx
cmp dword [ecx + 0x1d14], 1
je 0x1004eb4a
push 0x2bd0
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.cpp
push str.g.Viewports.Size__1
call edi
mov ecx, dword [esp + 0x14]
add esp, 0xc
cmp dword [ecx + 0x1d14], 0
jg 0x1004eb6b
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call edi
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov eax, dword [ecx + 0x1d1c]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, dword [ecx + 0x1d14]
test ecx, ecx
jle 0x1004eca4
mov esi, dword [esp + 8]
nop
test eax, eax
js 0x1004ebb8
cmp eax, ecx
jl 0x1004ebcc
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call edi
add esp, 0xc
mov eax, dword [esi + 0x1d1c]
xorps xmm2, xmm2
mov edx, dword [esp + 0xc]
mov edx, dword [eax + edx*4]
mov eax, dword [edx + 0x88]
mov ecx, dword [edx + 0x8c]
movss xmm1, dword [edx + 4]
mov dword [edx + 0x78], eax
mov eax, dword [edx + 0x90]
mov dword [edx + 0x7c], ecx
mov ecx, dword [edx + 0x94]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
mov dword [edx + 0x90], 0
mov eax, dword [edx + 0x90]
mov dword [edx + 0x94], 0
mov ecx, dword [edx + 0x94]
mov dword [edx + 0x88], eax
mov dword [edx + 0x8c], ecx
movss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 8]
addss xmm1, dword [edx + 0x78]
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
xorps xmm1, xmm1
subss xmm0, dword [edx + 0x78]
addss xmm0, dword [edx + 0x80]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 0x84]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
mov ecx, dword [esi + 0x1d14]
cmp eax, ecx
jl 0x1004ebb0
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x98]
mov byte [eax + 0x10], 1
mov eax, dword [0x101a7e2c]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
jne 0x1004eceb
mov eax, dword [eax + 0x98]
add eax, 0x34
mov dword [esp + 0x20], eax
cmp dword [eax], ecx
jg 0x1004ece6
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call edi
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call fcn.100567e0
mov eax, dword [esi + 0x194c]
cmp dword [eax + 0x30], 0
jne 0x1004ed10
push 0xf50
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.cpp
push str.g.Font__IsLoaded__
call edi
add esp, 0xc
movss xmm7, dword [0x1019b72c]
xor ecx, ecx
movss xmm4, dword [0x1019b790]
movaps xmm6, xmm7
mov eax, dword [esi + 0x1d14]
movaps xmm5, xmm4
movss dword [esp + 0xc], xmm7
movss dword [esp + 8], xmm6
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x1c], xmm5
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x1004edfc
test ecx, ecx
js 0x1004ed5c
mov edx, eax
cmp ecx, eax
jl 0x1004ed92
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call edi
mov edx, dword [esi + 0x1d14]
add esp, 0xc
movss xmm4, dword [esp + 0x18]
movss xmm5, dword [esp + 0x1c]
movss xmm6, dword [esp + 8]
movss xmm7, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x1d1c]
mov eax, dword [eax + ecx*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 0x1004edc3
movaps xmm7, xmm3
movss dword [esp + 0xc], xmm7
comiss xmm6, xmm2
jbe 0x1004edd1
movaps xmm6, xmm2
movss dword [esp + 8], xmm6
comiss xmm0, xmm4
jbe 0x1004eddf
movaps xmm4, xmm0
movss dword [esp + 0x18], xmm4
comiss xmm1, xmm5
jbe 0x1004eded
movaps xmm5, xmm1
movss dword [esp + 0x1c], xmm5
inc ecx
mov eax, edx
mov dword [esp + 0x20], ecx
cmp ecx, edx
jl 0x1004ed52
mov eax, dword [esi + 0x15d4]
movss xmm1, dword [esi + 0x15d8]
movss dword [esp + 0x20], xmm7
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x2c], xmm5
movups xmm0, xmmword [esp + 0x20]
mov dword [esi + 0x1968], eax
movss dword [esp + 0x20], xmm1
movups xmmword [esi + 0x1970], xmm0
movss xmm0, dword [esi + 0x196c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004ef60
comiss xmm1, dword [0x1019b3a0]
ja 0x1004ee72
push 0x17c
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui_draw.cpp
push str.max_error___0.0f
call edi
movss xmm1, dword [esp + 0x2c]
add esp, 0xc
xor eax, eax
movss dword [esi + 0x196c], xmm1
mov dword [esp + 0xc], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test eax, eax
je 0x1004ef12
movss xmm1, dword [esi + 0x196c]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1019b4b4]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x1019b590]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1004ef03
mov eax, 4
jmp 0x1004ef14
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x1004ef14
xor eax, eax
mov ecx, dword [esp + 0xc]
mov byte [esi + ecx + 0x1b08], al
mov eax, ecx
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0x40
jl 0x1004ee80
movsd xmm0, qword [0x1019b4f0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1019b4b4]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [esi + 0x196c]
divss xmm0, xmm1
movss dword [esi + 0x1b04], xmm0
xor edx, edx
mov dword [esi + 0x1980], 0
cmp byte [esi + 0x15d0], dl
je 0x1004ef83
mov dword [esi + 0x1980], 1
mov edx, 1
cmp byte [esi + 0x15d1], 0
mov ecx, edx
je 0x1004efa5
mov eax, dword [esi + 0x194c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1004efa5
or ecx, 2
mov dword [esi + 0x1980], ecx
cmp byte [esi + 0x15d2], 0
je 0x1004efb7
or ecx, 4
mov dword [esi + 0x1980], ecx
test byte [esi + 0xc], 8
je 0x1004efc6
or ecx, 8
mov dword [esi + 0x1980], ecx
mov ecx, dword [esi + 0x1d14]
xor eax, eax
mov dword [esp + 0xc], eax
test ecx, ecx
jle 0x1004f022
test eax, eax
js 0x1004efde
cmp eax, ecx
jl 0x1004eff2
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call edi
add esp, 0xc
mov eax, dword [esi + 0x1d1c]
mov ecx, dword [esp + 0xc]
push 0x2c
push 0
mov eax, dword [eax + ecx*4]
add eax, 0x34
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esi + 0x1d14]
inc eax
mov dword [esp + 0xc], eax
cmp eax, ecx
jl 0x1004efd6
cmp byte [esi + 0x1e64], 0
mov edi, dword [0x101a7e2c]
je 0x1004f05c
mov eax, dword [esi + 0x1e7c]
cmp eax, dword [esi + 0x1bf0]
jne 0x1004f05c
cmp dword [edi + 0x1bf0], eax
jne 0x1004f04d
mov dword [edi + 0x1bf4], eax
cmp dword [edi + 0x1c2c], eax
jne 0x1004f05c
mov byte [edi + 0x1c30], 1
cmp dword [esi + 0x1be0], 0
mov eax, dword [esi + 0x1bdc]
jne 0x1004f077
mov dword [esi + 0x1be8], 0
jmp 0x1004f085
mov edx, eax
test eax, eax
je 0x1004f091
cmp dword [esi + 0x1bf0], eax
jne 0x1004f091
mov dword [esi + 0x1bec], 0
mov edx, eax
movss xmm2, dword [esi + 0x18]
mov ecx, dword [esi + 0x1bf0]
test edx, edx
je 0x1004f0ca
movaps xmm0, xmm2
addss xmm0, dword [esi + 0x1be8]
movss dword [esi + 0x1be8], xmm0
cmp ecx, edx
je 0x1004f0ca
movaps xmm0, xmm2
addss xmm0, dword [esi + 0x1bec]
movss dword [esi + 0x1bec], xmm0
movaps xmm1, xmm2
mov al, byte [esi + 0x1be5]
mov dword [esi + 0x1be0], edx
mov edx, ecx
mov byte [esi + 0x1be6], al
mov dword [esi + 0x1bdc], 0
mov word [esi + 0x1be4], 0
mov byte [esi + 0x1be7], 0
cmp dword [esi + 0x1bf4], ecx
je 0x1004f11f
cmp dword [esi + 0x1c2c], ecx
jne 0x1004f11f
test ecx, ecx
je 0x1004f11f
call fcn.1004d0d0
mov edx, dword [esi + 0x1bf0]
movss xmm1, dword [esi + 0x18]
test edx, edx
je 0x1004f136
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1bf8]
movss dword [esi + 0x1bf8], xmm0
mov eax, dword [esi + 0x1c20]
addss xmm1, dword [esi + 0x1c3c]
mov dword [esi + 0x1c34], eax
mov al, byte [esi + 0x1c00]
mov byte [esi + 0x1c31], al
mov eax, dword [esi + 0x2e48]
movss dword [esi + 0x1c3c], xmm1
mov dword [esi + 0x1c2c], edx
mov dword [esi + 0x1bf4], 0
mov byte [esi + 0x1c01], 0
mov byte [esi + 0x1c30], 0
mov byte [esi + 0x1bfc], 0
test eax, eax
je 0x1004f19b
cmp edx, eax
je 0x1004f19b
mov dword [esi + 0x2e48], 0
test edx, edx
jne 0x1004f1b7
mov dword [esi + 0x1c04], edx
mov dword [esi + 0x1c08], edx
mov dword [esi + 0x1c10], edx
mov dword [esi + 0x1c14], edx
mov eax, dword [esi + 0x1ec8]
mov dword [esi + 0x1ecc], eax
xor eax, eax
mov dword [esi + 0x1ec8], 0
mov dword [esi + 0x1ec4], 0x7f7fffff
mov word [esi + 0x1e65], 0
mov dword [esi + 0x1ed4], 0
cmp byte [edi + 0xfc], al
movss xmm1, dword [0x1019b754]
setne al
mov ecx, eax
or ecx, 2
cmp byte [edi + 0xfd], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [edi + 0xfe], 0
cmove edx, ecx
mov ecx, 0x200
mov eax, edx
or eax, 8
cmp byte [edi + 0xff], 0
lea edi, [esi + 0xc58]
cmove eax, edx
mov dword [esi + 0x37c], eax
lea eax, [esi + 0x458]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
xor ecx, ecx
nop dword [eax + eax]
cmp byte [esi + ecx + 0x100], 0
je 0x1004f272
movss xmm0, dword [eax]
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x1004f26b
xorps xmm0, xmm0
jmp 0x1004f275
addss xmm0, dword [esi + 0x18]
jmp 0x1004f275
movaps xmm0, xmm1
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x1004f250
call fcn.1005a4a0
call fcn.1004dbd0
call fcn.1004e590
mov edx, dword [0x101a7e2c]
mov ecx, edx
mov dword [esp + 8], ecx
mov edi, dword [ecx + 0x1bc8]
test edi, edi
je 0x1004f40b
mov eax, dword [ecx + 0x1bf0]
mov dword [ecx + 0x1bf4], eax
cmp dword [ecx + 0x1c2c], eax
jne 0x1004f2c9
mov byte [ecx + 0x1c30], 1
cmp dword [edi + 0x32c], 0
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jne 0x1004f2f6
push 0xdd2
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.cpp
push str.g.MovingWindow__g.MovingWindow__RootWindow
call edi
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov edx, dword [0x101a7e2c]
cmp byte [ecx + 0xec], 0
mov eax, dword [ecx + 0x1bc8]
mov eax, dword [eax + 0x32c]
mov dword [esp + 0x1c], eax
je 0x1004f3f6
lea eax, [ecx + 0xe4]
mov dword [esp + 0x20], eax
test edx, edx
jne 0x1004f343
push 0x128d
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.cpp
push str.GImGui___0
call edi
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov edx, dword [0x101a7e2c]
mov eax, dword [esp + 0x20]
mov edi, eax
test eax, eax
jne 0x1004f34f
lea edi, [edx + 0xe4]
movss xmm0, dword [edi]
movss xmm1, dword [0x1019b788]
comiss xmm0, xmm1
movss xmm2, dword [edi + 4]
jb 0x1004f3f6
comiss xmm2, xmm1
jb 0x1004f3f6
movss xmm1, dword [eax]
subss xmm1, dword [ecx + 0x1c18]
mov edi, dword [esp + 0x1c]
movss xmm2, dword [eax + 4]
subss xmm2, dword [ecx + 0x1c1c]
movss xmm0, dword [edi + 0x18]
ucomiss xmm0, xmm1
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm2
lahf
test ah, 0x44
jp 0x1004f3b7
movss xmm0, dword [edi + 0x1c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1004f3e9
test dword [edi + 0x14], 0x100
jne 0x1004f3d5
xorps xmm0, xmm0
comiss xmm0, dword [edx + 0x2ebc]
jb 0x1004f3d5
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x2ebc], eax
push 1
lea edx, [esp + 0x24]
mov ecx, edi
call fcn.10056bd0
mov ecx, dword [esp + 0xc]
add esp, 4
mov ecx, dword [ecx + 0x1bc8]
call fcn.100563c0
jmp 0x1004f443
call fcn.1004d0d0
mov eax, dword [esp + 8]
mov dword [eax + 0x1bc8], 0
jmp 0x1004f443
mov edi, dword [ecx + 0x1c20]
test edi, edi
je 0x1004f449
mov eax, dword [ecx + 0x1bf0]
cmp dword [edi + 0x5c], eax
jne 0x1004f449
mov dword [ecx + 0x1bf4], eax
cmp dword [ecx + 0x1c2c], eax
jne 0x1004f435
mov byte [ecx + 0x1c30], 1
cmp byte [ecx + 0xec], 0
jne 0x1004f449
call fcn.1004d0d0
mov edx, dword [0x101a7e2c]
mov edx, dword [edx + 0x1cfc]
sub edx, 1
js 0x1004f47f
mov eax, dword [0x101a7e2c]
lea ecx, [edx + edx*8]
mov eax, dword [eax + 0x1d04]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1004f477
test dword [ecx + 0x14], 0x8000000
jne 0x1004f499
sub eax, 0x24
sub edx, 1
jns 0x1004f468
cmp dword [esi + 0x1e28], 0
je 0x1004f4b8
movss xmm0, dword [esi + 0x1e38]
comiss xmm0, dword [0x1019b3a0]
jbe 0x1004f4b8
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x1019b5c0]
addss xmm1, dword [esi + 0x1e5c]
minss xmm1, dword [0x1019b4b4]
jmp 0x1004f4d9
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x1019b5d4]
movss xmm1, dword [esi + 0x1e5c]
subss xmm1, xmm0
maxss xmm1, dword [0x1019b3a0]
movss dword [esi + 0x1e5c], xmm1
mov dword [esi + 0x1e60], 0
mov dword [esi + 0x313c], 0xffffffff
mov dword [esi + 0x3138], 0xffffffff
mov dword [esi + 0x3134], 0xffffffff
mov dword [esi + 0x2ea8], 0x3f800000
mov dword [esi + 0x2eac], 0x3f800000
call fcn.1004e0d0
mov edi, dword [0x101a7e2c]
mov eax, dword [edi + 0x1d20]
test eax, eax
je 0x1004f561
cmp byte [eax + 0x96], 0
je 0x1004f561
test dword [eax + 0x14], 0x40000
jne 0x1004f561
cmp byte [edi + 0xfc], 0
jne 0x1004f561
mov ecx, dword [edi + 0x34]
test ecx, ecx
js 0x1004f561
call fcn.10050fe0
test al, al
je 0x1004f561
mov al, 1
jmp 0x1004f563
xor al, al
cmp dword [edi + 0x1bf0], 0
mov byte [edi + 0x1e58], al
jne 0x1004f5c8
test al, al
je 0x1004f5c8
cmp dword [edi + 0x1d24], 0
mov eax, dword [edi + 0x1d20]
mov dword [edi + 0x1e44], eax
mov dword [edi + 0x1e50], 0x7fffffff
je 0x1004f5b7
mov ecx, dword [edi + 0x1d6c]
cmp ecx, 0x7fffffff
je 0x1004f5b7
xor edx, edx
mov eax, 2
cmp byte [edi + 0xfd], dl
cmovne eax, edx
add eax, ecx
jmp 0x1004f5c2
movzx eax, byte [edi + 0xfd]
neg eax
sbb eax, eax
mov dword [edi + 0x1e54], eax
mov eax, dword [edi + 0x1e44]
mov dword [edi + 0x1e40], 0
mov dword [edi + 0x1e4c], 0x7fffffff
mov dword [edi + 0x1e48], 0x7fffffff
test eax, eax
je 0x1004f666
mov edx, dword [edi + 0x1e50]
mov dword [edi + 0x1e40], eax
cmp edx, 0x7fffffff
je 0x1004f622
mov ecx, dword [eax + 0x1b4]
cmp ecx, 0xffffffff
je 0x1004f622
inc ecx
lea eax, [ecx + edx]
cdq
idiv ecx
mov eax, dword [edi + 0x1e44]
mov dword [edi + 0x1e48], edx
mov edx, dword [edi + 0x1e54]
cmp edx, 0x7fffffff
je 0x1004f648
mov ecx, dword [eax + 0x1b8]
cmp ecx, 0xffffffff
je 0x1004f648
inc ecx
lea eax, [ecx + edx]
cdq
idiv ecx
mov dword [edi + 0x1e4c], edx
mov dword [edi + 0x1e44], 0
mov dword [edi + 0x1e54], 0x7fffffff
mov dword [edi + 0x1e50], 0x7fffffff
mov dword [edi + 0x1d6c], 0x7fffffff
mov ecx, dword [esi + 0x1b74]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [esi + 0x1b80], ecx
je 0x1004f69e
push 0xfbf
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.cpp
push str.g.WindowsFocusOrder.Size__g.Windows.Size
call edi
mov ecx, dword [esi + 0x1b74]
add esp, 0xc
cmp byte [esi + 0x1b67], 0
jne 0x1004f6cd
movss xmm0, dword [esi + 0xb8]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1004f6cd
movsd xmm1, qword [esi + 0x1b50]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x14], xmm1
xor eax, eax
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x1004f89c
nop dword [eax + eax]
test eax, eax
js 0x1004f6e8
cmp eax, ecx
jl 0x1004f6fc
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call edi
add esp, 0xc
mov eax, dword [esi + 0x1b7c]
xor ecx, ecx
mov edi, dword [esp + 0x10]
mov edi, dword [eax + edi*4]
mov al, byte [edi + 0x96]
mov byte [edi + 0x97], al
mov word [edi + 0xa2], cx
mov byte [edi + 0x96], cl
mov byte [edi + 0x98], cl
test al, al
jne 0x1004f87f
cmp byte [edi + 0x36c], cl
jne 0x1004f87f
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [edi + 0x26c]
jbe 0x1004f87f
mov ecx, dword [edi + 0x294]
mov byte [edi + 0x36c], 1
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x364], eax
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x368], eax
mov edx, dword [edi + 0xd4]
test edx, edx
je 0x1004f7b7
mov eax, dword [0x101a7e2c]
mov dword [edi + 0xd0], 0
mov dword [edi + 0xcc], 0
test eax, eax
je 0x1004f79d
dec dword [eax + 0x370]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [edi + 0xd4], 0
add esp, 4
mov ecx, dword [edi + 0x294]
call fcn.10066130
mov ecx, dword [edi + 0x19c]
test ecx, ecx
je 0x1004f7fd
mov eax, dword [0x101a7e2c]
mov dword [edi + 0x198], 0
mov dword [edi + 0x194], 0
test eax, eax
je 0x1004f7e9
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x19c], 0
mov ecx, dword [edi + 0x1d0]
test ecx, ecx
je 0x1004f83e
mov eax, dword [0x101a7e2c]
mov dword [edi + 0x1cc], 0
mov dword [edi + 0x1c8], 0
test eax, eax
je 0x1004f82a
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x1d0], 0
mov ecx, dword [edi + 0x1dc]
test ecx, ecx
je 0x1004f87f
mov eax, dword [0x101a7e2c]
mov dword [edi + 0x1d8], 0
mov dword [edi + 0x1d4], 0
test eax, eax
je 0x1004f86b
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x1dc], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1b74]
inc eax
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [esp + 0x10], eax
cmp eax, ecx
jne 0x1004f6e0
mov eax, dword [esi + 0x1f20]
xor edi, edi
test eax, eax
jle 0x1004f976
xor edx, edx
mov ecx, eax
mov dword [esp + 8], edx
test edi, edi
js 0x1004f8bc
cmp edi, eax
jl 0x1004f8de
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esi + 0x1f20]
add esp, 0xc
mov edx, dword [esp + 8]
mov eax, dword [esi + 0x1f28]
movss xmm0, dword [eax + edi*4]
comiss xmm0, dword [0x1019b3a0]
jb 0x1004f95b
test edi, edi
js 0x1004f8fa
cmp edi, ecx
jl 0x1004f918
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esi + 0x1f28]
add esp, 0xc
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [eax + edi*4]
jbe 0x1004f957
test edi, edi
js 0x1004f930
cmp edi, dword [esi + 0x1ef8]
jl 0x1004f948
push 0x681
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi + 0x1f00]
add ecx, dword [esp + 8]
call fcn.10070b00
mov edx, dword [esp + 8]
mov eax, dword [esi + 0x1f20]
inc edi
add edx, 0x228
mov ecx, eax
mov dword [esp + 8], edx
cmp edi, eax
jl 0x1004f8b4
cmp byte [esi + 0x1b67], 0
je 0x1004fa0b
mov edi, dword [0x101a7e2c]
mov eax, dword [edi + 0x1cec]
test eax, eax
je 0x1004f9c5
mov dword [edi + 0x1ce8], 0
mov dword [edi + 0x1ce4], 0
test edi, edi
je 0x1004f9b1
dec dword [edi + 0x370]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x1cec], 0
mov ecx, dword [edi + 0x1cf8]
test ecx, ecx
je 0x1004fa06
mov eax, dword [0x101a7e2c]
mov dword [edi + 0x1cf4], 0
mov dword [edi + 0x1cf0], 0
test eax, eax
je 0x1004f9f2
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x1cf8], 0
call fcn.10070cb0
mov eax, dword [esi + 0x1d20]
mov byte [esi + 0x1b67], 0
test eax, eax
je 0x1004fa2c
cmp byte [eax + 0x97], 0
jne 0x1004fa2c
xor ecx, ecx
call fcn.10056730
mov ecx, dword [esi + 0x1b9c]
test ecx, ecx
jns 0x1004fa52
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, [esi + 0x1b98]
call fcn.1005ea90
mov dword [esi + 0x1b98], 0
mov ecx, dword [esi + 0x1d0c]
test ecx, ecx
jns 0x1004fa82
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, [esi + 0x1d08]
call fcn.1005ee80
lea edi, [esi + 0x1ce4]
mov dword [esi + 0x1d08], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1004fb21
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [esp + 0x18], ecx
cmp ecx, dword [edi + 4]
jle 0x1004fb21
mov eax, dword [0x101a7e2c]
test eax, eax
je 0x1004fac5
inc dword [eax + 0x370]
lea eax, [ecx*4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, eax
add esp, 4
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
test eax, eax
je 0x1004fb17
mov ecx, dword [edi]
shl ecx, 2
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x101a7e2c]
add esp, 0xc
test eax, eax
je 0x1004fb06
dec dword [eax + 0x370]
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [esp + 0x20]
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [edi + 8], edx
mov dword [edi + 4], eax
lea eax, [esp + 0x20]
mov dword [edi], 0
push eax
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.1005e860
push 0
lea ecx, [esi + 0x1cf0]
call fcn.1005e7b0
mov ecx, dword [esi + 0x1d20]
xor dl, dl
call fcn.100589b0
mov ecx, dword [0x101a7e2c]
cmp byte [ecx + 0x2f34], 0
lea edx, [ecx + 0x2f34]
lea eax, [ecx + 0x2f38]
mov dword [esp + 0x20], edx
mov dword [eax], 0
mov dword [esp + 0x1c], eax
je 0x1004fc60
mov eax, dword [ecx + 0x6c]
mov edi, dword [ecx + 0x1be0]
mov dword [ecx + 0x1e60], 7
test eax, eax
js 0x1004fbb1
mov ecx, eax
call fcn.10050fe0
mov edx, dword [esp + 0x20]
mov ecx, dword [0x101a7e2c]
test al, al
je 0x1004fbb1
mov byte [edx], 0
movss xmm0, dword [ecx + 0x3f4]
ucomiss xmm0, dword [0x1019b3a0]
lahf
test ah, 0x44
jp 0x1004fbd3
test edi, edi
je 0x1004fbd3
mov eax, dword [esp + 0x1c]
mov byte [edx], 0
mov dword [eax], edi
or dword [ecx + 0x1c40], 0x40
xor edx, edx
mov dword [ecx + 0x1c94], 0x3f19999a
call fcn.10058450
push edi
push str.HoveredId:_0x_08X
call fcn.10071d60
push str.Press_ESC_to_abort_picking.
call fcn.10071d60
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test edi, edi
cmove ecx, eax
mov eax, dword [0x101a7e2c]
add eax, 0x15dc
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.10071de0
mov eax, dword [0x101a7e2c]
add esp, 8
mov eax, dword [eax + 0x1bbc]
test dword [eax + 0x14], 0x2000000
jne 0x1004fc55
push 0x21d1
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.cpp
push str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
call fcn.10056140
mov ecx, dword [0x101a7e2c]
mov byte [esi + 0x1b65], 1
xor edx, edx
or dword [ecx + 0x1c40], 2
mov dword [ecx + 0x1c60], 0x43c80000
mov dword [ecx + 0x1c64], 0x43c80000
mov dword [ecx + 0x1c48], 4
mov ecx, str.DebugDefault
push 0
call fcn.10053b30
mov eax, dword [esi + 0x1bbc]
add esp, 4
cmp byte [eax + 0x9e], 1
je 0x1004fcc4
push 0xfec
push str.C:UsersmimoDesktopDLL___Copydsoundimgui_dockingimgui.cpp
push str.g.CurrentWindow__IsFallbackWindow__true
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edx, 1
mov ecx, esi
call fcn.1004d610
pop edi
pop esi
mov esp, ebp
pop ebp
ret