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

Disassembly:
mov ecx, dword [0x10093758]
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 0x10058e8d
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 [0x10093758]
and al, 1
push edi
mov dword [esp + 0x24], eax
jne 0x10058ed4
test ebx, 0x400
jne 0x10058ed4
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 0x10058ee8
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 0x10058f12
push 0
push ecx
call fcn.100115f0
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.1000cb20
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 0x10058f7e
movss xmm2, dword [ebp + 0x1f0]
jmp 0x10058f86
movss xmm2, dword [ebp + 0xf0]
cmp byte [esp + 0x24], 0
movss xmm5, dword [0x10079270]
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 0x1005902a
movss xmm0, dword [ebp + 0x44]
mulss xmm0, xmm5
subss xmm0, dword [0x10079278]
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 [0x10079288]
movss dword [esp + 0x28], xmm2
jmp 0x1005903b
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 0x1005906a
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.10016ae0
movups xmm0, xmmword [esp + 0x54]
add esp, 8
cmp byte [esp + 0x24], 0
movups xmmword [esp + 0x5c], xmm0
jne 0x100590ea
test ebx, 0x1800
jne 0x100590ea
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 0x100590f9
mov bl, 1
jmp 0x100591ba
mov edi, dword [0x10093758]
test byte [edi + 0x46c0], 2
mov eax, dword [edi + 0x3e60]
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x18c]
je 0x10059172
test byte [edi + 0x46d8], 1
je 0x10059146
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.10021400
jmp 0x10059189
push 0xffffffffffffffff
push dword [esp + 0x74]
call fcn.10012400
cmp eax, 0xffffffff
jne 0x10059184
mov bl, byte [edi + 0x46dc]
mov byte [esp + 0x20], bl
push dword [esp + 0x20]
push dword [esp + 0x74]
call fcn.10059970
add esp, 8
jmp 0x10059189
mov eax, ebx
shr eax, 5
and eax, 1
push eax
push dword [esp + 0x74]
call fcn.10012400
test eax, eax
setne bl
cmp byte [edi + 0x5b88], 0
je 0x100591ba
test byte [esp + 0x74], 0x10
jne 0x100591ba
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.10016670
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 0x100592f6
cmp byte [esi + 0x4838], 0
jne 0x100592f6
mov eax, dword [esp + 0x74]
and eax, 0x2008
cmp eax, 0x2000
jne 0x100592f6
cmp dword [esi + 0x4888], 0
jne 0x100592f6
cmp dword [esi + 0x47f8], ebp
jne 0x100592f6
call fcn.10017fc0
test al, al
je 0x100592f6
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 0x100592bc
test ecx, ecx
je 0x10059260
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x10059265
mov eax, 8
cmp eax, edx
mov ecx, edx
cmovg ecx, eax
mov dword [esp + 0x2c], ecx
cmp ecx, dword [edi + 4]
jle 0x100592bc
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.100174d0
mov edx, dword [edi + 8]
add esp, 4
mov dword [esp + 0x18], eax
test edx, edx
je 0x100592ae
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.10017500
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.10059ba0
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 0x100592fa
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 0x10059337
test bl, bl
je 0x1005989c
test al, 8
jne 0x1005989c
push edx
call fcn.10059af0
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 0x10059349
test dword [esi + 0x46e4], 0x200
je 0x1005934e
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 0x100593a6
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 0x100593ab
mov byte [esp + 0x10], 0
cmp ebp, dword [esi + 0x3e64]
jne 0x100593ba
cmp byte [esp + 0x10], 0
jne 0x100593c7
or ecx, 0x10000
cmp byte [esp + 0x10], 0
je 0x100593ce
mov edi, 0x10
jmp 0x100593da
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.10047420
xor cl, cl
add esp, 0x14
mov dword [esp + 0x20], ecx
cmp byte [esp + 0x18], cl
jne 0x10059505
test al, al
je 0x1005948c
mov edx, dword [esp + 0x70]
cmp dword [esi + 0x4a44], edx
je 0x1005945b
mov eax, dword [esp + 0x74]
test al, 0xc0
je 0x1005942b
cmp dword [esi + 0x4804], edx
jne 0x1005942d
mov cl, 1
test al, al
jns 0x10059449
cmp byte [esp + 0x10], 0
je 0x10059445
cmp byte [esi + 0x483b], 0
jne 0x10059445
mov dl, 1
jmp 0x10059447
xor dl, dl
or cl, dl
test al, 0x40
je 0x1005948c
cmp word [esi + 0x370a], 2
jne 0x1005948c
mov cl, 1
jmp 0x1005948c
test edi, 0x200
jne 0x1005947f
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 0x100594e3
cmp dword [esi + 0x4888], 0
jne 0x100594bd
test bl, bl
je 0x100594bd
push 0
mov byte [esp + 0x24], 1
call fcn.100179d0
add esp, 4
call fcn.10018000
mov ecx, dword [esp + 0x20]
cmp dword [esi + 0x47fc], edi
jne 0x100594e3
cmp dword [esi + 0x4888], 1
jne 0x100594e3
test bl, bl
jne 0x100594e3
push 0
call fcn.100179d0
add esp, 4
call fcn.10018000
jmp 0x100594e7
test cl, cl
je 0x10059509
mov ecx, dword [ebp + 0x18c]
test bl, bl
sete bl
movzx eax, bl
push eax
push edi
call fcn.10021400
or dword [esi + 0x46e8], 0x10
jmp 0x10059509
mov edi, dword [esp + 0x70]
push ecx
mov dword [esp], 0x3f800000
push 0
call fcn.10011ef0
mov cl, byte [esp + 0x19]
add esp, 8
cmp byte [esp + 0x24], 0
mov dword [esp + 0x20], eax
je 0x1005970f
cmp byte [esp + 0x12], 0
je 0x10059540
test cl, cl
je 0x10059540
mov eax, 0x1a
jmp 0x1005954a
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10011ef0
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.1001e4e0
push 2
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.1001ead0
mov eax, dword [esp + 0x9c]
add esp, 0x28
test eax, 0x200
je 0x100595fe
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x10079274]
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 [0x10079270]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [ebp + 0x264]
call fcn.1002fbd0
mov eax, dword [esp + 0x84]
add esp, 0x10
jmp 0x1005968b
cmp byte [esp + 0x18], 0
jne 0x1005966d
test bl, bl
je 0x10059616
shr eax, 0x15
not eax
and eax, 1
or eax, 2
jmp 0x1005961b
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.1002f850
mov eax, dword [esp + 0x8c]
add esp, 0x18
jmp 0x1005968b
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 0x100596b2
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 0x100596cd
push 0x1007fc40
push 0x1007fc40
call fcn.100172a0
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.1001ee20
add esp, 0x1c
jmp 0x10059888
test cl, cl
jne 0x10059719
cmp byte [esp + 0x13], cl
je 0x10059768
cmp byte [esp + 0x12], 0
je 0x1005972b
test cl, cl
je 0x1005972b
mov eax, 0x1a
jmp 0x10059735
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10011ef0
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.1001e4e0
add esp, 0x1c
push 2
lea eax, [esp + 0x50]
push edi
push eax
call fcn.1001ead0
mov eax, dword [esp + 0x80]
add esp, 0xc
test eax, 0x200
je 0x100597dc
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x10079270]
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 [0x10079270]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [ebp + 0x264]
call fcn.1002fbd0
add esp, 0x10
jmp 0x10059852
cmp byte [esp + 0x18], 0
jne 0x10059852
test bl, bl
je 0x100597f4
shr eax, 0x15
not eax
and eax, 1
or eax, 2
jmp 0x100597f9
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 [0x10080408]
addss xmm0, dword [esp + 0x44]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [ebp + 0x264]
call fcn.1002f850
add esp, 0x18
cmp byte [esi + 0x5b88], 0
je 0x1005986a
push 0
push 0x100800bc
call fcn.100172a0
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.1001ed30
add esp, 0x14
test bl, bl
je 0x1005989c
test byte [esp + 0x74], 8
jne 0x1005989c
push edi
call fcn.10059af0
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
add esp, 0x5c
ret