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

Disassembly:
sub esp, 0x5c
mov ecx, dword [0x10124fa4]
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 + 0x3c], edi
cmp byte [edi + 0xaf], 0
je 0x10065de0
xor al, al
jmp 0x10066647
mov eax, dword [esp + 0x68]
shr eax, 1
push esi
mov esi, dword [0x10124fa4]
and al, dl
mov dword [esp + 0x50], esi
mov dword [esp + 0x44], eax
jne 0x10065e23
test dword [esp + 0x6c], 0x400
jne 0x10065e23
movss xmm1, dword [esi + 0x37c4]
movss xmm0, dword [edi + 0x128]
minss xmm0, dword [esi + 0x37c8]
movss dword [esp + 0x58], xmm1
jmp 0x10065e39
movss xmm0, dword [esi + 0x37c4]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esi + 0x37c8]
mov eax, dword [esp + 0x74]
movss dword [esp + 0x48], xmm0
test eax, eax
jne 0x10065e57
push eax
push dword [esp + 0x74]
call fcn.10017495
pop ecx
pop ecx
mov dword [esp + 0x74], eax
push ecx
mov dword [esp], 0xbf800000
push 0
push eax
push dword [esp + 0x7c]
lea eax, [esp + 0x38]
push eax
call fcn.1000d27c
movss xmm1, dword [esi + 0x37c8]
add esp, 0x14
movss xmm3, dword [esp + 0x48]
addss xmm1, xmm1
movss xmm6, dword [0x100c24a8]
movaps xmm0, xmm3
mulss xmm0, xmm6
xorps xmm4, xmm4
addss xmm1, dword [esi + 0x3bb8]
addss xmm0, dword [esp + 0x2c]
minss xmm1, dword [edi + 0x11c]
and dword [esp + 0x18], 0
test dword [esp + 0x6c], 0x1000
maxss xmm1, xmm0
je 0x10065eca
movss xmm2, dword [edi + 0x1f0]
jmp 0x10065ed2
movss xmm2, dword [edi + 0xf0]
cmp byte [esp + 0x44], 0
movss xmm7, dword [0x100c24a0]
movss dword [esp + 0x18], xmm2
movss xmm0, dword [edi + 0xf4]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm1
movss xmm5, dword [edi + 0x1f8]
movss dword [esp + 0x20], xmm5
addss xmm0, dword [edi + 0xf4]
movss dword [esp + 0x24], xmm0
je 0x10065f68
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm7
subss xmm0, dword [0x100c24a4]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss dword [esp + 0x18], xmm2
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm7
movss xmm2, dword [esp + 0x58]
mulss xmm2, dword [0x100c24ac]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm5
movss dword [esp + 0x20], xmm0
jmp 0x10065f72
movss xmm2, dword [esp + 0x58]
mulss xmm2, xmm6
movss xmm5, dword [esi + 0x3bb8]
movss xmm7, dword [esp + 0x28]
movaps xmm0, xmm5
comiss xmm7, xmm4
addss xmm0, xmm2
movss xmm2, dword [edi + 0x128]
maxss xmm2, xmm3
movss dword [esp + 0x54], xmm0
jbe 0x10065fac
movss xmm4, dword [esp + 0x58]
mulss xmm4, xmm6
addss xmm4, xmm7
addss xmm2, dword [edi + 0xf4]
addss xmm0, dword [edi + 0xf0]
addss xmm5, xmm4
movss dword [esp + 0x3c], xmm1
push ecx
lea eax, [esp + 0x3c]
movss dword [esp], xmm3
push eax
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x40], xmm5
call fcn.100139ab
cmp byte [esp + 0x4c], 0
lea esi, [esp + 0x20]
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 + 0x50]
jne 0x10066033
test dword [esp + 0x6c], 0x1800
jne 0x10066033
movss xmm0, dword [edi + 0x37d4]
movss xmm1, dword [esp + 0x48]
addss xmm0, xmm0
addss xmm1, dword [esp + 0x18]
addss xmm0, xmm1
movss dword [esp + 0x10], xmm0
mov eax, dword [esp + 0x6c]
xor edx, edx
push dword [esp + 0x6c]
mov esi, dword [esp + 0x6c]
inc edx
shr eax, 8
and al, dl
push esi
mov dword [esp + 0x54], eax
call fcn.10066690
mov byte [esp + 0x6b], al
pop ecx
pop ecx
test al, al
je 0x1006608d
cmp byte [edi + 0x4800], 0
jne 0x1006608d
mov eax, dword [esp + 0x6c]
and eax, 0x2008
cmp eax, 0x2000
jne 0x1006608d
mov edx, dword [esp + 0x40]
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.10013afc
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 0x100660db
mov al, byte [esp + 0x63]
test al, al
je 0x10066646
test byte [esp + 0x6c], 8
jne 0x10066646
mov edx, dword [esp + 0x68]
push edx
jmp 0x1006663c
mov eax, dword [esp + 0x6c]
movss xmm1, dword [esp + 0x30]
and eax, 4
subss xmm1, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
neg eax
sbb eax, eax
movss xmm2, dword [esi + 0x37ec]
and eax, 0x1000
movss xmm3, dword [esi + 0xdc0]
movaps xmm0, xmm1
mov ecx, eax
subss xmm0, xmm2
or ecx, 0x200
cmp byte [esp + 0x4c], 0
cmovne ecx, eax
comiss xmm3, xmm0
jb 0x10066155
movss xmm0, dword [esp + 0x58]
addss xmm1, xmm2
mulss xmm0, dword [0x100c24a8]
addss xmm0, dword [esi + 0x3bb8]
addss xmm0, xmm1
comiss xmm0, xmm3
jbe 0x10066155
xor edx, edx
inc edx
mov al, dl
jmp 0x1006615a
xor edx, edx
xor al, al
inc edx
mov edi, dword [esp + 0x40]
mov byte [esp + 0x62], al
cmp edi, dword [esi + 0x3e4c]
jne 0x1006616e
test al, al
jne 0x10066178
or ecx, 0x10000
test al, al
je 0x1006617d
or ecx, 0x10
jmp 0x1006618f
test byte [esp + 0x6c], 0x40
je 0x1006618c
or ecx, 0x120
jmp 0x1006618f
or ecx, 0x20
mov al, byte [esp + 0x6c]
and al, dl
mov dword [esp + 0x50], ecx
mov byte [esp + 0x5f], al
lea eax, [esp + 0x60]
push ecx
push eax
lea eax, [esp + 0x69]
push eax
push dword [esp + 0x74]
lea eax, [esp + 0x18]
push eax
call fcn.10064c22
xor cl, cl
add esp, 0x14
mov dword [esp + 0x48], ecx
cmp byte [esp + 0x4c], cl
jne 0x100662f3
test al, al
je 0x10066266
mov eax, dword [esp + 0x68]
cmp dword [esi + 0x49d4], eax
je 0x10066230
test byte [esp + 0x6c], 0xc0
je 0x100661ec
cmp dword [esi + 0x47d4], eax
jne 0x100661f3
xor edx, edx
inc edx
mov cl, dl
jmp 0x100661f6
xor edx, edx
inc edx
test byte [esp + 0x6c], 0x80
je 0x10066215
cmp byte [esp + 0x62], 0
je 0x10066211
cmp byte [esi + 0x4803], 0
jne 0x10066211
mov al, dl
jmp 0x10066213
xor al, al
or cl, al
test byte [esp + 0x6c], 0x40
je 0x10066266
push 2
pop eax
cmp word [esi + 0x370a], ax
mov al, byte [esp + 0x63]
jne 0x1006626a
mov cl, dl
jmp 0x1006626a
test dword [esp + 0x50], 0x200
jne 0x10066255
push 0x184a
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_widgets.cpp
push str.button_flags__ImGuiButtonFlags_PressedOnDragDropHold
call fcn.100a16e1
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov al, byte [esp + 0x63]
push 1
test al, al
movzx ecx, cl
pop edx
cmove ecx, edx
jmp 0x1006626a
mov al, byte [esp + 0x63]
mov edx, dword [esp + 0x68]
cmp dword [esi + 0x47cc], edx
jne 0x1006629b
cmp dword [esi + 0x4844], 0
jne 0x1006629b
test al, al
je 0x1006629b
xor eax, eax
inc eax
push 0
mov byte [esp + 0x4c], al
call fcn.100159e4
pop ecx
call fcn.10015599
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x68]
cmp dword [esi + 0x47cc], eax
jne 0x100662c8
xor eax, eax
inc eax
cmp dword [esi + 0x4844], eax
jne 0x100662c8
cmp byte [esp + 0x63], 0
jne 0x100662c8
push 0
call fcn.100159e4
pop ecx
call fcn.10015599
jmp 0x100662cc
test cl, cl
je 0x100662f3
mov al, byte [esp + 0x63]
xor ecx, ecx
inc ecx
xor al, cl
mov ecx, dword [edi + 0x18c]
mov byte [esp + 0x63], al
movzx eax, al
push eax
push dword [esp + 0x6c]
call fcn.1000f51a
or dword [esi + 0x46c4], 0x10
cmp dword [esp + 0x3c], 0
je 0x100662ff
call fcn.1000ce03
push ecx
mov dword [esp], 0x3f800000
push 0
call fcn.1000af1b
cmp byte [esp + 0x4c], 0
pop ecx
pop ecx
mov cl, byte [esp + 0x61]
mov dword [esp + 0x50], eax
je 0x100664c5
cmp byte [esp + 0x60], 0
je 0x10066333
test cl, cl
je 0x10066333
push 0x1a
pop eax
jmp 0x1006633d
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.1000af1b
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.10016fe7
push 2
pop eax
push eax
push dword [esp + 0x88]
lea eax, [esp + 0x3c]
push eax
call fcn.10017254
movss xmm0, dword [esp + 0x58]
add esp, 0x28
test dword [esp + 0x6c], 0x200
je 0x100663ed
movss xmm1, dword [esp + 0x54]
mulss xmm1, dword [0x100cba04]
push dword [esp + 0x50]
subss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 0x3bb8]
mulss xmm0, dword [0x100c24a0]
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x40], xmm0
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [edi + 0x264]
call fcn.100435e3
add esp, 0x10
jmp 0x10066449
cmp byte [esp + 0x4c], 0
subss xmm0, dword [esp + 0x54]
jne 0x10066443
addss xmm0, dword [esp + 0x58]
movzx eax, byte [esp + 0x63]
push ecx
mov dword [esp], 0x3f800000
lea eax, [eax*2 + 1]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x38]
push eax
push dword [esp + 0x58]
movss dword [esp + 0x48], xmm0
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [edi + 0x264]
call fcn.10043412
add esp, 0x18
jmp 0x10066449
movss dword [esp + 0x30], xmm0
test dword [esp + 0x6c], 0x100000
je 0x10066473
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 0x1006648a
mov eax, 0x100c9948
push eax
push eax
call fcn.10014445
pop ecx
pop ecx
and dword [esp + 0x38], 0
lea eax, [esp + 0x38]
and dword [esp + 0x3c], 0
push 0
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x80]
lea eax, [esp + 0x30]
push dword [esp + 0x80]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.10016a7e
add esp, 0x1c
jmp 0x10066629
test cl, cl
jne 0x100664cf
cmp byte [esp + 0x5f], cl
je 0x10066519
cmp byte [esp + 0x60], 0
je 0x100664df
test cl, cl
je 0x100664df
push 0x1a
pop eax
jmp 0x100664e9
xor eax, eax
test cl, cl
setne al
add eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.1000af1b
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.10016fe7
add esp, 0x1c
push 2
pop eax
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x20]
push eax
call fcn.10017254
add esp, 0xc
test dword [esp + 0x6c], 0x200
je 0x1006658e
movss xmm1, dword [esp + 0x54]
mulss xmm1, dword [0x100c24a0]
movss xmm0, dword [esp + 0x30]
push dword [esp + 0x50]
subss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 0x3bb8]
mulss xmm0, dword [0x100c24a0]
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x40], xmm0
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [edi + 0x264]
call fcn.100435e3
add esp, 0x10
jmp 0x100665f8
cmp byte [esp + 0x4c], 0
jne 0x100665f8
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x54]
movzx eax, byte [esp + 0x63]
push ecx
mov dword [esp], 0x3f333333
addss xmm0, dword [esp + 0x5c]
lea eax, [eax*2 + 1]
push eax
push dword [esp + 0x58]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x3bb8]
mulss xmm0, dword [0x100cb9f0]
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x48], xmm0
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [edi + 0x264]
call fcn.10043412
add esp, 0x18
cmp byte [esi + 0x5aa4], 0
je 0x1006660f
push 0
push 0x100caf4c
call fcn.10014445
pop ecx
pop ecx
push 0
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.100168e7
add esp, 0x14
mov al, byte [esp + 0x63]
test al, al
je 0x10066646
test byte [esp + 0x6c], 8
jne 0x10066646
push dword [esp + 0x68]
call fcn.1006664c
mov al, byte [esp + 0x67]
pop ecx
pop esi
pop edi
add esp, 0x5c
ret