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

Disassembly:
mov ecx, dword [0x1008df28]
sub esp, 0x5c
mov eax, dword [ecx + 0x3e60]
push ebp
mov byte [eax + 0xac], 1
mov ebp, dword [ecx + 0x3e60]
cmp byte [ebp + 0xaf], 0
je 0x1005747d
xor al, al
pop ebp
add esp, 0x5c
ret
push ebx
mov ebx, dword [esp + 0x6c]
mov eax, ebx
shr eax, 1
push esi
mov esi, dword [0x1008df28]
and al, 1
push edi
mov dword [esp + 0x24], eax
jne 0x100574c4
test ebx, 0x400
jne 0x100574c4
movss xmm0, dword [esi + 0x37c4]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [ebp + 0x128]
minss xmm0, dword [esi + 0x37c8]
movss dword [esp + 0x48], xmm0
jmp 0x100574d8
mov eax, dword [esi + 0x37c4]
mov ecx, dword [esi + 0x37c8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x7c]
lea edi, [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x1c], edi
test eax, eax
jne 0x10057502
push 0
push ecx
call fcn.1000fc20
mov ecx, dword [esp + 0x80]
add esp, 8
mov dword [esp + 0x7c], eax
push ecx
mov dword [esp], 0xbf800000
push 0
push eax
push ecx
lea eax, [esp + 0x4c]
push eax
call fcn.1000b150
movss xmm0, dword [esi + 0x37c8]
add esp, 0x14
movss xmm3, dword [ebp + 0x11c]
addss xmm0, xmm0
movss xmm6, dword [edi + 4]
xorps xmm1, xmm1
addss xmm0, dword [esi + 0x3bcc]
mov dword [esp + 0x4c], 0
minss xmm3, xmm0
movaps xmm0, xmm6
addss xmm0, xmm6
addss xmm0, dword [esp + 0x40]
maxss xmm3, xmm0
test ebx, 0x1000
je 0x1005756e
movss xmm2, dword [ebp + 0x1f0]
jmp 0x10057576
movss xmm2, dword [ebp + 0xf0]
cmp byte [esp + 0x24], 0
movss xmm5, dword [0x10076238]
movss dword [esp + 0x4c], xmm2
movss xmm0, dword [ebp + 0xf4]
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm3
movss xmm4, dword [ebp + 0x1f8]
movss dword [esp + 0x54], xmm4
addss xmm0, dword [ebp + 0xf4]
movss dword [esp + 0x58], xmm0
je 0x1005761a
movss xmm0, dword [ebp + 0x44]
mulss xmm0, xmm5
subss xmm0, dword [0x10076240]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss dword [esp + 0x4c], xmm2
movss xmm0, dword [ebp + 0x44]
mulss xmm0, xmm5
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss xmm4, dword [edi]
movaps xmm2, xmm4
addss xmm2, xmm4
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x10076250]
movss dword [esp + 0x28], xmm2
jmp 0x1005762b
movss xmm0, dword [edi]
addss xmm0, xmm0
movaps xmm2, xmm0
movss dword [esp + 0x28], xmm0
movss xmm7, dword [esi + 0x3bcc]
movaps xmm4, xmm6
movss xmm5, dword [esp + 0x3c]
addss xmm0, xmm7
comiss xmm5, xmm1
maxss xmm4, dword [ebp + 0x128]
movss dword [esp + 0x14], xmm0
jbe 0x1005765a
movaps xmm1, xmm2
addss xmm1, xmm5
addss xmm4, dword [ebp + 0xf4]
addss xmm0, dword [ebp + 0xf0]
addss xmm1, xmm7
movss dword [esp + 0x30], xmm3
push ecx
lea eax, [esp + 0x30]
movss dword [esp], xmm6
push eax
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x34], xmm1
call fcn.10015110
movups xmm0, xmmword [esp + 0x54]
add esp, 8
cmp byte [esp + 0x24], 0
movups xmmword [esp + 0x5c], xmm0
jne 0x100576da
test ebx, 0x1800
jne 0x100576da
movss xmm0, dword [esi + 0x37d4]
movss xmm1, dword [esp + 0x20]
addss xmm0, xmm0
addss xmm1, dword [esp + 0x4c]
addss xmm0, xmm1
movss dword [esp + 0x64], xmm0
test ebx, 0x100
je 0x100576e9
mov bl, 1
jmp 0x100577aa
mov edi, dword [0x1008df28]
test byte [edi + 0x46c0], 2
mov eax, dword [edi + 0x3e60]
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x18c]
je 0x10057762
test byte [edi + 0x46d8], 1
je 0x10057736
mov bl, byte [edi + 0x46dc]
xor eax, eax
mov ecx, dword [edi + 0x3e60]
test bl, bl
setne al
push eax
push dword [esp + 0x74]
mov ecx, dword [ecx + 0x18c]
call fcn.1001fa20
jmp 0x10057779
push 0xffffffffffffffff
push dword [esp + 0x74]
call fcn.10010a30
cmp eax, 0xffffffff
jne 0x10057774
mov bl, byte [edi + 0x46dc]
mov byte [esp + 0x20], bl
push dword [esp + 0x20]
push dword [esp + 0x74]
call fcn.10057f60
add esp, 8
jmp 0x10057779
mov eax, ebx
shr eax, 5
and eax, 1
push eax
push dword [esp + 0x74]
call fcn.10010a30
test eax, eax
setne bl
cmp byte [edi + 0x5b88], 0
je 0x100577aa
test byte [esp + 0x74], 0x10
jne 0x100577aa
mov eax, dword [esp + 0x18]
movzx ebx, bl
mov eax, dword [eax + 0x178]
sub eax, dword [edi + 0x5bb0]
cmp eax, dword [edi + 0x5bb4]
mov eax, 1
cmovl ebx, eax
push 0
push 0
push dword [esp + 0x78]
lea eax, [esp + 0x68]
push eax
call fcn.10014ca0
or dword [esi + 0x46e8], 2
add esp, 0x10
mov byte [esp + 0x12], al
movups xmm0, xmmword [esp + 0x4c]
movups xmmword [esi + 0x470c], xmm0
test bl, bl
je 0x100578e6
cmp byte [esi + 0x4838], 0
jne 0x100578e6
mov eax, dword [esp + 0x74]
and eax, 0x2008
cmp eax, 0x2000
jne 0x100578e6
cmp dword [esi + 0x4888], 0
jne 0x100578e6
cmp dword [esi + 0x47f8], ebp
jne 0x100578e6
call fcn.100165e0
test al, al
je 0x100578e6
mov edx, dword [esi + 0x47dc]
lea edi, [esi + 0x47dc]
mov ecx, dword [edi + 4]
inc edx
mov dword [esp + 0x20], edx
cmp edx, ecx
jle 0x100578ac
test ecx, ecx
je 0x10057850
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x10057855
mov eax, 8
cmp eax, edx
mov ecx, edx
cmovg ecx, eax
mov dword [esp + 0x2c], ecx
cmp ecx, dword [edi + 4]
jle 0x100578ac
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.10015af0
mov edx, dword [edi + 8]
add esp, 4
mov dword [esp + 0x18], eax
test edx, edx
je 0x1005789e
mov ecx, dword [edi]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 8]
call fcn.10015b20
mov eax, dword [esp + 0x28]
add esp, 0x10
mov edx, dword [esp + 0x20]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov ecx, edi
mov dword [edi], edx
call fcn.10058190
mov edx, dword [esp + 0x70]
mov dword [eax], edx
mov ecx, dword [esi + 0x46e4]
mov dword [eax + 4], ecx
movups xmm0, xmmword [esi + 0x46fc]
movups xmmword [eax + 8], xmm0
mov ecx, dword [ebp + 0x17c]
mov eax, dword [ebp + 0x178]
bts ecx, eax
mov dword [ebp + 0x17c], ecx
jmp 0x100578ea
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov ecx, eax
shr ecx, 8
and ecx, 0xffffff01
cmp byte [esp + 0x12], 0
mov dword [esp + 0x18], ecx
jne 0x10057927
test bl, bl
je 0x10057e8c
test al, 8
jne 0x10057e8c
push edx
call fcn.100580e0
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x5c
ret
xor edi, edi
test al, 4
jne 0x10057939
test dword [esi + 0x46e4], 0x200
je 0x1005793e
mov edi, 0x1000
movss xmm1, dword [esp + 0x34]
mov ecx, edi
subss xmm1, dword [esp + 0x14]
movss xmm2, dword [esi + 0x37ec]
or ecx, 0x200
cmp byte [esp + 0x18], 0
movss xmm3, dword [esi + 0xdbc]
cmovne ecx, edi
movaps xmm0, xmm1
subss xmm0, xmm2
comiss xmm3, xmm0
jb 0x10057996
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [esi + 0x3bcc]
mov byte [esp + 0x10], 1
addss xmm0, xmm1
addss xmm0, xmm2
comiss xmm0, xmm3
ja 0x1005799b
mov byte [esp + 0x10], 0
cmp ebp, dword [esi + 0x3e64]
jne 0x100579aa
cmp byte [esp + 0x10], 0
jne 0x100579b7
or ecx, 0x10000
cmp byte [esp + 0x10], 0
je 0x100579be
mov edi, 0x10
jmp 0x100579ca
movzx edi, al
and edi, 0x40
or edi, 8
shl edi, 2
and al, 1
or edi, ecx
mov byte [esp + 0x13], al
lea eax, [esp + 0x12]
push edi
push eax
lea eax, [esp + 0x19]
push eax
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.10045a20
xor cl, cl
add esp, 0x14
mov dword [esp + 0x20], ecx
cmp byte [esp + 0x18], cl
jne 0x10057af5
test al, al
je 0x10057a7c
mov edx, dword [esp + 0x70]
cmp dword [esi + 0x4a44], edx
je 0x10057a4b
mov eax, dword [esp + 0x74]
test al, 0xc0
je 0x10057a1b
cmp dword [esi + 0x4804], edx
jne 0x10057a1d
mov cl, 1
test al, al
jns 0x10057a39
cmp byte [esp + 0x10], 0
je 0x10057a35
cmp byte [esi + 0x483b], 0
jne 0x10057a35
mov dl, 1
jmp 0x10057a37
xor dl, dl
or cl, dl
test al, 0x40
je 0x10057a7c
cmp word [esi + 0x370a], 2
jne 0x10057a7c
mov cl, 1
jmp 0x10057a7c
test edi, 0x200
jne 0x10057a6f
push 0x186e
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.button_flags__ImGuiButtonFlags_PressedOnDragDropHold
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test bl, bl
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov edi, dword [esp + 0x70]
cmp dword [esi + 0x47fc], edi
jne 0x10057ad3
cmp dword [esi + 0x4888], 0
jne 0x10057aad
test bl, bl
je 0x10057aad
push 0
mov byte [esp + 0x24], 1
call fcn.10015ff0
add esp, 4
call fcn.10016610
mov ecx, dword [esp + 0x20]
cmp dword [esi + 0x47fc], edi
jne 0x10057ad3
cmp dword [esi + 0x4888], 1
jne 0x10057ad3
test bl, bl
jne 0x10057ad3
push 0
call fcn.10015ff0
add esp, 4
call fcn.10016610
jmp 0x10057ad7
test cl, cl
je 0x10057af9
mov ecx, dword [ebp + 0x18c]
test bl, bl
sete bl
movzx eax, bl
push eax
push edi
call fcn.1001fa20
or dword [esi + 0x46e8], 0x10
jmp 0x10057af9
mov edi, dword [esp + 0x70]
push ecx
mov dword [esp], 0x3f800000
push 0
call fcn.10010520
mov cl, byte [esp + 0x19]
add esp, 8
cmp byte [esp + 0x24], 0
mov dword [esp + 0x20], eax
je 0x10057cff
cmp byte [esp + 0x12], 0
je 0x10057b30
test cl, cl
je 0x10057b30
mov eax, 0x1a
jmp 0x10057b3a
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10010520
movss xmm0, dword [esi + 0x37cc]
add esp, 4
movss dword [esp], xmm0
push 1
push eax
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.1001cb00
push 2
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.1001d0f0
mov eax, dword [esp + 0x9c]
add esp, 0x28
test eax, 0x200
je 0x10057bee
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x1007623c]
movss xmm0, dword [esp + 0x34]
push dword [esp + 0x20]
subss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 0x3bcc]
mulss xmm0, dword [0x10076238]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [ebp + 0x264]
call fcn.1002e1d0
mov eax, dword [esp + 0x84]
add esp, 0x10
jmp 0x10057c7b
cmp byte [esp + 0x18], 0
jne 0x10057c5d
test bl, bl
je 0x10057c06
shr eax, 0x15
not eax
and eax, 1
or eax, 2
jmp 0x10057c0b
mov eax, 1
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp], 0x3f800000
push eax
addss xmm0, dword [ecx]
push dword [esp + 0x28]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [ebp + 0x264]
call fcn.1002de50
mov eax, dword [esp + 0x8c]
add esp, 0x18
jmp 0x10057c7b
mov ecx, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x14]
movss xmm0, dword [esp + 0x34]
subss xmm1, dword [ecx]
subss xmm0, xmm1
movss dword [esp + 0x34], xmm0
test eax, 0x100000
je 0x10057ca2
movss xmm1, dword [esi + 0x37c4]
addss xmm1, dword [esi + 0x3bcc]
movss xmm0, dword [esp + 0x54]
subss xmm0, xmm1
movss dword [esp + 0x54], xmm0
cmp byte [esi + 0x5b88], 0
je 0x10057cbd
push 0x1007cc00
push 0x1007cc00
call fcn.100158c0
add esp, 8
push 0
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x50], 0
push eax
push dword [esp + 0x88]
mov eax, dword [esp + 0x88]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1001d440
add esp, 0x1c
jmp 0x10057e78
test cl, cl
jne 0x10057d09
cmp byte [esp + 0x13], cl
je 0x10057d58
cmp byte [esp + 0x12], 0
je 0x10057d1b
test cl, cl
je 0x10057d1b
mov eax, 0x1a
jmp 0x10057d25
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10010520
add esp, 4
mov dword [esp], 0
push 0
push eax
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.1001cb00
add esp, 0x1c
push 2
lea eax, [esp + 0x50]
push edi
push eax
call fcn.1001d0f0
mov eax, dword [esp + 0x80]
add esp, 0xc
test eax, 0x200
je 0x10057dcc
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x10076238]
movss xmm0, dword [esp + 0x34]
push dword [esp + 0x20]
subss xmm0, xmm1
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esi + 0x3bcc]
mulss xmm0, dword [0x10076238]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [ebp + 0x264]
call fcn.1002e1d0
add esp, 0x10
jmp 0x10057e42
cmp byte [esp + 0x18], 0
jne 0x10057e42
test bl, bl
je 0x10057de4
shr eax, 0x15
not eax
and eax, 1
or eax, 2
jmp 0x10057de9
mov eax, 1
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp], 0x3f333333
push eax
addss xmm0, dword [ecx]
push dword [esp + 0x28]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esi + 0x3bcc]
mulss xmm0, dword [0x1007d3c8]
addss xmm0, dword [esp + 0x44]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [ebp + 0x264]
call fcn.1002de50
add esp, 0x18
cmp byte [esi + 0x5b88], 0
je 0x10057e5a
push 0
push 0x1007d07c
call fcn.100158c0
add esp, 8
mov eax, dword [esp + 0x78]
push 0
push dword [esp + 0x80]
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1001d350
add esp, 0x14
test bl, bl
je 0x10057e8c
test byte [esp + 0x74], 8
jne 0x10057e8c
push edi
call fcn.100580e0
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
add esp, 0x5c
ret