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

Disassembly:
sub esp, 0x98
push ebx
mov ebx, dword [0x10092748]
push ebp
push esi
mov esi, dword [esp + 0xa8]
push edi
cmp byte [esi + 0x67], 0
je 0x10057556
movups xmm0, xmmword [ebx + 0x46c0]
push esi
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [ebx + 0x46d0]
movups xmmword [esp + 0x60], xmm0
call fcn.10055b00
movups xmm0, xmmword [esp + 0x70]
add esp, 4
movups xmmword [ebx + 0x46c0], xmm0
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [ebx + 0x46d0], xmm0
mov eax, dword [ebx + 0x3e60]
mov dword [esp + 0x20], eax
cmp byte [eax + 0xaf], 0
jne 0x10057600
cmp dword [esp + 0xbc], 0
je 0x1005758f
push 0x1f98
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.docked_window__0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
test dword [esi + 0xc], 0x100000
push 0
je 0x100575b9
push 0
push dword [esp + 0xb8]
call fcn.10014410
mov ebp, eax
push ebp
mov dword [esp + 0x48], ebp
call fcn.10016c50
add esp, 0x10
jmp 0x100575d6
mov eax, dword [0x10092748]
push dword [esp + 0xb4]
mov ecx, dword [eax + 0x3e60]
call fcn.100121c0
mov ebp, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x10057636
cmp byte [eax], 0
jne 0x1005760d
push 8
push 0
lea eax, [esp + 0x74]
xorps xmm0, xmm0
push ebp
push eax
movups xmmword [esp + 0x7c], xmm0
call fcn.10016670
add esp, 0x10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x98
ret
mov edi, dword [esp + 0xb8]
test edi, 0x200000
je 0x1005763d
push 0x212d
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str._p_open____flags__ImGuiTabItemFlags_Button_
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x1005763d
mov edi, dword [esp + 0xb8]
mov eax, edi
and eax, 0xc0
cmp al, 0xc0
jne 0x10057660
push 0x212e
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str._flags___ImGuiTabItemFlags_Leading__ImGuiTabItemFlags_Trailing______ImGuiTabItemFlags_Leading__ImGuiTabItemFlags_Trailing_
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esp + 0xb8]
test eax, 0x100000
je 0x1005767b
mov dword [esp + 0xb4], 0
jmp 0x10057691
cmp dword [esp + 0xb4], 0
jne 0x10057691
or eax, 0x100000
mov dword [esp + 0xb8], eax
push ebp
push esi
call fcn.10055a20
mov edi, eax
mov byte [esp + 0x18], 0
add esp, 8
test edi, edi
jne 0x100577c4
mov edi, dword [esi]
xorps xmm0, xmm0
mov ecx, dword [esi + 4]
mov dword [esp + 0x94], eax
or eax, 0xffffffff
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x98], 0xbf800000
mov dword [esp + 0x9c], 0xffffffff
mov word [esp + 0xa2], ax
mov word [esp + 0xa0], ax
cmp edi, ecx
jne 0x10057760
inc edi
test ecx, ecx
je 0x1005771b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10057720
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10057760
imul eax, edi, 0x2c
push eax
call fcn.100174d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esp + 0x30], eax
test edx, edx
je 0x1005775a
imul ecx, dword [esi], 0x2c
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.10017500
mov eax, dword [esp + 0x40]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], edi
imul eax, dword [esi], 0x2c
movups xmm0, xmmword [esp + 0x7c]
add eax, dword [esi + 8]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x8c]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x9c]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], 0
inc dword [esi]
cmp dword [esi], 0
jg 0x100577ae
push 0x737
push str.D:Projectm2extLibrariesimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
imul ecx, dword [esi], 0x2c
mov edi, dword [esi + 8]
add edi, 0xffffffd4
mov byte [esp + 0x10], 1
add edi, ecx
mov dword [edi], ebp
mov byte [esi + 0x69], 1
mov ecx, dword [esi + 8]
cmp edi, ecx
jb 0x100577d4
imul eax, dword [esi], 0x2c
add eax, ecx
cmp edi, eax
jb 0x100577ec
push 0x750
push str.D:Projectm2extLibrariesimguiimgui.h
push 0x100781dc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, edi
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [esi + 0x6c], ax
mov eax, dword [esp + 0xb8]
and eax, 1
cmp dword [esp + 0xb4], 0
mov dword [esp + 0x18], eax
jne 0x1005782e
test eax, eax
jne 0x1005782e
xor al, al
mov dword [esp + 0x18], 0
jmp 0x10057830
mov al, 1
push eax
push dword [esp + 0xb4]
lea eax, [esp + 0x64]
push eax
call fcn.100573f0
add esp, 0xc
mov dword [edi + 0x1c], 0xbf800000
test byte [ebx + 0x46c0], 1
je 0x10057864
movss xmm1, dword [ebx + 0x46c8]
movss dword [edi + 0x1c], xmm1
jmp 0x1005786a
movss xmm1, dword [esp + 0x5c]
cmp byte [esp + 0x10], 0
je 0x10057882
movss xmm0, dword [0x10078258]
maxss xmm0, xmm1
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
mov ax, word [esi + 0x6a]
mov word [edi + 0x24], ax
mov eax, dword [esi + 0x24]
inc word [esi + 0x6a]
inc eax
mov edx, dword [ebx + 0x3de0]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], eax
mov eax, dword [edi + 8]
inc eax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x2c], eax
lea eax, [edi + 4]
je 0x100578d6
test byte [eax], 1
mov dword [esp + 0x34], eax
jne 0x100578d6
mov byte [esp + 0x11], 1
jmp 0x100578df
mov byte [esp + 0x11], 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb8]
mov ecx, eax
shr ecx, 0x15
and ecx, 0xffffff01
mov dword [edi + 8], edx
cmp dword [esp + 0xbc], 0
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
je 0x10057922
push 0x2157
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.docked_window__0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x10057961
mov ecx, dword [esi + 0x84]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0xb0]
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x30], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x10057944
sub edx, dword [esp + 0x30]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [esi + 0x84]
call fcn.100271d0
cmp byte [esp + 0x24], 0
mov edx, dword [esp + 0x3c]
jne 0x100579a3
cmp dword [esp + 0x2c], edx
jge 0x1005798f
test byte [esi + 0xc], 2
je 0x1005798f
cmp dword [esi + 0x18], 0
jne 0x1005798f
cmp dword [esp + 0x28], edx
jge 0x1005798a
cmp dword [esi + 0x14], 0
jne 0x1005798f
mov eax, dword [edi]
mov dword [esi + 0x18], eax
test byte [esp + 0xb8], 2
je 0x100579a3
cmp dword [esi + 0x14], ebp
je 0x100579a3
mov eax, dword [edi]
mov dword [esi + 0x18], eax
cmp dword [esi + 0x1c], ebp
sete byte [esp + 0x18]
jne 0x100579ba
lea ecx, [esi + 0x14]
mov byte [esi + 0x68], 1
mov dword [esp + 0x14], ecx
jmp 0x100579ef
cmp dword [esi + 0x14], 0
lea eax, [esi + 0x14]
mov ecx, eax
mov dword [esp + 0x14], ecx
jne 0x100579ef
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x28], edx
jge 0x100579ef
cmp dword [esi], 1
mov dword [esp + 0x14], ecx
jne 0x100579ef
test byte [esi + 0xc], 2
mov dword [esp + 0x14], ecx
jne 0x100579ef
mov byte [esp + 0x18], 1
mov dword [esp + 0x14], eax
cmp dword [esp + 0x2c], edx
jge 0x10057a34
cmp dword [esp + 0x28], edx
jge 0x10057a02
cmp byte [esp + 0x10], 0
je 0x10057a34
push 8
push 0
lea eax, [esp + 0x74]
xorps xmm0, xmm0
push ebp
push eax
movups xmmword [esp + 0x7c], xmm0
call fcn.10016670
add esp, 0x10
cmp byte [esp + 0x24], 0
je 0x10057c00
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x98
ret
cmp dword [ecx], ebp
jne 0x10057a41
mov eax, dword [ebx + 0x3de0]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x20]
lea ecx, [esi + 0x28]
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [eax + 0xf0]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0xf4]
mov eax, dword [esp + 0x34]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x14]
mov edx, dword [eax]
and edx, 0xc0
jne 0x10057a8c
subss xmm1, dword [esi + 0x48]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, 4
addss xmm1, dword [ecx]
movss xmm3, dword [eax + ecx]
mov eax, dword [esp + 0x20]
movaps xmm2, xmm1
addss xmm2, xmm0
addss xmm3, dword [0x1007f3d8]
movss dword [eax + 0xf0], xmm1
movss dword [eax + 0xf4], xmm3
movaps xmm4, xmm3
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm2
addss xmm4, dword [esp + 0x60]
movss dword [esp + 0x4c], xmm4
test edx, edx
jne 0x10057b52
movss xmm5, dword [esi + 0x58]
comiss xmm5, xmm1
ja 0x10057af2
comiss xmm2, dword [esi + 0x5c]
jbe 0x10057b52
subss xmm3, dword [0x10078258]
movss xmm0, dword [esi + 0x5c]
maxss xmm1, xmm5
push 1
lea eax, [esp + 0x60]
mov byte [esp + 0x14], 1
push eax
lea eax, [esp + 0x5c]
movss dword [esp + 0x64], xmm0
push eax
movss dword [esp + 0x6c], xmm4
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x64], xmm3
call fcn.1001d1e0
movss xmm4, dword [esp + 0x58]
add esp, 0xc
movss xmm2, dword [esp + 0x48]
movss xmm3, dword [esp + 0x44]
movss xmm1, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
jmp 0x10057b57
mov byte [esp + 0x10], 0
movss xmm0, dword [eax + 0x108]
subss xmm2, xmm1
movss dword [esp + 0x54], xmm0
subss xmm4, xmm3
movss xmm0, dword [eax + 0x10c]
lea eax, [esp + 0x6c]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [ebx + 0x37c8]
push ecx
movss dword [esp], xmm0
push eax
movss dword [esp + 0x74], xmm2
movss dword [esp + 0x78], xmm4
call fcn.10016ae0
mov eax, dword [esp + 0x28]
movss xmm0, dword [esp + 0x5c]
push 0
push 0
movss dword [eax + 0x108], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [eax + 0x10c], xmm0
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.10016670
add esp, 0x18
test al, al
jne 0x10057c0f
cmp byte [esp + 0x10], al
je 0x10057be0
call fcn.1001cc10
mov eax, dword [esp + 0x20]
movss xmm0, dword [esp + 0x28]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [eax + 0xf4], xmm0
mov al, byte [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
mov eax, dword [esp + 0x24]
mov edx, 0x1000
movzx ecx, al
mov eax, 0x1200
inc ecx
shl ecx, 4
cmp byte [ebx + 0x49d4], 0
cmove eax, edx
or ecx, eax
lea eax, [esp + 0x12]
push ecx
push eax
lea eax, [esp + 0x1b]
push eax
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.10047420
add esp, 0x14
mov byte [esp + 0x1f], al
test al, al
je 0x10057c5d
cmp byte [esp + 0x24], 0
jne 0x10057c5d
mov ecx, dword [edi]
mov dword [esi + 0x18], ecx
cmp byte [esp + 0x12], 0
je 0x10057cdc
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x2c], edx
jl 0x10057cdc
push ecx
mov dword [esp], 0xbf800000
push 0
call fcn.10016070
add esp, 8
test al, al
je 0x10057cdc
cmp byte [ebx + 0x49d4], 0
jne 0x10057cdc
test byte [esi + 0xc], 1
je 0x10057cdc
movss xmm1, dword [ebx + 0xb4]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x10057cb2
movss xmm0, dword [esp + 0x40]
comiss xmm0, dword [ebx + 0xdbc]
ja 0x10057cc6
comiss xmm1, xmm2
jbe 0x10057cdc
movss xmm0, dword [ebx + 0xdbc]
comiss xmm0, dword [esp + 0x48]
jbe 0x10057cdc
push dword [ebx + 0xdc0]
push dword [ebx + 0xdbc]
push edi
push esi
call fcn.10056b10
add esp, 0x10
cmp byte [esp + 0x12], 0
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x264]
mov dword [esp + 0x2c], eax
jne 0x10057d23
cmp byte [esp + 0x13], 0
jne 0x10057d23
cmp byte [esp + 0x18], 0
mov ecx, dword [esp + 0x50]
je 0x10057d12
movzx eax, cl
xor eax, 1
lea eax, [eax*2 + 0x23]
jmp 0x10057d28
test cl, cl
mov eax, 0x24
mov edx, 0x21
cmovne eax, edx
jmp 0x10057d28
mov eax, 0x22
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10011ef0
push eax
push dword [esp + 0xc4]
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x40]
call fcn.10057130
push 1
lea eax, [esp + 0x5c]
push ebp
push eax
call fcn.1001ead0
push 0x20
call fcn.10015950
add esp, 0x28
test al, al
je 0x10057d91
push 0
push 1
call fcn.10015e20
add esp, 8
test al, al
jne 0x10057d85
push 1
call fcn.10016230
add esp, 4
test al, al
je 0x10057d91
cmp byte [esp + 0x24], 0
jne 0x10057d91
mov eax, dword [edi]
mov dword [esi + 0x18], eax
mov ebp, dword [esp + 0xb8]
mov eax, dword [esi + 0xc]
or ebp, 4
test al, 8
cmove ebp, dword [esp + 0xb8]
cmp dword [esp + 0xb4], 0
je 0x10057dc9
push dword [esp + 0x38]
push 0
push str.CLOSE
call fcn.10012380
add esp, 0xc
mov ecx, eax
jmp 0x10057dcb
xor ecx, ecx
mov eax, ebp
and eax, 0xfffffffe
cmp byte [esp + 0x11], 0
cmovne ebp, eax
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x17]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x4c]
push ecx
push dword [esp + 0x48]
push dword [esp + 0xc4]
push dword [esi + 0x78]
push dword [esi + 0x74]
push ebp
push eax
push dword [esp + 0x54]
call fcn.10057f20
add esp, 0x2c
cmp byte [esp + 0x13], 0
je 0x10057e62
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x10057e62
mov byte [eax], 0
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test eax, 0x200000
jne 0x10057e62
mov ebp, dword [esp + 0x14]
test al, 1
jne 0x10057e56
mov byte [edi + 0x28], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi]
jne 0x10057e66
mov dword [edi + 8], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [ebp], 0
jmp 0x10057e66
mov eax, dword [edi]
cmp dword [esi + 0x1c], eax
je 0x10057e66
mov dword [esi + 0x18], eax
jmp 0x10057e66
mov ebp, dword [esp + 0x14]
cmp byte [esp + 0x10], 0
je 0x10057e72
call fcn.1001cc10
cmp byte [esp + 0x11], 0
mov eax, dword [esp + 0x20]
movss xmm0, dword [esp + 0x28]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [eax + 0xf4], xmm0
je 0x10057ede
mov eax, dword [esp + 0x38]
cmp dword [ebx + 0x3e98], eax
jne 0x10057ede
cmp byte [esp + 0x12], 0
jne 0x10057ede
test byte [esi + 0xc], 0x20
jne 0x10057ede
mov eax, dword [esp + 0x34]
test byte [eax], 0x10
jne 0x10057ede
mov ebx, dword [esp + 0xb0]
push ebx
push 0
push ebx
call fcn.100115f0
add esp, 8
sub eax, ebx
push eax
push str._.s
call fcn.10021530
add esp, 0xc
cmp byte [esp + 0x24], 0
je 0x10057c00
mov eax, dword [ebp]
cmp eax, dword [edi]
jne 0x10057f08
push 0x21eb
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str._is_tab_button____tab_bar__SelectedTabId__tab__ID__is_tab_button_
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov al, byte [esp + 0x1f]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret