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

Disassembly:
mov ecx, dword [0x10093708]
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 0x10059e9d
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 [0x10093708]
and al, 1
push edi
mov dword [esp + 0x24], eax
jne 0x10059ee4
test ebx, 0x400
jne 0x10059ee4
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 0x10059ef8
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 0x10059f22
push 0
push ecx
call fcn.10012250
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.1000d760
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 0x10059f8e
movss xmm2, dword [ebp + 0x1f0]
jmp 0x10059f96
movss xmm2, dword [ebp + 0xf0]
cmp byte [esp + 0x24], 0
movss xmm5, dword [0x10079278]
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 0x1005a03a
movss xmm0, dword [ebp + 0x44]
mulss xmm0, xmm5
subss xmm0, dword [0x10079280]
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 [0x10079290]
movss dword [esp + 0x28], xmm2
jmp 0x1005a04b
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 0x1005a07a
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.10017830
movups xmm0, xmmword [esp + 0x54]
add esp, 8
cmp byte [esp + 0x24], 0
movups xmmword [esp + 0x5c], xmm0
jne 0x1005a0fa
test ebx, 0x1800
jne 0x1005a0fa
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 0x1005a109
mov bl, 1
jmp 0x1005a1ca
mov edi, dword [0x10093708]
test byte [edi + 0x46c0], 2
mov eax, dword [edi + 0x3e60]
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x18c]
je 0x1005a182
test byte [edi + 0x46d8], 1
je 0x1005a156
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.10022130
jmp 0x1005a199
push 0xffffffffffffffff
push dword [esp + 0x74]
call fcn.100130d0
cmp eax, 0xffffffff
jne 0x1005a194
mov bl, byte [edi + 0x46dc]
mov byte [esp + 0x20], bl
push dword [esp + 0x20]
push dword [esp + 0x74]
call fcn.1005a980
add esp, 8
jmp 0x1005a199
mov eax, ebx
shr eax, 5
and eax, 1
push eax
push dword [esp + 0x74]
call fcn.100130d0
test eax, eax
setne bl
cmp byte [edi + 0x5b88], 0
je 0x1005a1ca
test byte [esp + 0x74], 0x10
jne 0x1005a1ca
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.100173c0
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 0x1005a306
cmp byte [esi + 0x4838], 0
jne 0x1005a306
mov eax, dword [esp + 0x74]
and eax, 0x2008
cmp eax, 0x2000
jne 0x1005a306
cmp dword [esi + 0x4888], 0
jne 0x1005a306
cmp dword [esi + 0x47f8], ebp
jne 0x1005a306
call fcn.10018d00
test al, al
je 0x1005a306
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 0x1005a2cc
test ecx, ecx
je 0x1005a270
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x1005a275
mov eax, 8
cmp eax, edx
mov ecx, edx
cmovg ecx, eax
mov dword [esp + 0x2c], ecx
cmp ecx, dword [edi + 4]
jle 0x1005a2cc
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.10018210
mov edx, dword [edi + 8]
add esp, 4
mov dword [esp + 0x18], eax
test edx, edx
je 0x1005a2be
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.10018240
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.1005abb0
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 0x1005a30a
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 0x1005a347
test bl, bl
je 0x1005a8ac
test al, 8
jne 0x1005a8ac
push edx
call fcn.1005ab00
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 0x1005a359
test dword [esi + 0x46e4], 0x200
je 0x1005a35e
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 0x1005a3b6
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 0x1005a3bb
mov byte [esp + 0x10], 0
cmp ebp, dword [esi + 0x3e64]
jne 0x1005a3ca
cmp byte [esp + 0x10], 0
jne 0x1005a3d7
or ecx, 0x10000
cmp byte [esp + 0x10], 0
je 0x1005a3de
mov edi, 0x10
jmp 0x1005a3ea
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.100483f0
xor cl, cl
add esp, 0x14
mov dword [esp + 0x20], ecx
cmp byte [esp + 0x18], cl
jne 0x1005a515
test al, al
je 0x1005a49c
mov edx, dword [esp + 0x70]
cmp dword [esi + 0x4a44], edx
je 0x1005a46b
mov eax, dword [esp + 0x74]
test al, 0xc0
je 0x1005a43b
cmp dword [esi + 0x4804], edx
jne 0x1005a43d
mov cl, 1
test al, al
jns 0x1005a459
cmp byte [esp + 0x10], 0
je 0x1005a455
cmp byte [esi + 0x483b], 0
jne 0x1005a455
mov dl, 1
jmp 0x1005a457
xor dl, dl
or cl, dl
test al, 0x40
je 0x1005a49c
cmp word [esi + 0x370a], 2
jne 0x1005a49c
mov cl, 1
jmp 0x1005a49c
test edi, 0x200
jne 0x1005a48f
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 0x1005a4f3
cmp dword [esi + 0x4888], 0
jne 0x1005a4cd
test bl, bl
je 0x1005a4cd
push 0
mov byte [esp + 0x24], 1
call fcn.10018710
add esp, 4
call fcn.10018d30
mov ecx, dword [esp + 0x20]
cmp dword [esi + 0x47fc], edi
jne 0x1005a4f3
cmp dword [esi + 0x4888], 1
jne 0x1005a4f3
test bl, bl
jne 0x1005a4f3
push 0
call fcn.10018710
add esp, 4
call fcn.10018d30
jmp 0x1005a4f7
test cl, cl
je 0x1005a519
mov ecx, dword [ebp + 0x18c]
test bl, bl
sete bl
movzx eax, bl
push eax
push edi
call fcn.10022130
or dword [esi + 0x46e8], 0x10
jmp 0x1005a519
mov edi, dword [esp + 0x70]
push ecx
mov dword [esp], 0x3f800000
push 0
call fcn.10012b50
mov cl, byte [esp + 0x19]
add esp, 8
cmp byte [esp + 0x24], 0
mov dword [esp + 0x20], eax
je 0x1005a71f
cmp byte [esp + 0x12], 0
je 0x1005a550
test cl, cl
je 0x1005a550
mov eax, 0x1a
jmp 0x1005a55a
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10012b50
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.1001f210
push 2
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.1001f800
mov eax, dword [esp + 0x9c]
add esp, 0x28
test eax, 0x200
je 0x1005a60e
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x1007927c]
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 [0x10079278]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [ebp + 0x264]
call fcn.100308e0
mov eax, dword [esp + 0x84]
add esp, 0x10
jmp 0x1005a69b
cmp byte [esp + 0x18], 0
jne 0x1005a67d
test bl, bl
je 0x1005a626
shr eax, 0x15
not eax
and eax, 1
or eax, 2
jmp 0x1005a62b
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.10030560
mov eax, dword [esp + 0x8c]
add esp, 0x18
jmp 0x1005a69b
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 0x1005a6c2
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 0x1005a6dd
push 0x1007fc40
push 0x1007fc40
call fcn.10017fe0
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.1001fb50
add esp, 0x1c
jmp 0x1005a898
test cl, cl
jne 0x1005a729
cmp byte [esp + 0x13], cl
je 0x1005a778
cmp byte [esp + 0x12], 0
je 0x1005a73b
test cl, cl
je 0x1005a73b
mov eax, 0x1a
jmp 0x1005a745
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10012b50
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.1001f210
add esp, 0x1c
push 2
lea eax, [esp + 0x50]
push edi
push eax
call fcn.1001f800
mov eax, dword [esp + 0x80]
add esp, 0xc
test eax, 0x200
je 0x1005a7ec
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x10079278]
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 [0x10079278]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [ebp + 0x264]
call fcn.100308e0
add esp, 0x10
jmp 0x1005a862
cmp byte [esp + 0x18], 0
jne 0x1005a862
test bl, bl
je 0x1005a804
shr eax, 0x15
not eax
and eax, 1
or eax, 2
jmp 0x1005a809
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.10030560
add esp, 0x18
cmp byte [esi + 0x5b88], 0
je 0x1005a87a
push 0
push 0x100800bc
call fcn.10017fe0
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.1001fa60
add esp, 0x14
test bl, bl
je 0x1005a8ac
test byte [esp + 0x74], 8
jne 0x1005a8ac
push edi
call fcn.1005ab00
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
add esp, 0x5c
ret