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

Disassembly:
sub esp, 0x60
mov ecx, dword [0x10125f20]
xor edx, edx
inc edx
push edi
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], dl
mov edi, dword [ecx + 0x3e48]
mov dword [esp + 0x44], edi
cmp byte [edi + 0xaf], 0
je 0x100664b6
xor al, al
jmp 0x10066d12
mov eax, dword [esp + 0x6c]
mov ecx, eax
shr ecx, 1
push esi
mov esi, dword [0x10125f20]
and cl, dl
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], ecx
jne 0x100664fe
test eax, 0x400
jne 0x100664fe
movss xmm0, dword [esi + 0x37c4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 0x128]
minss xmm0, dword [esi + 0x37c8]
movss dword [esp + 0x2c], xmm0
jmp 0x10066512
mov eax, dword [esi + 0x37c4]
mov ecx, dword [esi + 0x37c8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x10066532
push eax
push dword [esp + 0x78]
call fcn.1001761a
pop ecx
pop ecx
mov dword [esp + 0x78], eax
push ecx
mov dword [esp], 0xbf800000
push 0
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x40]
push eax
call fcn.1000d3bb
movss xmm1, dword [esi + 0x37c8]
add esp, 0x14
mov ecx, dword [esp + 0x58]
addss xmm1, xmm1
movss xmm5, dword [0x100c34b8]
xorps xmm3, xmm3
movss xmm7, dword [ecx + 4]
addss xmm1, dword [esi + 0x3bb8]
movaps xmm0, xmm7
mulss xmm0, xmm5
minss xmm1, dword [edi + 0x11c]
addss xmm0, dword [esp + 0x34]
and dword [esp + 0x18], 0
test dword [esp + 0x70], 0x1000
maxss xmm1, xmm0
je 0x100665ab
movss xmm2, dword [edi + 0x1f0]
jmp 0x100665b3
movss xmm2, dword [edi + 0xf0]
cmp byte [esp + 0x4c], 0
movss xmm6, dword [0x100c34b0]
movss dword [esp + 0x18], xmm2
movss xmm0, dword [edi + 0xf4]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm1
movss xmm4, dword [edi + 0x1f8]
movss dword [esp + 0x20], xmm4
addss xmm0, dword [edi + 0xf4]
movss dword [esp + 0x24], xmm0
je 0x10066647
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm6
subss xmm0, dword [0x100c34b4]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss dword [esp + 0x18], xmm2
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm6
movss xmm2, dword [ecx]
mulss xmm2, dword [0x100c34bc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [esp + 0x20], xmm0
jmp 0x1006664f
movss xmm2, dword [ecx]
mulss xmm2, xmm5
movss xmm4, dword [esi + 0x3bb8]
movss xmm6, dword [esp + 0x30]
movaps xmm0, xmm4
comiss xmm6, xmm3
addss xmm0, xmm2
movss xmm2, dword [edi + 0x128]
maxss xmm2, xmm7
movss dword [esp + 0x5c], xmm0
jbe 0x10066687
movss xmm3, dword [ecx]
mulss xmm3, xmm5
addss xmm3, xmm6
addss xmm2, dword [edi + 0xf4]
addss xmm0, dword [edi + 0xf0]
addss xmm4, xmm3
movss dword [esp + 0x44], xmm1
push ecx
lea eax, [esp + 0x44]
movss dword [esp], xmm7
push eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x58], xmm4
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm4
call fcn.10013aea
cmp byte [esp + 0x54], 0
lea esi, [esp + 0x20]
mov eax, dword [esp + 0x78]
lea edi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
pop ecx
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x54]
jne 0x1006670f
test eax, 0x1800
jne 0x1006670f
movss xmm0, dword [edi + 0x37d4]
movss xmm1, dword [esp + 0x50]
addss xmm0, xmm0
addss xmm1, dword [esp + 0x18]
addss xmm0, xmm1
movss dword [esp + 0x10], xmm0
mov esi, dword [esp + 0x6c]
mov ecx, eax
shr ecx, 8
push eax
and ecx, 0xffffff01
push esi
mov dword [esp + 0x58], ecx
call fcn.10066d5b
mov byte [esp + 0x6f], al
pop ecx
pop ecx
test al, al
je 0x10066765
cmp byte [edi + 0x4800], 0
jne 0x10066765
mov eax, dword [esp + 0x70]
and eax, 0x2008
cmp eax, 0x2000
jne 0x10066765
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + 0x17c]
mov eax, dword [edx + 0x178]
bts ecx, eax
mov dword [edx + 0x17c], ecx
push 0
push 0
lea eax, [esp + 0x10]
push esi
push eax
call fcn.10013c3b
add esp, 0x10
lea esi, [esp + 0x18]
push 2
pop edx
or dword [edi + 0x46c4], edx
add edi, 0x46e8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test al, al
jne 0x100667b3
mov al, byte [esp + 0x67]
test al, al
je 0x10066d11
test byte [esp + 0x70], 8
jne 0x10066d11
mov edx, dword [esp + 0x6c]
push edx
jmp 0x10066d07
mov ecx, dword [esp + 0x70]
mov eax, ecx
movss xmm2, dword [esp + 0x38]
and eax, 4
subss xmm2, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x44], eax
neg eax
sbb eax, eax
movss xmm1, dword [esi + 0x37ec]
and eax, 0x1000
movss xmm3, dword [esi + 0xdc0]
movaps xmm0, xmm2
mov edx, eax
subss xmm0, xmm1
or edx, 0x200
cmp byte [esp + 0x50], 0
cmovne edx, eax
comiss xmm3, xmm0
jb 0x1006682f
mov eax, dword [esp + 0x58]
addss xmm1, xmm2
movss xmm0, dword [eax]
mulss xmm0, dword [0x100c34b8]
addss xmm0, dword [esi + 0x3bb8]
addss xmm0, xmm1
comiss xmm0, xmm3
jbe 0x1006682f
xor eax, eax
inc eax
jmp 0x10066831
xor al, al
mov edi, dword [esp + 0x48]
mov byte [esp + 0x66], al
cmp edi, dword [esi + 0x3e4c]
jne 0x10066845
test al, al
jne 0x1006684f
or edx, 0x10000
test al, al
je 0x10066854
push 0x10
pop eax
jmp 0x10066860
movzx eax, cl
and eax, 0x40
or eax, 8
shl eax, 2
or eax, edx
and cl, 1
push eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x6d]
mov byte [esp + 0x6b], cl
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x18]
push eax
call fcn.100652ec
xor cl, cl
add esp, 0x14
mov dword [esp + 0x54], ecx
cmp byte [esp + 0x50], cl
jne 0x100669ba
test al, al
je 0x100668f4
mov edx, dword [esp + 0x6c]
cmp dword [esi + 0x49d4], edx
je 0x10066956
mov eax, dword [esp + 0x70]
test al, 0xc0
je 0x100668bd
cmp dword [esi + 0x47d4], edx
jne 0x100668c4
xor edx, edx
inc edx
mov cl, dl
jmp 0x100668c7
xor edx, edx
inc edx
test al, al
jns 0x100668df
cmp byte [esp + 0x66], 0
je 0x100668db
cmp byte [esi + 0x4803], 0
je 0x100668dd
xor dl, dl
or cl, dl
test al, 0x40
je 0x100668f4
push 2
pop eax
cmp word [esi + 0x370a], ax
jne 0x100668f4
xor eax, eax
lea ecx, [eax + 1]
mov al, byte [esp + 0x67]
mov edx, dword [esp + 0x6c]
cmp dword [esi + 0x47cc], edx
jne 0x10066929
cmp dword [esi + 0x4844], 0
jne 0x10066929
test al, al
je 0x10066929
xor eax, eax
inc eax
push 0
mov byte [esp + 0x58], al
call fcn.10015b6d
pop ecx
call fcn.1001571f
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x6c]
cmp dword [esi + 0x47cc], eax
jne 0x1006698f
xor eax, eax
inc eax
cmp dword [esi + 0x4844], eax
jne 0x1006698f
cmp byte [esp + 0x67], 0
jne 0x1006698f
push 0
call fcn.10015b6d
pop ecx
call fcn.1001571f
jmp 0x10066993
test dword [esp + 0x48], 0x200
jne 0x1006697b
push 0x184a
push str.C:UsersdimonDesktopSAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_widgets.cpp
push str.button_flags__ImGuiButtonFlags_PressedOnDragDropHold
call fcn.100a20b1
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov al, byte [esp + 0x67]
push 1
test al, al
movzx ecx, cl
pop edx
cmove ecx, edx
jmp 0x100668f8
test cl, cl
je 0x100669ba
mov al, byte [esp + 0x67]
xor ecx, ecx
inc ecx
xor al, cl
mov ecx, dword [edi + 0x18c]
mov byte [esp + 0x67], al
movzx eax, al
push eax
push dword [esp + 0x70]
call fcn.1000f64b
or dword [esi + 0x46c4], 0x10
cmp dword [esp + 0x44], 0
je 0x100669c6
call fcn.1000cf42
push ecx
mov dword [esp], 0x3f800000
push 0
call fcn.1000b051
cmp byte [esp + 0x54], 0
pop ecx
pop ecx
mov cl, byte [esp + 0x65]
mov dword [esp + 0x54], eax
je 0x10066b8e
cmp byte [esp + 0x64], 0
je 0x100669fa
test cl, cl
je 0x100669fa
push 0x1a
pop eax
jmp 0x10066a04
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.1000b051
movss xmm0, dword [esi + 0x37cc]
add esp, 4
xor ecx, ecx
inc ecx
movss dword [esp], xmm0
push ecx
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.1001716c
push 2
pop eax
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x3c]
push eax
call fcn.100173d9
movss xmm0, dword [esp + 0x60]
add esp, 0x28
test dword [esp + 0x70], 0x200
je 0x10066ab4
movss xmm1, dword [esp + 0x5c]
mulss xmm1, dword [0x100cca8c]
push dword [esp + 0x54]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x3bb8]
mulss xmm0, dword [0x100c34b0]
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x48], xmm0
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [edi + 0x264]
call fcn.10043c4a
add esp, 0x10
jmp 0x10066b12
cmp byte [esp + 0x50], 0
subss xmm0, dword [esp + 0x5c]
jne 0x10066b0c
mov eax, dword [esp + 0x58]
push ecx
mov dword [esp], 0x3f800000
addss xmm0, dword [eax]
movzx eax, byte [esp + 0x6b]
lea eax, [eax*2 + 1]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x40]
push eax
push dword [esp + 0x5c]
movss dword [esp + 0x50], xmm0
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [edi + 0x264]
call fcn.10043a8b
add esp, 0x18
jmp 0x10066b12
movss dword [esp + 0x38], xmm0
test dword [esp + 0x70], 0x100000
je 0x10066b3c
movss xmm1, dword [esi + 0x37c4]
addss xmm1, dword [esi + 0x3bb8]
movss xmm0, dword [esp + 0x20]
subss xmm0, xmm1
movss dword [esp + 0x20], xmm0
cmp byte [esi + 0x5aa4], 0
je 0x10066b53
mov eax, 0x100ca9d0
push eax
push eax
call fcn.10014589
pop ecx
pop ecx
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
and dword [esp + 0x2c], 0
push 0
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x84]
lea eax, [esp + 0x30]
push dword [esp + 0x84]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10016c01
add esp, 0x1c
jmp 0x10066cf4
test cl, cl
jne 0x10066b98
cmp byte [esp + 0x63], cl
je 0x10066be2
cmp byte [esp + 0x64], 0
je 0x10066ba8
test cl, cl
je 0x10066ba8
push 0x1a
pop eax
jmp 0x10066bb2
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.1000b051
add esp, 4
and dword [esp], 0
push 0
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.1001716c
add esp, 0x1c
push 2
pop eax
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x20]
push eax
call fcn.100173d9
add esp, 0xc
test dword [esp + 0x70], 0x200
je 0x10066c57
movss xmm1, dword [esp + 0x5c]
mulss xmm1, dword [0x100c34b0]
movss xmm0, dword [esp + 0x38]
push dword [esp + 0x54]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x3bb8]
mulss xmm0, dword [0x100c34b0]
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x48], xmm0
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [edi + 0x264]
call fcn.10043c4a
add esp, 0x10
jmp 0x10066cc3
cmp byte [esp + 0x50], 0
jne 0x10066cc3
movss xmm0, dword [esp + 0x38]
subss xmm0, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov dword [esp], 0x3f333333
addss xmm0, dword [eax]
movzx eax, byte [esp + 0x6b]
movss dword [esp + 0x44], xmm0
lea eax, [eax*2 + 1]
movss xmm0, dword [esi + 0x3bb8]
mulss xmm0, dword [0x100cca78]
push eax
push dword [esp + 0x5c]
addss xmm0, dword [esp + 0x48]
movss dword [esp + 0x50], xmm0
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [edi + 0x264]
call fcn.10043a8b
add esp, 0x18
cmp byte [esi + 0x5aa4], 0
je 0x10066cda
push 0
push 0x100cbfd4
call fcn.10014589
pop ecx
pop ecx
push 0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.10016a6a
add esp, 0x14
mov al, byte [esp + 0x67]
test al, al
je 0x10066d11
test byte [esp + 0x70], 8
jne 0x10066d11
push dword [esp + 0x6c]
call fcn.10066d17
mov al, byte [esp + 0x6b]
pop ecx
pop esi
pop edi
add esp, 0x60
ret